AWS SDK for C++  1.8.129
AWS SDK for C++
CloudWatchDestination.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace SES
23 {
24 namespace Model
25 {
26 
39  {
40  public:
44 
45  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
46  void OutputToStream(Aws::OStream& oStream, const char* location) const;
47 
48 
53  inline const Aws::Vector<CloudWatchDimensionConfiguration>& GetDimensionConfigurations() const{ return m_dimensionConfigurations; }
54 
59  inline bool DimensionConfigurationsHasBeenSet() const { return m_dimensionConfigurationsHasBeenSet; }
60 
65  inline void SetDimensionConfigurations(const Aws::Vector<CloudWatchDimensionConfiguration>& value) { m_dimensionConfigurationsHasBeenSet = true; m_dimensionConfigurations = value; }
66 
71  inline void SetDimensionConfigurations(Aws::Vector<CloudWatchDimensionConfiguration>&& value) { m_dimensionConfigurationsHasBeenSet = true; m_dimensionConfigurations = std::move(value); }
72 
77  inline CloudWatchDestination& WithDimensionConfigurations(const Aws::Vector<CloudWatchDimensionConfiguration>& value) { SetDimensionConfigurations(value); return *this;}
78 
83  inline CloudWatchDestination& WithDimensionConfigurations(Aws::Vector<CloudWatchDimensionConfiguration>&& value) { SetDimensionConfigurations(std::move(value)); return *this;}
84 
89  inline CloudWatchDestination& AddDimensionConfigurations(const CloudWatchDimensionConfiguration& value) { m_dimensionConfigurationsHasBeenSet = true; m_dimensionConfigurations.push_back(value); return *this; }
90 
95  inline CloudWatchDestination& AddDimensionConfigurations(CloudWatchDimensionConfiguration&& value) { m_dimensionConfigurationsHasBeenSet = true; m_dimensionConfigurations.push_back(std::move(value)); return *this; }
96 
97  private:
98 
99  Aws::Vector<CloudWatchDimensionConfiguration> m_dimensionConfigurations;
100  bool m_dimensionConfigurationsHasBeenSet;
101  };
102 
103 } // namespace Model
104 } // namespace SES
105 } // namespace Aws
Aws::SES::Model::CloudWatchDestination::AddDimensionConfigurations
CloudWatchDestination & AddDimensionConfigurations(const CloudWatchDimensionConfiguration &value)
Definition: CloudWatchDestination.h:89
Aws::SES::Model::CloudWatchDestination::WithDimensionConfigurations
CloudWatchDestination & WithDimensionConfigurations(Aws::Vector< CloudWatchDimensionConfiguration > &&value)
Definition: CloudWatchDestination.h:83
Aws::SES::Model::CloudWatchDestination::AddDimensionConfigurations
CloudWatchDestination & AddDimensionConfigurations(CloudWatchDimensionConfiguration &&value)
Definition: CloudWatchDestination.h:95
Aws::SES::Model::CloudWatchDestination::WithDimensionConfigurations
CloudWatchDestination & WithDimensionConfigurations(const Aws::Vector< CloudWatchDimensionConfiguration > &value)
Definition: CloudWatchDestination.h:77
Aws::SES::Model::CloudWatchDestination::CloudWatchDestination
CloudWatchDestination()
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSStreamFwd.h
AWSVector.h
Aws::SES::Model::CloudWatchDestination::operator=
CloudWatchDestination & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::CloudWatchDestination::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::SES::Model::CloudWatchDestination
Definition: CloudWatchDestination.h:39
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SES::Model::CloudWatchDestination::SetDimensionConfigurations
void SetDimensionConfigurations(const Aws::Vector< CloudWatchDimensionConfiguration > &value)
Definition: CloudWatchDestination.h:65
Aws::SES::Model::CloudWatchDestination::GetDimensionConfigurations
const Aws::Vector< CloudWatchDimensionConfiguration > & GetDimensionConfigurations() const
Definition: CloudWatchDestination.h:53
Aws::SES::Model::CloudWatchDestination::DimensionConfigurationsHasBeenSet
bool DimensionConfigurationsHasBeenSet() const
Definition: CloudWatchDestination.h:59
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::CloudWatchDimensionConfiguration
Definition: CloudWatchDimensionConfiguration.h:37
CloudWatchDimensionConfiguration.h
Aws::SES::Model::CloudWatchDestination::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::CloudWatchDestination::CloudWatchDestination
CloudWatchDestination(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::CloudWatchDestination::SetDimensionConfigurations
void SetDimensionConfigurations(Aws::Vector< CloudWatchDimensionConfiguration > &&value)
Definition: CloudWatchDestination.h:71
index
int index
Definition: cJSON.h:171