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/email/SES_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/email/model/DimensionValueSource.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace SES
23{
24namespace Model
25{
26
37 {
38 public:
42
43 AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44 AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
45
46
48
54 inline const Aws::String& GetDimensionName() const{ return m_dimensionName; }
55 inline bool DimensionNameHasBeenSet() const { return m_dimensionNameHasBeenSet; }
56 inline void SetDimensionName(const Aws::String& value) { m_dimensionNameHasBeenSet = true; m_dimensionName = value; }
57 inline void SetDimensionName(Aws::String&& value) { m_dimensionNameHasBeenSet = true; m_dimensionName = std::move(value); }
58 inline void SetDimensionName(const char* value) { m_dimensionNameHasBeenSet = true; m_dimensionName.assign(value); }
60 inline CloudWatchDimensionConfiguration& WithDimensionName(Aws::String&& value) { SetDimensionName(std::move(value)); return *this;}
61 inline CloudWatchDimensionConfiguration& WithDimensionName(const char* value) { SetDimensionName(value); return *this;}
63
65
74 inline const DimensionValueSource& GetDimensionValueSource() const{ return m_dimensionValueSource; }
75 inline bool DimensionValueSourceHasBeenSet() const { return m_dimensionValueSourceHasBeenSet; }
76 inline void SetDimensionValueSource(const DimensionValueSource& value) { m_dimensionValueSourceHasBeenSet = true; m_dimensionValueSource = value; }
77 inline void SetDimensionValueSource(DimensionValueSource&& value) { m_dimensionValueSourceHasBeenSet = true; m_dimensionValueSource = std::move(value); }
81
83
91 inline const Aws::String& GetDefaultDimensionValue() const{ return m_defaultDimensionValue; }
92 inline bool DefaultDimensionValueHasBeenSet() const { return m_defaultDimensionValueHasBeenSet; }
93 inline void SetDefaultDimensionValue(const Aws::String& value) { m_defaultDimensionValueHasBeenSet = true; m_defaultDimensionValue = value; }
94 inline void SetDefaultDimensionValue(Aws::String&& value) { m_defaultDimensionValueHasBeenSet = true; m_defaultDimensionValue = std::move(value); }
95 inline void SetDefaultDimensionValue(const char* value) { m_defaultDimensionValueHasBeenSet = true; m_defaultDimensionValue.assign(value); }
100 private:
101
102 Aws::String m_dimensionName;
103 bool m_dimensionNameHasBeenSet = false;
104
105 DimensionValueSource m_dimensionValueSource;
106 bool m_dimensionValueSourceHasBeenSet = false;
107
108 Aws::String m_defaultDimensionValue;
109 bool m_defaultDimensionValueHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace SES
114} // namespace Aws
AWS_SES_API CloudWatchDimensionConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetDimensionValueSource(const DimensionValueSource &value)
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
CloudWatchDimensionConfiguration & WithDimensionValueSource(DimensionValueSource &&value)
CloudWatchDimensionConfiguration & WithDimensionName(Aws::String &&value)
CloudWatchDimensionConfiguration & WithDimensionValueSource(const DimensionValueSource &value)
CloudWatchDimensionConfiguration & WithDefaultDimensionValue(Aws::String &&value)
CloudWatchDimensionConfiguration & WithDimensionName(const char *value)
CloudWatchDimensionConfiguration & WithDefaultDimensionValue(const char *value)
AWS_SES_API CloudWatchDimensionConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
CloudWatchDimensionConfiguration & WithDimensionName(const Aws::String &value)
CloudWatchDimensionConfiguration & WithDefaultDimensionValue(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream