AWS SDK for C++  1.8.129
AWS SDK for C++
CloudWatchDimensionConfiguration.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 
37  {
38  public:
42 
43  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44  void OutputToStream(Aws::OStream& oStream, const char* location) const;
45 
46 
53  inline const Aws::String& GetDimensionName() const{ return m_dimensionName; }
54 
61  inline bool DimensionNameHasBeenSet() const { return m_dimensionNameHasBeenSet; }
62 
69  inline void SetDimensionName(const Aws::String& value) { m_dimensionNameHasBeenSet = true; m_dimensionName = value; }
70 
77  inline void SetDimensionName(Aws::String&& value) { m_dimensionNameHasBeenSet = true; m_dimensionName = std::move(value); }
78 
85  inline void SetDimensionName(const char* value) { m_dimensionNameHasBeenSet = true; m_dimensionName.assign(value); }
86 
93  inline CloudWatchDimensionConfiguration& WithDimensionName(const Aws::String& value) { SetDimensionName(value); return *this;}
94 
101  inline CloudWatchDimensionConfiguration& WithDimensionName(Aws::String&& value) { SetDimensionName(std::move(value)); return *this;}
102 
109  inline CloudWatchDimensionConfiguration& WithDimensionName(const char* value) { SetDimensionName(value); return *this;}
110 
111 
120  inline const DimensionValueSource& GetDimensionValueSource() const{ return m_dimensionValueSource; }
121 
130  inline bool DimensionValueSourceHasBeenSet() const { return m_dimensionValueSourceHasBeenSet; }
131 
140  inline void SetDimensionValueSource(const DimensionValueSource& value) { m_dimensionValueSourceHasBeenSet = true; m_dimensionValueSource = value; }
141 
150  inline void SetDimensionValueSource(DimensionValueSource&& value) { m_dimensionValueSourceHasBeenSet = true; m_dimensionValueSource = std::move(value); }
151 
160  inline CloudWatchDimensionConfiguration& WithDimensionValueSource(const DimensionValueSource& value) { SetDimensionValueSource(value); return *this;}
161 
170  inline CloudWatchDimensionConfiguration& WithDimensionValueSource(DimensionValueSource&& value) { SetDimensionValueSource(std::move(value)); return *this;}
171 
172 
180  inline const Aws::String& GetDefaultDimensionValue() const{ return m_defaultDimensionValue; }
181 
189  inline bool DefaultDimensionValueHasBeenSet() const { return m_defaultDimensionValueHasBeenSet; }
190 
198  inline void SetDefaultDimensionValue(const Aws::String& value) { m_defaultDimensionValueHasBeenSet = true; m_defaultDimensionValue = value; }
199 
207  inline void SetDefaultDimensionValue(Aws::String&& value) { m_defaultDimensionValueHasBeenSet = true; m_defaultDimensionValue = std::move(value); }
208 
216  inline void SetDefaultDimensionValue(const char* value) { m_defaultDimensionValueHasBeenSet = true; m_defaultDimensionValue.assign(value); }
217 
225  inline CloudWatchDimensionConfiguration& WithDefaultDimensionValue(const Aws::String& value) { SetDefaultDimensionValue(value); return *this;}
226 
234  inline CloudWatchDimensionConfiguration& WithDefaultDimensionValue(Aws::String&& value) { SetDefaultDimensionValue(std::move(value)); return *this;}
235 
243  inline CloudWatchDimensionConfiguration& WithDefaultDimensionValue(const char* value) { SetDefaultDimensionValue(value); return *this;}
244 
245  private:
246 
247  Aws::String m_dimensionName;
248  bool m_dimensionNameHasBeenSet;
249 
250  DimensionValueSource m_dimensionValueSource;
251  bool m_dimensionValueSourceHasBeenSet;
252 
253  Aws::String m_defaultDimensionValue;
254  bool m_defaultDimensionValueHasBeenSet;
255  };
256 
257 } // namespace Model
258 } // namespace SES
259 } // namespace Aws
Aws::SES::Model::CloudWatchDimensionConfiguration::WithDimensionValueSource
CloudWatchDimensionConfiguration & WithDimensionValueSource(const DimensionValueSource &value)
Definition: CloudWatchDimensionConfiguration.h:160
Aws::SES::Model::CloudWatchDimensionConfiguration::SetDefaultDimensionValue
void SetDefaultDimensionValue(const Aws::String &value)
Definition: CloudWatchDimensionConfiguration.h:198
Aws::SES::Model::CloudWatchDimensionConfiguration::GetDimensionValueSource
const DimensionValueSource & GetDimensionValueSource() const
Definition: CloudWatchDimensionConfiguration.h:120
Aws::SES::Model::CloudWatchDimensionConfiguration::SetDimensionName
void SetDimensionName(const Aws::String &value)
Definition: CloudWatchDimensionConfiguration.h:69
Aws::SES::Model::CloudWatchDimensionConfiguration::GetDimensionName
const Aws::String & GetDimensionName() const
Definition: CloudWatchDimensionConfiguration.h:53
Aws::SES::Model::CloudWatchDimensionConfiguration::GetDefaultDimensionValue
const Aws::String & GetDefaultDimensionValue() const
Definition: CloudWatchDimensionConfiguration.h:180
Aws::SES::Model::CloudWatchDimensionConfiguration::WithDimensionName
CloudWatchDimensionConfiguration & WithDimensionName(Aws::String &&value)
Definition: CloudWatchDimensionConfiguration.h:101
Aws::SES::Model::CloudWatchDimensionConfiguration::SetDimensionValueSource
void SetDimensionValueSource(const DimensionValueSource &value)
Definition: CloudWatchDimensionConfiguration.h:140
Aws::SES::Model::CloudWatchDimensionConfiguration::CloudWatchDimensionConfiguration
CloudWatchDimensionConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::CloudWatchDimensionConfiguration::WithDefaultDimensionValue
CloudWatchDimensionConfiguration & WithDefaultDimensionValue(Aws::String &&value)
Definition: CloudWatchDimensionConfiguration.h:234
Aws::SES::Model::CloudWatchDimensionConfiguration::DefaultDimensionValueHasBeenSet
bool DefaultDimensionValueHasBeenSet() const
Definition: CloudWatchDimensionConfiguration.h:189
Aws::SES::Model::CloudWatchDimensionConfiguration::DimensionNameHasBeenSet
bool DimensionNameHasBeenSet() const
Definition: CloudWatchDimensionConfiguration.h:61
AWSStreamFwd.h
Aws::SES::Model::DimensionValueSource
DimensionValueSource
Definition: DimensionValueSource.h:17
Aws::SES::Model::CloudWatchDimensionConfiguration::WithDefaultDimensionValue
CloudWatchDimensionConfiguration & WithDefaultDimensionValue(const Aws::String &value)
Definition: CloudWatchDimensionConfiguration.h:225
Aws::SES::Model::CloudWatchDimensionConfiguration::DimensionValueSourceHasBeenSet
bool DimensionValueSourceHasBeenSet() const
Definition: CloudWatchDimensionConfiguration.h:130
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::SES::Model::CloudWatchDimensionConfiguration::WithDimensionName
CloudWatchDimensionConfiguration & WithDimensionName(const Aws::String &value)
Definition: CloudWatchDimensionConfiguration.h:93
Aws::SES::Model::CloudWatchDimensionConfiguration::operator=
CloudWatchDimensionConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::CloudWatchDimensionConfiguration::SetDimensionName
void SetDimensionName(const char *value)
Definition: CloudWatchDimensionConfiguration.h:85
Aws::SES::Model::CloudWatchDimensionConfiguration::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SES::Model::CloudWatchDimensionConfiguration::WithDimensionName
CloudWatchDimensionConfiguration & WithDimensionName(const char *value)
Definition: CloudWatchDimensionConfiguration.h:109
AWSString.h
SES_EXPORTS.h
Aws::SES::Model::CloudWatchDimensionConfiguration::SetDimensionValueSource
void SetDimensionValueSource(DimensionValueSource &&value)
Definition: CloudWatchDimensionConfiguration.h:150
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::CloudWatchDimensionConfiguration::WithDefaultDimensionValue
CloudWatchDimensionConfiguration & WithDefaultDimensionValue(const char *value)
Definition: CloudWatchDimensionConfiguration.h:243
Aws::SES::Model::CloudWatchDimensionConfiguration
Definition: CloudWatchDimensionConfiguration.h:37
Aws::SES::Model::CloudWatchDimensionConfiguration::SetDefaultDimensionValue
void SetDefaultDimensionValue(Aws::String &&value)
Definition: CloudWatchDimensionConfiguration.h:207
Aws::SES::Model::CloudWatchDimensionConfiguration::SetDimensionName
void SetDimensionName(Aws::String &&value)
Definition: CloudWatchDimensionConfiguration.h:77
Aws::SES::Model::CloudWatchDimensionConfiguration::CloudWatchDimensionConfiguration
CloudWatchDimensionConfiguration()
Aws::SES::Model::CloudWatchDimensionConfiguration::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DimensionValueSource.h
Aws::SES::Model::CloudWatchDimensionConfiguration::SetDefaultDimensionValue
void SetDefaultDimensionValue(const char *value)
Definition: CloudWatchDimensionConfiguration.h:216
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::CloudWatchDimensionConfiguration::WithDimensionValueSource
CloudWatchDimensionConfiguration & WithDimensionValueSource(DimensionValueSource &&value)
Definition: CloudWatchDimensionConfiguration.h:170
index
int index
Definition: cJSON.h:171