7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/appstream/model/AppBlockState.h>
9#include <aws/appstream/model/ErrorDetails.h>
10#include <aws/appstream/model/PackagingType.h>
11#include <aws/appstream/model/S3Location.h>
12#include <aws/appstream/model/ScriptDetails.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
53 template <
typename NameT = Aws::String>
55 m_nameHasBeenSet =
true;
56 m_name = std::forward<NameT>(value);
58 template <
typename NameT = Aws::String>
60 SetName(std::forward<NameT>(value));
71 template <
typename ArnT = Aws::String>
73 m_arnHasBeenSet =
true;
74 m_arn = std::forward<ArnT>(value);
76 template <
typename ArnT = Aws::String>
78 SetArn(std::forward<ArnT>(value));
89 template <
typename DescriptionT = Aws::String>
91 m_descriptionHasBeenSet =
true;
92 m_description = std::forward<DescriptionT>(value);
94 template <
typename DescriptionT = Aws::String>
107 template <
typename DisplayNameT = Aws::String>
109 m_displayNameHasBeenSet =
true;
110 m_displayName = std::forward<DisplayNameT>(value);
112 template <
typename DisplayNameT = Aws::String>
125 template <
typename SourceS3LocationT = S3Location>
127 m_sourceS3LocationHasBeenSet =
true;
128 m_sourceS3Location = std::forward<SourceS3LocationT>(value);
130 template <
typename SourceS3LocationT = S3Location>
144 template <
typename SetupScriptDetailsT = ScriptDetails>
146 m_setupScriptDetailsHasBeenSet =
true;
147 m_setupScriptDetails = std::forward<SetupScriptDetailsT>(value);
149 template <
typename SetupScriptDetailsT = ScriptDetails>
162 template <
typename CreatedTimeT = Aws::Utils::DateTime>
164 m_createdTimeHasBeenSet =
true;
165 m_createdTime = std::forward<CreatedTimeT>(value);
167 template <
typename CreatedTimeT = Aws::Utils::DateTime>
181 template <
typename PostSetupScriptDetailsT = ScriptDetails>
183 m_postSetupScriptDetailsHasBeenSet =
true;
184 m_postSetupScriptDetails = std::forward<PostSetupScriptDetailsT>(value);
186 template <
typename PostSetupScriptDetailsT = ScriptDetails>
200 m_packagingTypeHasBeenSet =
true;
201 m_packagingType = value;
221 m_stateHasBeenSet =
true;
236 template <
typename AppBlockErrorsT = Aws::Vector<ErrorDetails>>
238 m_appBlockErrorsHasBeenSet =
true;
239 m_appBlockErrors = std::forward<AppBlockErrorsT>(value);
241 template <
typename AppBlockErrorsT = Aws::Vector<ErrorDetails>>
246 template <
typename AppBlockErrorsT = ErrorDetails>
248 m_appBlockErrorsHasBeenSet =
true;
249 m_appBlockErrors.emplace_back(std::forward<AppBlockErrorsT>(value));
268 ScriptDetails m_postSetupScriptDetails;
275 bool m_nameHasBeenSet =
false;
276 bool m_arnHasBeenSet =
false;
277 bool m_descriptionHasBeenSet =
false;
278 bool m_displayNameHasBeenSet =
false;
279 bool m_sourceS3LocationHasBeenSet =
false;
280 bool m_setupScriptDetailsHasBeenSet =
false;
281 bool m_createdTimeHasBeenSet =
false;
282 bool m_postSetupScriptDetailsHasBeenSet =
false;
283 bool m_packagingTypeHasBeenSet =
false;
284 bool m_stateHasBeenSet =
false;
285 bool m_appBlockErrorsHasBeenSet =
false;
void SetPostSetupScriptDetails(PostSetupScriptDetailsT &&value)
AppBlock & WithPackagingType(PackagingType value)
PackagingType GetPackagingType() const
bool CreatedTimeHasBeenSet() const
AWS_APPSTREAM_API AppBlock()=default
const Aws::Vector< ErrorDetails > & GetAppBlockErrors() const
AppBlock & WithDisplayName(DisplayNameT &&value)
void SetDisplayName(DisplayNameT &&value)
const Aws::String & GetDescription() const
void SetAppBlockErrors(AppBlockErrorsT &&value)
bool DescriptionHasBeenSet() const
AppBlock & WithCreatedTime(CreatedTimeT &&value)
const ScriptDetails & GetSetupScriptDetails() const
AppBlock & WithSourceS3Location(SourceS3LocationT &&value)
AWS_APPSTREAM_API AppBlock & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AppBlockErrorsHasBeenSet() const
bool SourceS3LocationHasBeenSet() const
void SetCreatedTime(CreatedTimeT &&value)
AppBlock & WithState(AppBlockState value)
const S3Location & GetSourceS3Location() const
AppBlock & WithDescription(DescriptionT &&value)
bool SetupScriptDetailsHasBeenSet() const
bool DisplayNameHasBeenSet() const
const Aws::String & GetName() const
AppBlock & WithAppBlockErrors(AppBlockErrorsT &&value)
bool ArnHasBeenSet() const
AppBlockState GetState() const
void SetDescription(DescriptionT &&value)
AWS_APPSTREAM_API AppBlock(Aws::Utils::Json::JsonView jsonValue)
const ScriptDetails & GetPostSetupScriptDetails() const
AppBlock & WithPostSetupScriptDetails(PostSetupScriptDetailsT &&value)
void SetState(AppBlockState value)
void SetSourceS3Location(SourceS3LocationT &&value)
bool PackagingTypeHasBeenSet() const
void SetSetupScriptDetails(SetupScriptDetailsT &&value)
bool PostSetupScriptDetailsHasBeenSet() const
AppBlock & AddAppBlockErrors(AppBlockErrorsT &&value)
const Aws::String & GetArn() const
const Aws::Utils::DateTime & GetCreatedTime() const
void SetPackagingType(PackagingType value)
void SetName(NameT &&value)
bool NameHasBeenSet() const
AppBlock & WithArn(ArnT &&value)
void SetArn(ArnT &&value)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
AppBlock & WithSetupScriptDetails(SetupScriptDetailsT &&value)
AppBlock & WithName(NameT &&value)
bool StateHasBeenSet() const
const Aws::String & GetDisplayName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue