AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CollectionSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53/Route53_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Xml {
15class XmlNode;
16} // namespace Xml
17} // namespace Utils
18namespace Route53 {
19namespace Model {
20
29 public:
30 AWS_ROUTE53_API CollectionSummary() = default;
31 AWS_ROUTE53_API CollectionSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
32 AWS_ROUTE53_API CollectionSummary& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
33
34 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
35
37
41 inline const Aws::String& GetArn() const { return m_arn; }
42 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
43 template <typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) {
45 m_arnHasBeenSet = true;
46 m_arn = std::forward<ArnT>(value);
47 }
48 template <typename ArnT = Aws::String>
49 CollectionSummary& WithArn(ArnT&& value) {
50 SetArn(std::forward<ArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetId() const { return m_id; }
60 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
61 template <typename IdT = Aws::String>
62 void SetId(IdT&& value) {
63 m_idHasBeenSet = true;
64 m_id = std::forward<IdT>(value);
65 }
66 template <typename IdT = Aws::String>
67 CollectionSummary& WithId(IdT&& value) {
68 SetId(std::forward<IdT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetName() const { return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 template <typename NameT = Aws::String>
80 void SetName(NameT&& value) {
81 m_nameHasBeenSet = true;
82 m_name = std::forward<NameT>(value);
83 }
84 template <typename NameT = Aws::String>
85 CollectionSummary& WithName(NameT&& value) {
86 SetName(std::forward<NameT>(value));
87 return *this;
88 }
90
92
97 inline long long GetVersion() const { return m_version; }
98 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
99 inline void SetVersion(long long value) {
100 m_versionHasBeenSet = true;
101 m_version = value;
102 }
103 inline CollectionSummary& WithVersion(long long value) {
104 SetVersion(value);
105 return *this;
106 }
108 private:
109 Aws::String m_arn;
110
111 Aws::String m_id;
112
113 Aws::String m_name;
114
115 long long m_version{0};
116 bool m_arnHasBeenSet = false;
117 bool m_idHasBeenSet = false;
118 bool m_nameHasBeenSet = false;
119 bool m_versionHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace Route53
124} // namespace Aws
AWS_ROUTE53_API CollectionSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CollectionSummary & WithId(IdT &&value)
const Aws::String & GetName() const
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_ROUTE53_API CollectionSummary()=default
AWS_ROUTE53_API CollectionSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
CollectionSummary & WithVersion(long long value)
CollectionSummary & WithArn(ArnT &&value)
CollectionSummary & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String