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>
61 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
74 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
75 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
89 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
103 inline void SetDisplayName(
const char* value) { m_displayNameHasBeenSet =
true; m_displayName.assign(value); }
204 bool m_nameHasBeenSet =
false;
207 bool m_arnHasBeenSet =
false;
210 bool m_descriptionHasBeenSet =
false;
213 bool m_displayNameHasBeenSet =
false;
216 bool m_sourceS3LocationHasBeenSet =
false;
219 bool m_setupScriptDetailsHasBeenSet =
false;
222 bool m_createdTimeHasBeenSet =
false;
225 bool m_postSetupScriptDetailsHasBeenSet =
false;
228 bool m_packagingTypeHasBeenSet =
false;
231 bool m_stateHasBeenSet =
false;
234 bool m_appBlockErrorsHasBeenSet =
false;
void SetState(const AppBlockState &value)
AppBlock & WithArn(Aws::String &&value)
void SetState(AppBlockState &&value)
void SetName(const Aws::String &value)
AppBlock & WithDescription(const char *value)
const PackagingType & GetPackagingType() const
AWS_APPSTREAM_API AppBlock()
AppBlock & WithPostSetupScriptDetails(ScriptDetails &&value)
void SetSetupScriptDetails(const ScriptDetails &value)
bool CreatedTimeHasBeenSet() const
AppBlock & WithName(Aws::String &&value)
AppBlock & WithSetupScriptDetails(ScriptDetails &&value)
void SetSourceS3Location(S3Location &&value)
const Aws::Vector< ErrorDetails > & GetAppBlockErrors() const
const Aws::String & GetDescription() const
bool DescriptionHasBeenSet() const
AppBlock & WithPostSetupScriptDetails(const ScriptDetails &value)
AppBlock & WithDisplayName(const Aws::String &value)
void SetSourceS3Location(const S3Location &value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
void SetDisplayName(const Aws::String &value)
void SetPackagingType(PackagingType &&value)
const ScriptDetails & GetSetupScriptDetails() const
AWS_APPSTREAM_API AppBlock & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AppBlockErrorsHasBeenSet() const
bool SourceS3LocationHasBeenSet() const
void SetArn(const Aws::String &value)
AppBlock & WithCreatedTime(Aws::Utils::DateTime &&value)
AppBlock & WithSetupScriptDetails(const ScriptDetails &value)
AppBlock & WithCreatedTime(const Aws::Utils::DateTime &value)
void SetPackagingType(const PackagingType &value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
AppBlock & AddAppBlockErrors(const ErrorDetails &value)
const S3Location & GetSourceS3Location() const
AppBlock & WithState(const AppBlockState &value)
bool SetupScriptDetailsHasBeenSet() const
void SetDescription(Aws::String &&value)
bool DisplayNameHasBeenSet() const
const Aws::String & GetName() const
bool ArnHasBeenSet() const
AppBlock & AddAppBlockErrors(ErrorDetails &&value)
void SetAppBlockErrors(Aws::Vector< ErrorDetails > &&value)
AppBlock & WithDisplayName(const char *value)
AppBlock & WithSourceS3Location(S3Location &&value)
AWS_APPSTREAM_API AppBlock(Aws::Utils::Json::JsonView jsonValue)
const ScriptDetails & GetPostSetupScriptDetails() const
AppBlock & WithDescription(Aws::String &&value)
void SetArn(const char *value)
bool PackagingTypeHasBeenSet() const
const AppBlockState & GetState() const
AppBlock & WithName(const char *value)
void SetSetupScriptDetails(ScriptDetails &&value)
void SetPostSetupScriptDetails(const ScriptDetails &value)
bool PostSetupScriptDetailsHasBeenSet() const
void SetArn(Aws::String &&value)
void SetAppBlockErrors(const Aws::Vector< ErrorDetails > &value)
AppBlock & WithSourceS3Location(const S3Location &value)
void SetDescription(const Aws::String &value)
AppBlock & WithPackagingType(PackagingType &&value)
AppBlock & WithPackagingType(const PackagingType &value)
AppBlock & WithState(AppBlockState &&value)
void SetName(Aws::String &&value)
AppBlock & WithName(const Aws::String &value)
void SetName(const char *value)
const Aws::String & GetArn() const
AppBlock & WithAppBlockErrors(Aws::Vector< ErrorDetails > &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
AppBlock & WithArn(const Aws::String &value)
bool NameHasBeenSet() const
void SetPostSetupScriptDetails(ScriptDetails &&value)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
AppBlock & WithDisplayName(Aws::String &&value)
AppBlock & WithAppBlockErrors(const Aws::Vector< ErrorDetails > &value)
AppBlock & WithDescription(const Aws::String &value)
void SetDescription(const char *value)
void SetDisplayName(Aws::String &&value)
bool StateHasBeenSet() const
AppBlock & WithArn(const char *value)
const Aws::String & GetDisplayName() const
void SetDisplayName(const char *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