7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/appstream/model/ErrorDetails.h>
9#include <aws/appstream/model/ExportImageTaskState.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
47 template <
typename TaskIdT = Aws::String>
49 m_taskIdHasBeenSet =
true;
50 m_taskId = std::forward<TaskIdT>(value);
52 template <
typename TaskIdT = Aws::String>
65 template <
typename ImageArnT = Aws::String>
67 m_imageArnHasBeenSet =
true;
68 m_imageArn = std::forward<ImageArnT>(value);
70 template <
typename ImageArnT = Aws::String>
83 template <
typename AmiNameT = Aws::String>
85 m_amiNameHasBeenSet =
true;
86 m_amiName = std::forward<AmiNameT>(value);
88 template <
typename AmiNameT = Aws::String>
101 template <
typename CreatedDateT = Aws::Utils::DateTime>
103 m_createdDateHasBeenSet =
true;
104 m_createdDate = std::forward<CreatedDateT>(value);
106 template <
typename CreatedDateT = Aws::Utils::DateTime>
119 template <
typename AmiDescriptionT = Aws::String>
121 m_amiDescriptionHasBeenSet =
true;
122 m_amiDescription = std::forward<AmiDescriptionT>(value);
124 template <
typename AmiDescriptionT = Aws::String>
139 m_stateHasBeenSet =
true;
155 template <
typename AmiIdT = Aws::String>
157 m_amiIdHasBeenSet =
true;
158 m_amiId = std::forward<AmiIdT>(value);
160 template <
typename AmiIdT = Aws::String>
162 SetAmiId(std::forward<AmiIdT>(value));
173 template <
typename TagSpecificationsT = Aws::Map<Aws::String, Aws::String>>
175 m_tagSpecificationsHasBeenSet =
true;
176 m_tagSpecifications = std::forward<TagSpecificationsT>(value);
178 template <
typename TagSpecificationsT = Aws::Map<Aws::String, Aws::String>>
183 template <
typename TagSpecificationsKeyT = Aws::String,
typename TagSpecificationsValueT = Aws::String>
185 m_tagSpecificationsHasBeenSet =
true;
186 m_tagSpecifications.emplace(std::forward<TagSpecificationsKeyT>(key), std::forward<TagSpecificationsValueT>(value));
198 template <
typename ErrorDetailsT = Aws::Vector<ErrorDetails>>
200 m_errorDetailsHasBeenSet =
true;
201 m_errorDetails = std::forward<ErrorDetailsT>(value);
203 template <
typename ErrorDetailsT = Aws::Vector<ErrorDetails>>
208 template <
typename ErrorDetailsT = ErrorDetails>
210 m_errorDetailsHasBeenSet =
true;
211 m_errorDetails.emplace_back(std::forward<ErrorDetailsT>(value));
233 bool m_taskIdHasBeenSet =
false;
234 bool m_imageArnHasBeenSet =
false;
235 bool m_amiNameHasBeenSet =
false;
236 bool m_createdDateHasBeenSet =
false;
237 bool m_amiDescriptionHasBeenSet =
false;
238 bool m_stateHasBeenSet =
false;
239 bool m_amiIdHasBeenSet =
false;
240 bool m_tagSpecificationsHasBeenSet =
false;
241 bool m_errorDetailsHasBeenSet =
false;
bool TaskIdHasBeenSet() const
void SetTaskId(TaskIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTagSpecifications() const
bool CreatedDateHasBeenSet() const
ExportImageTask & WithCreatedDate(CreatedDateT &&value)
AWS_APPSTREAM_API ExportImageTask & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedDate() const
const Aws::String & GetTaskId() const
ExportImageTask & WithAmiId(AmiIdT &&value)
void SetTagSpecifications(TagSpecificationsT &&value)
ExportImageTask & WithAmiName(AmiNameT &&value)
ExportImageTask & AddTagSpecifications(TagSpecificationsKeyT &&key, TagSpecificationsValueT &&value)
const Aws::String & GetAmiId() const
bool AmiDescriptionHasBeenSet() const
bool AmiNameHasBeenSet() const
void SetCreatedDate(CreatedDateT &&value)
ExportImageTaskState GetState() const
void SetAmiDescription(AmiDescriptionT &&value)
bool ErrorDetailsHasBeenSet() const
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAmiDescription() const
void SetAmiName(AmiNameT &&value)
AWS_APPSTREAM_API ExportImageTask(Aws::Utils::Json::JsonView jsonValue)
void SetErrorDetails(ErrorDetailsT &&value)
const Aws::String & GetAmiName() const
const Aws::String & GetImageArn() const
ExportImageTask & WithState(ExportImageTaskState value)
ExportImageTask & WithTagSpecifications(TagSpecificationsT &&value)
bool AmiIdHasBeenSet() const
ExportImageTask & WithAmiDescription(AmiDescriptionT &&value)
void SetState(ExportImageTaskState value)
bool TagSpecificationsHasBeenSet() const
ExportImageTask & AddErrorDetails(ErrorDetailsT &&value)
const Aws::Vector< ErrorDetails > & GetErrorDetails() const
bool ImageArnHasBeenSet() const
ExportImageTask & WithImageArn(ImageArnT &&value)
ExportImageTask & WithErrorDetails(ErrorDetailsT &&value)
bool StateHasBeenSet() const
ExportImageTask & WithTaskId(TaskIdT &&value)
void SetImageArn(ImageArnT &&value)
void SetAmiId(AmiIdT &&value)
AWS_APPSTREAM_API ExportImageTask()=default
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue