AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
KeyValueStore.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace CloudFront
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_CLOUDFRONT_API KeyValueStore() = default;
38 AWS_CLOUDFRONT_API KeyValueStore(const Aws::Utils::Xml::XmlNode& xmlNode);
39 AWS_CLOUDFRONT_API KeyValueStore& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
42
43
45
48 inline const Aws::String& GetName() const { return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 template<typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
52 template<typename NameT = Aws::String>
53 KeyValueStore& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
55
57
60 inline const Aws::String& GetId() const { return m_id; }
61 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
62 template<typename IdT = Aws::String>
63 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
64 template<typename IdT = Aws::String>
65 KeyValueStore& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
67
69
72 inline const Aws::String& GetComment() const { return m_comment; }
73 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
74 template<typename CommentT = Aws::String>
75 void SetComment(CommentT&& value) { m_commentHasBeenSet = true; m_comment = std::forward<CommentT>(value); }
76 template<typename CommentT = Aws::String>
77 KeyValueStore& WithComment(CommentT&& value) { SetComment(std::forward<CommentT>(value)); return *this;}
79
81
84 inline const Aws::String& GetARN() const { return m_aRN; }
85 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
86 template<typename ARNT = Aws::String>
87 void SetARN(ARNT&& value) { m_aRNHasBeenSet = true; m_aRN = std::forward<ARNT>(value); }
88 template<typename ARNT = Aws::String>
89 KeyValueStore& WithARN(ARNT&& value) { SetARN(std::forward<ARNT>(value)); return *this;}
91
93
96 inline const Aws::String& GetStatus() const { return m_status; }
97 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
98 template<typename StatusT = Aws::String>
99 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
100 template<typename StatusT = Aws::String>
101 KeyValueStore& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
103
105
108 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
109 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
110 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
111 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
112 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
113 KeyValueStore& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
115 private:
116
117 Aws::String m_name;
118 bool m_nameHasBeenSet = false;
119
120 Aws::String m_id;
121 bool m_idHasBeenSet = false;
122
123 Aws::String m_comment;
124 bool m_commentHasBeenSet = false;
125
126 Aws::String m_aRN;
127 bool m_aRNHasBeenSet = false;
128
129 Aws::String m_status;
130 bool m_statusHasBeenSet = false;
131
132 Aws::Utils::DateTime m_lastModifiedTime{};
133 bool m_lastModifiedTimeHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace CloudFront
138} // namespace Aws
AWS_CLOUDFRONT_API KeyValueStore(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetId() const
KeyValueStore & WithId(IdT &&value)
const Aws::String & GetName() const
KeyValueStore & WithARN(ARNT &&value)
const Aws::String & GetComment() const
KeyValueStore & WithLastModifiedTime(LastModifiedTimeT &&value)
const Aws::String & GetStatus() const
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const Aws::Utils::DateTime & GetLastModifiedTime() const
KeyValueStore & WithComment(CommentT &&value)
const Aws::String & GetARN() const
AWS_CLOUDFRONT_API KeyValueStore & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFRONT_API KeyValueStore()=default
KeyValueStore & WithStatus(StatusT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
KeyValueStore & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String