AWS SDK for C++  1.9.156
AWS SDK for C++
CloudWatchDimensionConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SESV2
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
49  inline const Aws::String& GetDimensionName() const{ return m_dimensionName; }
50 
58  inline bool DimensionNameHasBeenSet() const { return m_dimensionNameHasBeenSet; }
59 
67  inline void SetDimensionName(const Aws::String& value) { m_dimensionNameHasBeenSet = true; m_dimensionName = value; }
68 
76  inline void SetDimensionName(Aws::String&& value) { m_dimensionNameHasBeenSet = true; m_dimensionName = std::move(value); }
77 
85  inline void SetDimensionName(const char* value) { m_dimensionNameHasBeenSet = true; m_dimensionName.assign(value); }
86 
94  inline CloudWatchDimensionConfiguration& WithDimensionName(const Aws::String& value) { SetDimensionName(value); return *this;}
95 
103  inline CloudWatchDimensionConfiguration& WithDimensionName(Aws::String&& value) { SetDimensionName(std::move(value)); return *this;}
104 
112  inline CloudWatchDimensionConfiguration& WithDimensionName(const char* value) { SetDimensionName(value); return *this;}
113 
114 
123  inline const DimensionValueSource& GetDimensionValueSource() const{ return m_dimensionValueSource; }
124 
133  inline bool DimensionValueSourceHasBeenSet() const { return m_dimensionValueSourceHasBeenSet; }
134 
143  inline void SetDimensionValueSource(const DimensionValueSource& value) { m_dimensionValueSourceHasBeenSet = true; m_dimensionValueSource = value; }
144 
153  inline void SetDimensionValueSource(DimensionValueSource&& value) { m_dimensionValueSourceHasBeenSet = true; m_dimensionValueSource = std::move(value); }
154 
163  inline CloudWatchDimensionConfiguration& WithDimensionValueSource(const DimensionValueSource& value) { SetDimensionValueSource(value); return *this;}
164 
173  inline CloudWatchDimensionConfiguration& WithDimensionValueSource(DimensionValueSource&& value) { SetDimensionValueSource(std::move(value)); return *this;}
174 
175 
183  inline const Aws::String& GetDefaultDimensionValue() const{ return m_defaultDimensionValue; }
184 
192  inline bool DefaultDimensionValueHasBeenSet() const { return m_defaultDimensionValueHasBeenSet; }
193 
201  inline void SetDefaultDimensionValue(const Aws::String& value) { m_defaultDimensionValueHasBeenSet = true; m_defaultDimensionValue = value; }
202 
210  inline void SetDefaultDimensionValue(Aws::String&& value) { m_defaultDimensionValueHasBeenSet = true; m_defaultDimensionValue = std::move(value); }
211 
219  inline void SetDefaultDimensionValue(const char* value) { m_defaultDimensionValueHasBeenSet = true; m_defaultDimensionValue.assign(value); }
220 
228  inline CloudWatchDimensionConfiguration& WithDefaultDimensionValue(const Aws::String& value) { SetDefaultDimensionValue(value); return *this;}
229 
237  inline CloudWatchDimensionConfiguration& WithDefaultDimensionValue(Aws::String&& value) { SetDefaultDimensionValue(std::move(value)); return *this;}
238 
246  inline CloudWatchDimensionConfiguration& WithDefaultDimensionValue(const char* value) { SetDefaultDimensionValue(value); return *this;}
247 
248  private:
249 
250  Aws::String m_dimensionName;
251  bool m_dimensionNameHasBeenSet;
252 
253  DimensionValueSource m_dimensionValueSource;
254  bool m_dimensionValueSourceHasBeenSet;
255 
256  Aws::String m_defaultDimensionValue;
257  bool m_defaultDimensionValueHasBeenSet;
258  };
259 
260 } // namespace Model
261 } // namespace SESV2
262 } // namespace Aws
Aws::SESV2::Model::CloudWatchDimensionConfiguration::WithDefaultDimensionValue
CloudWatchDimensionConfiguration & WithDefaultDimensionValue(const Aws::String &value)
Definition: CloudWatchDimensionConfiguration.h:228
Aws::SESV2::Model::CloudWatchDimensionConfiguration::WithDefaultDimensionValue
CloudWatchDimensionConfiguration & WithDefaultDimensionValue(const char *value)
Definition: CloudWatchDimensionConfiguration.h:246
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::CloudWatchDimensionConfiguration::GetDimensionValueSource
const DimensionValueSource & GetDimensionValueSource() const
Definition: CloudWatchDimensionConfiguration.h:123
Aws::SESV2::Model::CloudWatchDimensionConfiguration::WithDimensionName
CloudWatchDimensionConfiguration & WithDimensionName(const Aws::String &value)
Definition: CloudWatchDimensionConfiguration.h:94
Aws::SESV2::Model::CloudWatchDimensionConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SESV2::Model::CloudWatchDimensionConfiguration::SetDimensionValueSource
void SetDimensionValueSource(const DimensionValueSource &value)
Definition: CloudWatchDimensionConfiguration.h:143
Aws::SESV2::Model::CloudWatchDimensionConfiguration::DefaultDimensionValueHasBeenSet
bool DefaultDimensionValueHasBeenSet() const
Definition: CloudWatchDimensionConfiguration.h:192
Aws::SESV2::Model::CloudWatchDimensionConfiguration::WithDefaultDimensionValue
CloudWatchDimensionConfiguration & WithDefaultDimensionValue(Aws::String &&value)
Definition: CloudWatchDimensionConfiguration.h:237
Aws::SESV2::Model::CloudWatchDimensionConfiguration::SetDimensionName
void SetDimensionName(const Aws::String &value)
Definition: CloudWatchDimensionConfiguration.h:67
Aws::SESV2::Model::CloudWatchDimensionConfiguration::CloudWatchDimensionConfiguration
CloudWatchDimensionConfiguration()
Aws::SESV2::Model::CloudWatchDimensionConfiguration::SetDimensionName
void SetDimensionName(const char *value)
Definition: CloudWatchDimensionConfiguration.h:85
DimensionValueSource.h
Aws::SESV2::Model::CloudWatchDimensionConfiguration::CloudWatchDimensionConfiguration
CloudWatchDimensionConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::CloudWatchDimensionConfiguration::SetDefaultDimensionValue
void SetDefaultDimensionValue(const Aws::String &value)
Definition: CloudWatchDimensionConfiguration.h:201
Aws::SESV2::Model::CloudWatchDimensionConfiguration::GetDimensionName
const Aws::String & GetDimensionName() const
Definition: CloudWatchDimensionConfiguration.h:49
Aws::SESV2::Model::CloudWatchDimensionConfiguration::DimensionNameHasBeenSet
bool DimensionNameHasBeenSet() const
Definition: CloudWatchDimensionConfiguration.h:58
Aws::SESV2::Model::CloudWatchDimensionConfiguration::SetDimensionValueSource
void SetDimensionValueSource(DimensionValueSource &&value)
Definition: CloudWatchDimensionConfiguration.h:153
Aws::SESV2::Model::CloudWatchDimensionConfiguration::DimensionValueSourceHasBeenSet
bool DimensionValueSourceHasBeenSet() const
Definition: CloudWatchDimensionConfiguration.h:133
Aws::SESV2::Model::CloudWatchDimensionConfiguration::GetDefaultDimensionValue
const Aws::String & GetDefaultDimensionValue() const
Definition: CloudWatchDimensionConfiguration.h:183
Aws::SESV2::Model::CloudWatchDimensionConfiguration::WithDimensionName
CloudWatchDimensionConfiguration & WithDimensionName(Aws::String &&value)
Definition: CloudWatchDimensionConfiguration.h:103
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SESV2::Model::CloudWatchDimensionConfiguration
Definition: CloudWatchDimensionConfiguration.h:34
SESV2_EXPORTS.h
Aws::SESV2::Model::CloudWatchDimensionConfiguration::WithDimensionName
CloudWatchDimensionConfiguration & WithDimensionName(const char *value)
Definition: CloudWatchDimensionConfiguration.h:112
Aws::SESV2::Model::CloudWatchDimensionConfiguration::WithDimensionValueSource
CloudWatchDimensionConfiguration & WithDimensionValueSource(const DimensionValueSource &value)
Definition: CloudWatchDimensionConfiguration.h:163
Aws::SESV2::Model::CloudWatchDimensionConfiguration::operator=
CloudWatchDimensionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::CloudWatchDimensionConfiguration::SetDimensionName
void SetDimensionName(Aws::String &&value)
Definition: CloudWatchDimensionConfiguration.h:76
Aws::SESV2::Model::CloudWatchDimensionConfiguration::SetDefaultDimensionValue
void SetDefaultDimensionValue(const char *value)
Definition: CloudWatchDimensionConfiguration.h:219
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::CloudWatchDimensionConfiguration::SetDefaultDimensionValue
void SetDefaultDimensionValue(Aws::String &&value)
Definition: CloudWatchDimensionConfiguration.h:210
Aws::SESV2::Model::DimensionValueSource
DimensionValueSource
Definition: DimensionValueSource.h:17
Aws::SESV2::Model::CloudWatchDimensionConfiguration::WithDimensionValueSource
CloudWatchDimensionConfiguration & WithDimensionValueSource(DimensionValueSource &&value)
Definition: CloudWatchDimensionConfiguration.h:173