AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
51 template<typename ArnT = Aws::String>
52 CollectionSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
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) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
63 template<typename IdT = Aws::String>
64 CollectionSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetName() const { return m_name; }
72 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
73 template<typename NameT = Aws::String>
74 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
75 template<typename NameT = Aws::String>
76 CollectionSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
78
80
85 inline long long GetVersion() const { return m_version; }
86 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
87 inline void SetVersion(long long value) { m_versionHasBeenSet = true; m_version = value; }
88 inline CollectionSummary& WithVersion(long long value) { SetVersion(value); return *this;}
90 private:
91
92 Aws::String m_arn;
93 bool m_arnHasBeenSet = false;
94
95 Aws::String m_id;
96 bool m_idHasBeenSet = false;
97
98 Aws::String m_name;
99 bool m_nameHasBeenSet = false;
100
101 long long m_version{0};
102 bool m_versionHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace Route53
107} // 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