AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
PersistentAppUI.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elasticmapreduce/EMR_EXPORTS.h>
11#include <aws/elasticmapreduce/model/PersistentAppUIType.h>
12#include <aws/elasticmapreduce/model/Tag.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace EMR {
24namespace Model {
25
34 public:
35 AWS_EMR_API PersistentAppUI() = default;
39
41
44 inline const Aws::String& GetPersistentAppUIId() const { return m_persistentAppUIId; }
45 inline bool PersistentAppUIIdHasBeenSet() const { return m_persistentAppUIIdHasBeenSet; }
46 template <typename PersistentAppUIIdT = Aws::String>
47 void SetPersistentAppUIId(PersistentAppUIIdT&& value) {
48 m_persistentAppUIIdHasBeenSet = true;
49 m_persistentAppUIId = std::forward<PersistentAppUIIdT>(value);
50 }
51 template <typename PersistentAppUIIdT = Aws::String>
52 PersistentAppUI& WithPersistentAppUIId(PersistentAppUIIdT&& value) {
53 SetPersistentAppUIId(std::forward<PersistentAppUIIdT>(value));
54 return *this;
55 }
57
59
63 inline const Aws::Vector<PersistentAppUIType>& GetPersistentAppUITypeList() const { return m_persistentAppUITypeList; }
64 inline bool PersistentAppUITypeListHasBeenSet() const { return m_persistentAppUITypeListHasBeenSet; }
65 template <typename PersistentAppUITypeListT = Aws::Vector<PersistentAppUIType>>
66 void SetPersistentAppUITypeList(PersistentAppUITypeListT&& value) {
67 m_persistentAppUITypeListHasBeenSet = true;
68 m_persistentAppUITypeList = std::forward<PersistentAppUITypeListT>(value);
69 }
70 template <typename PersistentAppUITypeListT = Aws::Vector<PersistentAppUIType>>
71 PersistentAppUI& WithPersistentAppUITypeList(PersistentAppUITypeListT&& value) {
72 SetPersistentAppUITypeList(std::forward<PersistentAppUITypeListT>(value));
73 return *this;
74 }
76 m_persistentAppUITypeListHasBeenSet = true;
77 m_persistentAppUITypeList.push_back(value);
78 return *this;
79 }
81
83
86 inline const Aws::String& GetPersistentAppUIStatus() const { return m_persistentAppUIStatus; }
87 inline bool PersistentAppUIStatusHasBeenSet() const { return m_persistentAppUIStatusHasBeenSet; }
88 template <typename PersistentAppUIStatusT = Aws::String>
89 void SetPersistentAppUIStatus(PersistentAppUIStatusT&& value) {
90 m_persistentAppUIStatusHasBeenSet = true;
91 m_persistentAppUIStatus = std::forward<PersistentAppUIStatusT>(value);
92 }
93 template <typename PersistentAppUIStatusT = Aws::String>
94 PersistentAppUI& WithPersistentAppUIStatus(PersistentAppUIStatusT&& value) {
95 SetPersistentAppUIStatus(std::forward<PersistentAppUIStatusT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::String& GetAuthorId() const { return m_authorId; }
105 inline bool AuthorIdHasBeenSet() const { return m_authorIdHasBeenSet; }
106 template <typename AuthorIdT = Aws::String>
107 void SetAuthorId(AuthorIdT&& value) {
108 m_authorIdHasBeenSet = true;
109 m_authorId = std::forward<AuthorIdT>(value);
110 }
111 template <typename AuthorIdT = Aws::String>
112 PersistentAppUI& WithAuthorId(AuthorIdT&& value) {
113 SetAuthorId(std::forward<AuthorIdT>(value));
114 return *this;
115 }
117
119
123 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
124 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
125 template <typename CreationTimeT = Aws::Utils::DateTime>
126 void SetCreationTime(CreationTimeT&& value) {
127 m_creationTimeHasBeenSet = true;
128 m_creationTime = std::forward<CreationTimeT>(value);
129 }
130 template <typename CreationTimeT = Aws::Utils::DateTime>
131 PersistentAppUI& WithCreationTime(CreationTimeT&& value) {
132 SetCreationTime(std::forward<CreationTimeT>(value));
133 return *this;
134 }
136
138
142 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
143 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
144 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
145 void SetLastModifiedTime(LastModifiedTimeT&& value) {
146 m_lastModifiedTimeHasBeenSet = true;
147 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
148 }
149 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
150 PersistentAppUI& WithLastModifiedTime(LastModifiedTimeT&& value) {
151 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
152 return *this;
153 }
155
157
161 inline const Aws::String& GetLastStateChangeReason() const { return m_lastStateChangeReason; }
162 inline bool LastStateChangeReasonHasBeenSet() const { return m_lastStateChangeReasonHasBeenSet; }
163 template <typename LastStateChangeReasonT = Aws::String>
164 void SetLastStateChangeReason(LastStateChangeReasonT&& value) {
165 m_lastStateChangeReasonHasBeenSet = true;
166 m_lastStateChangeReason = std::forward<LastStateChangeReasonT>(value);
167 }
168 template <typename LastStateChangeReasonT = Aws::String>
169 PersistentAppUI& WithLastStateChangeReason(LastStateChangeReasonT&& value) {
170 SetLastStateChangeReason(std::forward<LastStateChangeReasonT>(value));
171 return *this;
172 }
174
176
180 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
181 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
182 template <typename TagsT = Aws::Vector<Tag>>
183 void SetTags(TagsT&& value) {
184 m_tagsHasBeenSet = true;
185 m_tags = std::forward<TagsT>(value);
186 }
187 template <typename TagsT = Aws::Vector<Tag>>
188 PersistentAppUI& WithTags(TagsT&& value) {
189 SetTags(std::forward<TagsT>(value));
190 return *this;
191 }
192 template <typename TagsT = Tag>
193 PersistentAppUI& AddTags(TagsT&& value) {
194 m_tagsHasBeenSet = true;
195 m_tags.emplace_back(std::forward<TagsT>(value));
196 return *this;
197 }
199 private:
200 Aws::String m_persistentAppUIId;
201
202 Aws::Vector<PersistentAppUIType> m_persistentAppUITypeList;
203
204 Aws::String m_persistentAppUIStatus;
205
206 Aws::String m_authorId;
207
208 Aws::Utils::DateTime m_creationTime{};
209
210 Aws::Utils::DateTime m_lastModifiedTime{};
211
212 Aws::String m_lastStateChangeReason;
213
214 Aws::Vector<Tag> m_tags;
215 bool m_persistentAppUIIdHasBeenSet = false;
216 bool m_persistentAppUITypeListHasBeenSet = false;
217 bool m_persistentAppUIStatusHasBeenSet = false;
218 bool m_authorIdHasBeenSet = false;
219 bool m_creationTimeHasBeenSet = false;
220 bool m_lastModifiedTimeHasBeenSet = false;
221 bool m_lastStateChangeReasonHasBeenSet = false;
222 bool m_tagsHasBeenSet = false;
223};
224
225} // namespace Model
226} // namespace EMR
227} // namespace Aws
void SetPersistentAppUIStatus(PersistentAppUIStatusT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetAuthorId() const
PersistentAppUI & WithAuthorId(AuthorIdT &&value)
PersistentAppUI & WithTags(TagsT &&value)
PersistentAppUI & WithLastModifiedTime(LastModifiedTimeT &&value)
PersistentAppUI & WithLastStateChangeReason(LastStateChangeReasonT &&value)
PersistentAppUI & WithPersistentAppUITypeList(PersistentAppUITypeListT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPersistentAppUITypeList(PersistentAppUITypeListT &&value)
PersistentAppUI & WithPersistentAppUIStatus(PersistentAppUIStatusT &&value)
AWS_EMR_API PersistentAppUI(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedTime(LastModifiedTimeT &&value)
AWS_EMR_API PersistentAppUI & operator=(Aws::Utils::Json::JsonView jsonValue)
PersistentAppUI & WithCreationTime(CreationTimeT &&value)
const Aws::String & GetPersistentAppUIStatus() const
const Aws::String & GetPersistentAppUIId() const
const Aws::String & GetLastStateChangeReason() const
void SetAuthorId(AuthorIdT &&value)
PersistentAppUI & AddPersistentAppUITypeList(PersistentAppUIType value)
const Aws::Vector< PersistentAppUIType > & GetPersistentAppUITypeList() const
void SetCreationTime(CreationTimeT &&value)
const Aws::Vector< Tag > & GetTags() const
void SetPersistentAppUIId(PersistentAppUIIdT &&value)
PersistentAppUI & AddTags(TagsT &&value)
AWS_EMR_API PersistentAppUI()=default
void SetLastStateChangeReason(LastStateChangeReasonT &&value)
PersistentAppUI & WithPersistentAppUIId(PersistentAppUIIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue