AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
PersistentAppUI.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/elasticmapreduce/model/PersistentAppUIType.h>
12#include <aws/elasticmapreduce/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace EMR
26{
27namespace Model
28{
29
38 {
39 public:
40 AWS_EMR_API PersistentAppUI() = default;
44
45
47
50 inline const Aws::String& GetPersistentAppUIId() const { return m_persistentAppUIId; }
51 inline bool PersistentAppUIIdHasBeenSet() const { return m_persistentAppUIIdHasBeenSet; }
52 template<typename PersistentAppUIIdT = Aws::String>
53 void SetPersistentAppUIId(PersistentAppUIIdT&& value) { m_persistentAppUIIdHasBeenSet = true; m_persistentAppUIId = std::forward<PersistentAppUIIdT>(value); }
54 template<typename PersistentAppUIIdT = Aws::String>
55 PersistentAppUI& WithPersistentAppUIId(PersistentAppUIIdT&& value) { SetPersistentAppUIId(std::forward<PersistentAppUIIdT>(value)); return *this;}
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) { m_persistentAppUITypeListHasBeenSet = true; m_persistentAppUITypeList = std::forward<PersistentAppUITypeListT>(value); }
67 template<typename PersistentAppUITypeListT = Aws::Vector<PersistentAppUIType>>
68 PersistentAppUI& WithPersistentAppUITypeList(PersistentAppUITypeListT&& value) { SetPersistentAppUITypeList(std::forward<PersistentAppUITypeListT>(value)); return *this;}
69 inline PersistentAppUI& AddPersistentAppUITypeList(PersistentAppUIType value) { m_persistentAppUITypeListHasBeenSet = true; m_persistentAppUITypeList.push_back(value); return *this; }
71
73
76 inline const Aws::String& GetPersistentAppUIStatus() const { return m_persistentAppUIStatus; }
77 inline bool PersistentAppUIStatusHasBeenSet() const { return m_persistentAppUIStatusHasBeenSet; }
78 template<typename PersistentAppUIStatusT = Aws::String>
79 void SetPersistentAppUIStatus(PersistentAppUIStatusT&& value) { m_persistentAppUIStatusHasBeenSet = true; m_persistentAppUIStatus = std::forward<PersistentAppUIStatusT>(value); }
80 template<typename PersistentAppUIStatusT = Aws::String>
81 PersistentAppUI& WithPersistentAppUIStatus(PersistentAppUIStatusT&& value) { SetPersistentAppUIStatus(std::forward<PersistentAppUIStatusT>(value)); return *this;}
83
85
88 inline const Aws::String& GetAuthorId() const { return m_authorId; }
89 inline bool AuthorIdHasBeenSet() const { return m_authorIdHasBeenSet; }
90 template<typename AuthorIdT = Aws::String>
91 void SetAuthorId(AuthorIdT&& value) { m_authorIdHasBeenSet = true; m_authorId = std::forward<AuthorIdT>(value); }
92 template<typename AuthorIdT = Aws::String>
93 PersistentAppUI& WithAuthorId(AuthorIdT&& value) { SetAuthorId(std::forward<AuthorIdT>(value)); return *this;}
95
97
101 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
102 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
103 template<typename CreationTimeT = Aws::Utils::DateTime>
104 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
105 template<typename CreationTimeT = Aws::Utils::DateTime>
106 PersistentAppUI& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
108
110
114 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
115 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
116 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
117 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
118 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
119 PersistentAppUI& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
121
123
127 inline const Aws::String& GetLastStateChangeReason() const { return m_lastStateChangeReason; }
128 inline bool LastStateChangeReasonHasBeenSet() const { return m_lastStateChangeReasonHasBeenSet; }
129 template<typename LastStateChangeReasonT = Aws::String>
130 void SetLastStateChangeReason(LastStateChangeReasonT&& value) { m_lastStateChangeReasonHasBeenSet = true; m_lastStateChangeReason = std::forward<LastStateChangeReasonT>(value); }
131 template<typename LastStateChangeReasonT = Aws::String>
132 PersistentAppUI& WithLastStateChangeReason(LastStateChangeReasonT&& value) { SetLastStateChangeReason(std::forward<LastStateChangeReasonT>(value)); return *this;}
134
136
140 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
141 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
142 template<typename TagsT = Aws::Vector<Tag>>
143 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
144 template<typename TagsT = Aws::Vector<Tag>>
145 PersistentAppUI& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
146 template<typename TagsT = Tag>
147 PersistentAppUI& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
149 private:
150
151 Aws::String m_persistentAppUIId;
152 bool m_persistentAppUIIdHasBeenSet = false;
153
154 Aws::Vector<PersistentAppUIType> m_persistentAppUITypeList;
155 bool m_persistentAppUITypeListHasBeenSet = false;
156
157 Aws::String m_persistentAppUIStatus;
158 bool m_persistentAppUIStatusHasBeenSet = false;
159
160 Aws::String m_authorId;
161 bool m_authorIdHasBeenSet = false;
162
163 Aws::Utils::DateTime m_creationTime{};
164 bool m_creationTimeHasBeenSet = false;
165
166 Aws::Utils::DateTime m_lastModifiedTime{};
167 bool m_lastModifiedTimeHasBeenSet = false;
168
169 Aws::String m_lastStateChangeReason;
170 bool m_lastStateChangeReasonHasBeenSet = false;
171
172 Aws::Vector<Tag> m_tags;
173 bool m_tagsHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace EMR
178} // 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