AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline KeyValueStore& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline KeyValueStore& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline KeyValueStore& WithName(const char* value) { SetName(value); return *this;}
57
59
62 inline const Aws::String& GetId() const{ return m_id; }
63 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
64 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
65 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
66 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
67 inline KeyValueStore& WithId(const Aws::String& value) { SetId(value); return *this;}
68 inline KeyValueStore& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
69 inline KeyValueStore& WithId(const char* value) { SetId(value); return *this;}
71
73
76 inline const Aws::String& GetComment() const{ return m_comment; }
77 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
78 inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
79 inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
80 inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
81 inline KeyValueStore& WithComment(const Aws::String& value) { SetComment(value); return *this;}
82 inline KeyValueStore& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
83 inline KeyValueStore& WithComment(const char* value) { SetComment(value); return *this;}
85
87
90 inline const Aws::String& GetARN() const{ return m_aRN; }
91 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
92 inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; }
93 inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); }
94 inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); }
95 inline KeyValueStore& WithARN(const Aws::String& value) { SetARN(value); return *this;}
96 inline KeyValueStore& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
97 inline KeyValueStore& WithARN(const char* value) { SetARN(value); return *this;}
99
101
104 inline const Aws::String& GetStatus() const{ return m_status; }
105 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
106 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
107 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
108 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
109 inline KeyValueStore& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
110 inline KeyValueStore& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
111 inline KeyValueStore& WithStatus(const char* value) { SetStatus(value); return *this;}
113
115
118 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
119 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
120 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
121 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
122 inline KeyValueStore& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
123 inline KeyValueStore& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
125 private:
126
127 Aws::String m_name;
128 bool m_nameHasBeenSet = false;
129
130 Aws::String m_id;
131 bool m_idHasBeenSet = false;
132
133 Aws::String m_comment;
134 bool m_commentHasBeenSet = false;
135
136 Aws::String m_aRN;
137 bool m_aRNHasBeenSet = false;
138
139 Aws::String m_status;
140 bool m_statusHasBeenSet = false;
141
142 Aws::Utils::DateTime m_lastModifiedTime;
143 bool m_lastModifiedTimeHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace CloudFront
148} // namespace Aws
void SetName(const Aws::String &value)
AWS_CLOUDFRONT_API KeyValueStore(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
KeyValueStore & WithComment(Aws::String &&value)
const Aws::String & GetId() const
KeyValueStore & WithLastModifiedTime(const Aws::Utils::DateTime &value)
const Aws::String & GetName() const
void SetName(Aws::String &&value)
const Aws::String & GetComment() const
KeyValueStore & WithName(Aws::String &&value)
KeyValueStore & WithLastModifiedTime(Aws::Utils::DateTime &&value)
const Aws::String & GetStatus() const
void SetStatus(const Aws::String &value)
KeyValueStore & WithStatus(Aws::String &&value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetId(Aws::String &&value)
KeyValueStore & WithId(const Aws::String &value)
KeyValueStore & WithARN(Aws::String &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetComment(const char *value)
KeyValueStore & WithName(const Aws::String &value)
KeyValueStore & WithStatus(const char *value)
KeyValueStore & WithARN(const char *value)
KeyValueStore & WithStatus(const Aws::String &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
const Aws::String & GetARN() const
void SetARN(Aws::String &&value)
void SetARN(const Aws::String &value)
KeyValueStore & WithId(Aws::String &&value)
void SetId(const Aws::String &value)
void SetComment(const Aws::String &value)
AWS_CLOUDFRONT_API KeyValueStore & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
KeyValueStore & WithComment(const Aws::String &value)
KeyValueStore & WithComment(const char *value)
void SetStatus(Aws::String &&value)
KeyValueStore & WithId(const char *value)
KeyValueStore & WithName(const char *value)
KeyValueStore & WithARN(const Aws::String &value)
void SetComment(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String