AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
CloudWatchDimensionConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/email/SES_EXPORTS.h>
10#include <aws/email/model/DimensionValueSource.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Xml {
17class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace SES {
21namespace Model {
22
33 public:
34 AWS_SES_API CloudWatchDimensionConfiguration() = default;
37
38 AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
42
48 inline const Aws::String& GetDimensionName() const { return m_dimensionName; }
49 inline bool DimensionNameHasBeenSet() const { return m_dimensionNameHasBeenSet; }
50 template <typename DimensionNameT = Aws::String>
51 void SetDimensionName(DimensionNameT&& value) {
52 m_dimensionNameHasBeenSet = true;
53 m_dimensionName = std::forward<DimensionNameT>(value);
54 }
55 template <typename DimensionNameT = Aws::String>
57 SetDimensionName(std::forward<DimensionNameT>(value));
58 return *this;
59 }
61
63
72 inline DimensionValueSource GetDimensionValueSource() const { return m_dimensionValueSource; }
73 inline bool DimensionValueSourceHasBeenSet() const { return m_dimensionValueSourceHasBeenSet; }
75 m_dimensionValueSourceHasBeenSet = true;
76 m_dimensionValueSource = value;
77 }
80 return *this;
81 }
83
85
93 inline const Aws::String& GetDefaultDimensionValue() const { return m_defaultDimensionValue; }
94 inline bool DefaultDimensionValueHasBeenSet() const { return m_defaultDimensionValueHasBeenSet; }
95 template <typename DefaultDimensionValueT = Aws::String>
96 void SetDefaultDimensionValue(DefaultDimensionValueT&& value) {
97 m_defaultDimensionValueHasBeenSet = true;
98 m_defaultDimensionValue = std::forward<DefaultDimensionValueT>(value);
99 }
100 template <typename DefaultDimensionValueT = Aws::String>
102 SetDefaultDimensionValue(std::forward<DefaultDimensionValueT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_dimensionName;
108
110
111 Aws::String m_defaultDimensionValue;
112 bool m_dimensionNameHasBeenSet = false;
113 bool m_dimensionValueSourceHasBeenSet = false;
114 bool m_defaultDimensionValueHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace SES
119} // namespace Aws
AWS_SES_API CloudWatchDimensionConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CloudWatchDimensionConfiguration & WithDefaultDimensionValue(DefaultDimensionValueT &&value)
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
CloudWatchDimensionConfiguration & WithDimensionValueSource(DimensionValueSource value)
AWS_SES_API CloudWatchDimensionConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
CloudWatchDimensionConfiguration & WithDimensionName(DimensionNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream