AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CollectionSummary.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
33 {
34 public:
35 AWS_ROUTE53_API CollectionSummary();
36 AWS_ROUTE53_API CollectionSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_ROUTE53_API CollectionSummary& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
47 inline const Aws::String& GetArn() const{ return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline CollectionSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline CollectionSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline CollectionSummary& WithArn(const char* value) { SetArn(value); return *this;}
56
58
61 inline const Aws::String& GetId() const{ return m_id; }
62 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
63 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
64 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
65 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
66 inline CollectionSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
67 inline CollectionSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
68 inline CollectionSummary& WithId(const char* value) { SetId(value); return *this;}
70
72
75 inline const Aws::String& GetName() const{ return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
78 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
79 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
80 inline CollectionSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
81 inline CollectionSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
82 inline CollectionSummary& WithName(const char* value) { SetName(value); return *this;}
84
86
91 inline long long GetVersion() const{ return m_version; }
92 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
93 inline void SetVersion(long long value) { m_versionHasBeenSet = true; m_version = value; }
94 inline CollectionSummary& WithVersion(long long value) { SetVersion(value); return *this;}
96 private:
97
98 Aws::String m_arn;
99 bool m_arnHasBeenSet = false;
100
101 Aws::String m_id;
102 bool m_idHasBeenSet = false;
103
104 Aws::String m_name;
105 bool m_nameHasBeenSet = false;
106
107 long long m_version;
108 bool m_versionHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace Route53
113} // namespace Aws
CollectionSummary & WithArn(const char *value)
CollectionSummary & WithName(const Aws::String &value)
CollectionSummary & WithId(const Aws::String &value)
CollectionSummary & WithName(const char *value)
CollectionSummary & WithId(Aws::String &&value)
AWS_ROUTE53_API CollectionSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetName() const
CollectionSummary & WithId(const char *value)
CollectionSummary & WithArn(const Aws::String &value)
void SetId(const Aws::String &value)
CollectionSummary & WithName(Aws::String &&value)
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetName(const Aws::String &value)
AWS_ROUTE53_API CollectionSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
CollectionSummary & WithVersion(long long value)
void SetArn(const Aws::String &value)
CollectionSummary & WithArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String