CloudWatchMetricsQueryOrCloudWatchLogsQueryOrCloudWatchAnnotationQuery🔗
Definition🔗
type CloudWatchMetricsQueryOrCloudWatchLogsQueryOrCloudWatchAnnotationQuery struct {
CloudWatchMetricsQuery *cloudwatch.CloudWatchMetricsQuery `json:"CloudWatchMetricsQuery,omitempty"`
CloudWatchLogsQuery *cloudwatch.CloudWatchLogsQuery `json:"CloudWatchLogsQuery,omitempty"`
CloudWatchAnnotationQuery *cloudwatch.CloudWatchAnnotationQuery `json:"CloudWatchAnnotationQuery,omitempty"`
}
Methods🔗
MarshalJSON🔗
MarshalJSON implements a custom JSON marshalling logic to encode CloudWatchMetricsQueryOrCloudWatchLogsQueryOrCloudWatchAnnotationQuery
as JSON.
func (cloudWatchMetricsQueryOrCloudWatchLogsQueryOrCloudWatchAnnotationQuery *CloudWatchMetricsQueryOrCloudWatchLogsQueryOrCloudWatchAnnotationQuery) MarshalJSON() ([]byte, error)
UnmarshalJSON🔗
UnmarshalJSON implements a custom JSON unmarshalling logic to decode CloudWatchMetricsQueryOrCloudWatchLogsQueryOrCloudWatchAnnotationQuery
from JSON.
func (cloudWatchMetricsQueryOrCloudWatchLogsQueryOrCloudWatchAnnotationQuery *CloudWatchMetricsQueryOrCloudWatchLogsQueryOrCloudWatchAnnotationQuery) UnmarshalJSON(raw []byte) error
UnmarshalJSONStrict🔗
UnmarshalJSONStrict implements a custom JSON unmarshalling logic to decode CloudWatchMetricsQueryOrCloudWatchLogsQueryOrCloudWatchAnnotationQuery
from JSON.
Note: the unmarshalling done by this function is strict. It will fail over required fields being absent from the input, fields having an incorrect type, unexpected fields being present, …
func (cloudWatchMetricsQueryOrCloudWatchLogsQueryOrCloudWatchAnnotationQuery *CloudWatchMetricsQueryOrCloudWatchLogsQueryOrCloudWatchAnnotationQuery) UnmarshalJSONStrict(raw []byte) error
Equals🔗
Equals tests the equality of two CloudWatchMetricsQueryOrCloudWatchLogsQueryOrCloudWatchAnnotationQuery
objects.
func (cloudWatchMetricsQueryOrCloudWatchLogsQueryOrCloudWatchAnnotationQuery *CloudWatchMetricsQueryOrCloudWatchLogsQueryOrCloudWatchAnnotationQuery) Equals(other CloudWatchMetricsQueryOrCloudWatchLogsQueryOrCloudWatchAnnotationQuery) bool
Validate🔗
Validate checks all the validation constraints that may be defined on CloudWatchMetricsQueryOrCloudWatchLogsQueryOrCloudWatchAnnotationQuery
fields for violations and returns them.