AWS SDK for C++  1.9.153
AWS SDK for C++
CloudWatchDestination.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 
35  {
36  public:
41 
42 
47  inline const Aws::Vector<CloudWatchDimensionConfiguration>& GetDimensionConfigurations() const{ return m_dimensionConfigurations; }
48 
53  inline bool DimensionConfigurationsHasBeenSet() const { return m_dimensionConfigurationsHasBeenSet; }
54 
59  inline void SetDimensionConfigurations(const Aws::Vector<CloudWatchDimensionConfiguration>& value) { m_dimensionConfigurationsHasBeenSet = true; m_dimensionConfigurations = value; }
60 
65  inline void SetDimensionConfigurations(Aws::Vector<CloudWatchDimensionConfiguration>&& value) { m_dimensionConfigurationsHasBeenSet = true; m_dimensionConfigurations = std::move(value); }
66 
71  inline CloudWatchDestination& WithDimensionConfigurations(const Aws::Vector<CloudWatchDimensionConfiguration>& value) { SetDimensionConfigurations(value); return *this;}
72 
77  inline CloudWatchDestination& WithDimensionConfigurations(Aws::Vector<CloudWatchDimensionConfiguration>&& value) { SetDimensionConfigurations(std::move(value)); return *this;}
78 
83  inline CloudWatchDestination& AddDimensionConfigurations(const CloudWatchDimensionConfiguration& value) { m_dimensionConfigurationsHasBeenSet = true; m_dimensionConfigurations.push_back(value); return *this; }
84 
89  inline CloudWatchDestination& AddDimensionConfigurations(CloudWatchDimensionConfiguration&& value) { m_dimensionConfigurationsHasBeenSet = true; m_dimensionConfigurations.push_back(std::move(value)); return *this; }
90 
91  private:
92 
93  Aws::Vector<CloudWatchDimensionConfiguration> m_dimensionConfigurations;
94  bool m_dimensionConfigurationsHasBeenSet;
95  };
96 
97 } // namespace Model
98 } // namespace SESV2
99 } // namespace Aws
Aws::SESV2::Model::CloudWatchDestination::SetDimensionConfigurations
void SetDimensionConfigurations(Aws::Vector< CloudWatchDimensionConfiguration > &&value)
Definition: CloudWatchDestination.h:65
Aws::SESV2::Model::CloudWatchDestination::WithDimensionConfigurations
CloudWatchDestination & WithDimensionConfigurations(Aws::Vector< CloudWatchDimensionConfiguration > &&value)
Definition: CloudWatchDestination.h:77
Aws::SESV2::Model::CloudWatchDestination::operator=
CloudWatchDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::CloudWatchDestination::AddDimensionConfigurations
CloudWatchDestination & AddDimensionConfigurations(CloudWatchDimensionConfiguration &&value)
Definition: CloudWatchDestination.h:89
Aws::SESV2::Model::CloudWatchDestination::GetDimensionConfigurations
const Aws::Vector< CloudWatchDimensionConfiguration > & GetDimensionConfigurations() const
Definition: CloudWatchDestination.h:47
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
CloudWatchDimensionConfiguration.h
Aws::SESV2::Model::CloudWatchDestination::DimensionConfigurationsHasBeenSet
bool DimensionConfigurationsHasBeenSet() const
Definition: CloudWatchDestination.h:53
Aws::SESV2::Model::CloudWatchDestination::CloudWatchDestination
CloudWatchDestination(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::CloudWatchDestination::AddDimensionConfigurations
CloudWatchDestination & AddDimensionConfigurations(const CloudWatchDimensionConfiguration &value)
Definition: CloudWatchDestination.h:83
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SESV2::Model::CloudWatchDestination::WithDimensionConfigurations
CloudWatchDestination & WithDimensionConfigurations(const Aws::Vector< CloudWatchDimensionConfiguration > &value)
Definition: CloudWatchDestination.h:71
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SESV2::Model::CloudWatchDimensionConfiguration
Definition: CloudWatchDimensionConfiguration.h:34
SESV2_EXPORTS.h
Aws::SESV2::Model::CloudWatchDestination::CloudWatchDestination
CloudWatchDestination()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::CloudWatchDestination::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SESV2::Model::CloudWatchDestination
Definition: CloudWatchDestination.h:35
Aws::SESV2::Model::CloudWatchDestination::SetDimensionConfigurations
void SetDimensionConfigurations(const Aws::Vector< CloudWatchDimensionConfiguration > &value)
Definition: CloudWatchDestination.h:59