7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/appstream/AppStreamRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appstream/model/S3Location.h>
11#include <aws/appstream/model/ScriptDetails.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/appstream/model/PackagingType.h>
47 template<
typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
49 template<
typename NameT = Aws::String>
59 template<
typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
61 template<
typename DescriptionT = Aws::String>
71 template<
typename DisplayNameT = Aws::String>
72 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
73 template<
typename DisplayNameT = Aws::String>
83 template<
typename SourceS3LocationT = S3Location>
84 void SetSourceS3Location(SourceS3LocationT&& value) { m_sourceS3LocationHasBeenSet =
true; m_sourceS3Location = std::forward<SourceS3LocationT>(value); }
85 template<
typename SourceS3LocationT = S3Location>
96 template<
typename SetupScriptDetailsT = ScriptDetails>
97 void SetSetupScriptDetails(SetupScriptDetailsT&& value) { m_setupScriptDetailsHasBeenSet =
true; m_setupScriptDetails = std::forward<SetupScriptDetailsT>(value); }
98 template<
typename SetupScriptDetailsT = ScriptDetails>
108 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
109 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
110 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
112 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
114 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
125 template<
typename PostSetupScriptDetailsT = ScriptDetails>
126 void SetPostSetupScriptDetails(PostSetupScriptDetailsT&& value) { m_postSetupScriptDetailsHasBeenSet =
true; m_postSetupScriptDetails = std::forward<PostSetupScriptDetailsT>(value); }
127 template<
typename PostSetupScriptDetailsT = ScriptDetails>
143 bool m_nameHasBeenSet =
false;
146 bool m_descriptionHasBeenSet =
false;
149 bool m_displayNameHasBeenSet =
false;
152 bool m_sourceS3LocationHasBeenSet =
false;
155 bool m_setupScriptDetailsHasBeenSet =
false;
158 bool m_tagsHasBeenSet =
false;
161 bool m_postSetupScriptDetailsHasBeenSet =
false;
164 bool m_packagingTypeHasBeenSet =
false;
CreateAppBlockRequest & WithName(NameT &&value)
CreateAppBlockRequest & WithPostSetupScriptDetails(PostSetupScriptDetailsT &&value)
AWS_APPSTREAM_API CreateAppBlockRequest()=default
const ScriptDetails & GetSetupScriptDetails() const
virtual const char * GetServiceRequestName() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool SetupScriptDetailsHasBeenSet() const
void SetPackagingType(PackagingType value)
bool NameHasBeenSet() const
void SetDisplayName(DisplayNameT &&value)
bool SourceS3LocationHasBeenSet() const
CreateAppBlockRequest & WithPackagingType(PackagingType value)
CreateAppBlockRequest & WithTags(TagsT &&value)
const S3Location & GetSourceS3Location() const
const Aws::String & GetName() const
void SetName(NameT &&value)
const Aws::String & GetDescription() const
void SetSetupScriptDetails(SetupScriptDetailsT &&value)
void SetDescription(DescriptionT &&value)
CreateAppBlockRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_APPSTREAM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool PostSetupScriptDetailsHasBeenSet() const
void SetSourceS3Location(SourceS3LocationT &&value)
CreateAppBlockRequest & WithDisplayName(DisplayNameT &&value)
CreateAppBlockRequest & WithDescription(DescriptionT &&value)
PackagingType GetPackagingType() const
AWS_APPSTREAM_API Aws::String SerializePayload() const override
bool PackagingTypeHasBeenSet() const
bool DescriptionHasBeenSet() const
CreateAppBlockRequest & WithSetupScriptDetails(SetupScriptDetailsT &&value)
bool TagsHasBeenSet() const
void SetTags(TagsT &&value)
const Aws::String & GetDisplayName() const
const ScriptDetails & GetPostSetupScriptDetails() const
bool DisplayNameHasBeenSet() const
CreateAppBlockRequest & WithSourceS3Location(SourceS3LocationT &&value)
void SetPostSetupScriptDetails(PostSetupScriptDetailsT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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