AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Dimension.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace Route53
21{
22namespace Model
23{
24
32 {
33 public:
34 AWS_ROUTE53_API Dimension();
35 AWS_ROUTE53_API Dimension(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_ROUTE53_API Dimension& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39
40
42
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline Dimension& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline Dimension& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline Dimension& WithName(const char* value) { SetName(value); return *this;}
55
57
61 inline const Aws::String& GetValue() const{ return m_value; }
62 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
63 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
64 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
65 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
66 inline Dimension& WithValue(const Aws::String& value) { SetValue(value); return *this;}
67 inline Dimension& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
68 inline Dimension& WithValue(const char* value) { SetValue(value); return *this;}
70 private:
71
72 Aws::String m_name;
73 bool m_nameHasBeenSet = false;
74
75 Aws::String m_value;
76 bool m_valueHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Route53
81} // namespace Aws
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetName(const char *value)
Definition Dimension.h:50
void SetValue(const Aws::String &value)
Definition Dimension.h:63
Dimension & WithName(const char *value)
Definition Dimension.h:53
void SetValue(const char *value)
Definition Dimension.h:65
Dimension & WithValue(const Aws::String &value)
Definition Dimension.h:66
Dimension & WithValue(const char *value)
Definition Dimension.h:68
void SetName(Aws::String &&value)
Definition Dimension.h:49
const Aws::String & GetValue() const
Definition Dimension.h:61
AWS_ROUTE53_API Dimension(const Aws::Utils::Xml::XmlNode &xmlNode)
Dimension & WithValue(Aws::String &&value)
Definition Dimension.h:67
const Aws::String & GetName() const
Definition Dimension.h:46
void SetValue(Aws::String &&value)
Definition Dimension.h:64
Dimension & WithName(Aws::String &&value)
Definition Dimension.h:52
AWS_ROUTE53_API Dimension & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Dimension & WithName(const Aws::String &value)
Definition Dimension.h:51
void SetName(const Aws::String &value)
Definition Dimension.h:48
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String