/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace SES { namespace Model { /** *

Contains information associated with an Amazon CloudWatch event destination * to which email sending events are published.

Event destinations, such as * Amazon CloudWatch, are associated with configuration sets, which enable you to * publish email sending events. For information about using configuration sets, * see the Amazon * SES Developer Guide.

See Also:

AWS * API Reference

*/ class CloudWatchDestination { public: AWS_SES_API CloudWatchDestination(); AWS_SES_API CloudWatchDestination(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_SES_API CloudWatchDestination& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

A list of dimensions upon which to categorize your emails when you publish * email sending events to Amazon CloudWatch.

*/ inline const Aws::Vector& GetDimensionConfigurations() const{ return m_dimensionConfigurations; } /** *

A list of dimensions upon which to categorize your emails when you publish * email sending events to Amazon CloudWatch.

*/ inline bool DimensionConfigurationsHasBeenSet() const { return m_dimensionConfigurationsHasBeenSet; } /** *

A list of dimensions upon which to categorize your emails when you publish * email sending events to Amazon CloudWatch.

*/ inline void SetDimensionConfigurations(const Aws::Vector& value) { m_dimensionConfigurationsHasBeenSet = true; m_dimensionConfigurations = value; } /** *

A list of dimensions upon which to categorize your emails when you publish * email sending events to Amazon CloudWatch.

*/ inline void SetDimensionConfigurations(Aws::Vector&& value) { m_dimensionConfigurationsHasBeenSet = true; m_dimensionConfigurations = std::move(value); } /** *

A list of dimensions upon which to categorize your emails when you publish * email sending events to Amazon CloudWatch.

*/ inline CloudWatchDestination& WithDimensionConfigurations(const Aws::Vector& value) { SetDimensionConfigurations(value); return *this;} /** *

A list of dimensions upon which to categorize your emails when you publish * email sending events to Amazon CloudWatch.

*/ inline CloudWatchDestination& WithDimensionConfigurations(Aws::Vector&& value) { SetDimensionConfigurations(std::move(value)); return *this;} /** *

A list of dimensions upon which to categorize your emails when you publish * email sending events to Amazon CloudWatch.

*/ inline CloudWatchDestination& AddDimensionConfigurations(const CloudWatchDimensionConfiguration& value) { m_dimensionConfigurationsHasBeenSet = true; m_dimensionConfigurations.push_back(value); return *this; } /** *

A list of dimensions upon which to categorize your emails when you publish * email sending events to Amazon CloudWatch.

*/ inline CloudWatchDestination& AddDimensionConfigurations(CloudWatchDimensionConfiguration&& value) { m_dimensionConfigurationsHasBeenSet = true; m_dimensionConfigurations.push_back(std::move(value)); return *this; } private: Aws::Vector m_dimensionConfigurations; bool m_dimensionConfigurationsHasBeenSet = false; }; } // namespace Model } // namespace SES } // namespace Aws