7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appstream/model/S3Location.h>
10#include <aws/appstream/model/ScriptDetails.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/appstream/model/PackagingType.h>
13#include <aws/appstream/model/AppBlockState.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/appstream/model/ErrorDetails.h>
59 template<
typename NameT = Aws::String>
60 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
61 template<
typename NameT = Aws::String>
71 template<
typename ArnT = Aws::String>
72 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
73 template<
typename ArnT = Aws::String>
83 template<
typename DescriptionT = Aws::String>
84 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
85 template<
typename DescriptionT = Aws::String>
95 template<
typename DisplayNameT = Aws::String>
96 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
97 template<
typename DisplayNameT = Aws::String>
107 template<
typename SourceS3LocationT = S3Location>
108 void SetSourceS3Location(SourceS3LocationT&& value) { m_sourceS3LocationHasBeenSet =
true; m_sourceS3Location = std::forward<SourceS3LocationT>(value); }
109 template<
typename SourceS3LocationT = S3Location>
120 template<
typename SetupScriptDetailsT = ScriptDetails>
121 void SetSetupScriptDetails(SetupScriptDetailsT&& value) { m_setupScriptDetailsHasBeenSet =
true; m_setupScriptDetails = std::forward<SetupScriptDetailsT>(value); }
122 template<
typename SetupScriptDetailsT = ScriptDetails>
132 template<
typename CreatedTimeT = Aws::Utils::DateTime>
133 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
134 template<
typename CreatedTimeT = Aws::Utils::DateTime>
145 template<
typename PostSetupScriptDetailsT = ScriptDetails>
146 void SetPostSetupScriptDetails(PostSetupScriptDetailsT&& value) { m_postSetupScriptDetailsHasBeenSet =
true; m_postSetupScriptDetails = std::forward<PostSetupScriptDetailsT>(value); }
147 template<
typename PostSetupScriptDetailsT = ScriptDetails>
182 template<
typename AppBlockErrorsT = Aws::Vector<ErrorDetails>>
183 void SetAppBlockErrors(AppBlockErrorsT&& value) { m_appBlockErrorsHasBeenSet =
true; m_appBlockErrors = std::forward<AppBlockErrorsT>(value); }
184 template<
typename AppBlockErrorsT = Aws::Vector<ErrorDetails>>
186 template<
typename AppBlockErrorsT = ErrorDetails>
187 AppBlock&
AddAppBlockErrors(AppBlockErrorsT&& value) { m_appBlockErrorsHasBeenSet =
true; m_appBlockErrors.emplace_back(std::forward<AppBlockErrorsT>(value));
return *
this; }
192 bool m_nameHasBeenSet =
false;
195 bool m_arnHasBeenSet =
false;
198 bool m_descriptionHasBeenSet =
false;
201 bool m_displayNameHasBeenSet =
false;
204 bool m_sourceS3LocationHasBeenSet =
false;
207 bool m_setupScriptDetailsHasBeenSet =
false;
210 bool m_createdTimeHasBeenSet =
false;
212 ScriptDetails m_postSetupScriptDetails;
213 bool m_postSetupScriptDetailsHasBeenSet =
false;
216 bool m_packagingTypeHasBeenSet =
false;
219 bool m_stateHasBeenSet =
false;
222 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