AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CloudWatchDimensionConfiguration.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sesv2/model/DimensionValueSource.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 SESV2
23{
24namespace Model
25{
26
34 {
35 public:
39 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
50 inline const Aws::String& GetDimensionName() const{ return m_dimensionName; }
51 inline bool DimensionNameHasBeenSet() const { return m_dimensionNameHasBeenSet; }
52 inline void SetDimensionName(const Aws::String& value) { m_dimensionNameHasBeenSet = true; m_dimensionName = value; }
53 inline void SetDimensionName(Aws::String&& value) { m_dimensionNameHasBeenSet = true; m_dimensionName = std::move(value); }
54 inline void SetDimensionName(const char* value) { m_dimensionNameHasBeenSet = true; m_dimensionName.assign(value); }
56 inline CloudWatchDimensionConfiguration& WithDimensionName(Aws::String&& value) { SetDimensionName(std::move(value)); return *this;}
57 inline CloudWatchDimensionConfiguration& WithDimensionName(const char* value) { SetDimensionName(value); return *this;}
59
61
69 inline const DimensionValueSource& GetDimensionValueSource() const{ return m_dimensionValueSource; }
70 inline bool DimensionValueSourceHasBeenSet() const { return m_dimensionValueSourceHasBeenSet; }
71 inline void SetDimensionValueSource(const DimensionValueSource& value) { m_dimensionValueSourceHasBeenSet = true; m_dimensionValueSource = value; }
72 inline void SetDimensionValueSource(DimensionValueSource&& value) { m_dimensionValueSourceHasBeenSet = true; m_dimensionValueSource = std::move(value); }
76
78
86 inline const Aws::String& GetDefaultDimensionValue() const{ return m_defaultDimensionValue; }
87 inline bool DefaultDimensionValueHasBeenSet() const { return m_defaultDimensionValueHasBeenSet; }
88 inline void SetDefaultDimensionValue(const Aws::String& value) { m_defaultDimensionValueHasBeenSet = true; m_defaultDimensionValue = value; }
89 inline void SetDefaultDimensionValue(Aws::String&& value) { m_defaultDimensionValueHasBeenSet = true; m_defaultDimensionValue = std::move(value); }
90 inline void SetDefaultDimensionValue(const char* value) { m_defaultDimensionValueHasBeenSet = true; m_defaultDimensionValue.assign(value); }
95 private:
96
97 Aws::String m_dimensionName;
98 bool m_dimensionNameHasBeenSet = false;
99
100 DimensionValueSource m_dimensionValueSource;
101 bool m_dimensionValueSourceHasBeenSet = false;
102
103 Aws::String m_defaultDimensionValue;
104 bool m_defaultDimensionValueHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace SESV2
109} // namespace Aws
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
CloudWatchDimensionConfiguration & WithDimensionName(const char *value)
CloudWatchDimensionConfiguration & WithDefaultDimensionValue(const char *value)
AWS_SESV2_API CloudWatchDimensionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
CloudWatchDimensionConfiguration & WithDimensionName(const Aws::String &value)
CloudWatchDimensionConfiguration & WithDefaultDimensionValue(Aws::String &&value)
CloudWatchDimensionConfiguration & WithDimensionValueSource(DimensionValueSource &&value)
CloudWatchDimensionConfiguration & WithDimensionName(Aws::String &&value)
CloudWatchDimensionConfiguration & WithDefaultDimensionValue(const Aws::String &value)
AWS_SESV2_API CloudWatchDimensionConfiguration(Aws::Utils::Json::JsonView jsonValue)
CloudWatchDimensionConfiguration & WithDimensionValueSource(const DimensionValueSource &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue