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>
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>
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>>
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>
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>
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>
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>
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>
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>>
146 template<
typename TagsT = Tag>
147 PersistentAppUI&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
152 bool m_persistentAppUIIdHasBeenSet =
false;
155 bool m_persistentAppUITypeListHasBeenSet =
false;
158 bool m_persistentAppUIStatusHasBeenSet =
false;
161 bool m_authorIdHasBeenSet =
false;
164 bool m_creationTimeHasBeenSet =
false;
167 bool m_lastModifiedTimeHasBeenSet =
false;
170 bool m_lastStateChangeReasonHasBeenSet =
false;
173 bool m_tagsHasBeenSet =
false;
void SetPersistentAppUIStatus(PersistentAppUIStatusT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
bool PersistentAppUIStatusHasBeenSet() const
const Aws::String & GetAuthorId() const
PersistentAppUI & WithAuthorId(AuthorIdT &&value)
PersistentAppUI & WithTags(TagsT &&value)
void SetTags(TagsT &&value)
PersistentAppUI & WithLastModifiedTime(LastModifiedTimeT &&value)
PersistentAppUI & WithLastStateChangeReason(LastStateChangeReasonT &&value)
bool CreationTimeHasBeenSet() const
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)
bool LastModifiedTimeHasBeenSet() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
bool PersistentAppUIIdHasBeenSet() const
AWS_EMR_API PersistentAppUI & operator=(Aws::Utils::Json::JsonView jsonValue)
bool LastStateChangeReasonHasBeenSet() const
PersistentAppUI & WithCreationTime(CreationTimeT &&value)
const Aws::String & GetPersistentAppUIStatus() const
const Aws::String & GetPersistentAppUIId() const
const Aws::String & GetLastStateChangeReason() const
bool AuthorIdHasBeenSet() 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)
bool TagsHasBeenSet() const
PersistentAppUI & AddTags(TagsT &&value)
AWS_EMR_API PersistentAppUI()=default
void SetLastStateChangeReason(LastStateChangeReasonT &&value)
bool PersistentAppUITypeListHasBeenSet() const
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