AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CloudWatchDestination.h
1
6#pragma once
7#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/pinpoint-email/model/CloudWatchDimensionConfiguration.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace PinpointEmail
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_PINPOINTEMAIL_API CloudWatchDestination();
38 AWS_PINPOINTEMAIL_API CloudWatchDestination(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<CloudWatchDimensionConfiguration>& GetDimensionConfigurations() const{ return m_dimensionConfigurations; }
49 inline bool DimensionConfigurationsHasBeenSet() const { return m_dimensionConfigurationsHasBeenSet; }
50 inline void SetDimensionConfigurations(const Aws::Vector<CloudWatchDimensionConfiguration>& value) { m_dimensionConfigurationsHasBeenSet = true; m_dimensionConfigurations = value; }
51 inline void SetDimensionConfigurations(Aws::Vector<CloudWatchDimensionConfiguration>&& value) { m_dimensionConfigurationsHasBeenSet = true; m_dimensionConfigurations = std::move(value); }
54 inline CloudWatchDestination& AddDimensionConfigurations(const CloudWatchDimensionConfiguration& value) { m_dimensionConfigurationsHasBeenSet = true; m_dimensionConfigurations.push_back(value); return *this; }
55 inline CloudWatchDestination& AddDimensionConfigurations(CloudWatchDimensionConfiguration&& value) { m_dimensionConfigurationsHasBeenSet = true; m_dimensionConfigurations.push_back(std::move(value)); return *this; }
57 private:
58
59 Aws::Vector<CloudWatchDimensionConfiguration> m_dimensionConfigurations;
60 bool m_dimensionConfigurationsHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace PinpointEmail
65} // namespace Aws
AWS_PINPOINTEMAIL_API CloudWatchDestination(Aws::Utils::Json::JsonView jsonValue)
void SetDimensionConfigurations(Aws::Vector< CloudWatchDimensionConfiguration > &&value)
AWS_PINPOINTEMAIL_API CloudWatchDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< CloudWatchDimensionConfiguration > & GetDimensionConfigurations() const
CloudWatchDestination & WithDimensionConfigurations(const Aws::Vector< CloudWatchDimensionConfiguration > &value)
AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
CloudWatchDestination & AddDimensionConfigurations(const CloudWatchDimensionConfiguration &value)
CloudWatchDestination & WithDimensionConfigurations(Aws::Vector< CloudWatchDimensionConfiguration > &&value)
void SetDimensionConfigurations(const Aws::Vector< CloudWatchDimensionConfiguration > &value)
CloudWatchDestination & AddDimensionConfigurations(CloudWatchDimensionConfiguration &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue