7#include <aws/appstream/AppStreamRequest.h>
8#include <aws/appstream/AppStream_EXPORTS.h>
9#include <aws/appstream/model/PackagingType.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/core/utils/memory/stl/AWSString.h>
43 template <
typename NameT = Aws::String>
45 m_nameHasBeenSet =
true;
46 m_name = std::forward<NameT>(value);
48 template <
typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
61 template <
typename DescriptionT = Aws::String>
63 m_descriptionHasBeenSet =
true;
64 m_description = std::forward<DescriptionT>(value);
66 template <
typename DescriptionT = Aws::String>
79 template <
typename DisplayNameT = Aws::String>
81 m_displayNameHasBeenSet =
true;
82 m_displayName = std::forward<DisplayNameT>(value);
84 template <
typename DisplayNameT = Aws::String>
97 template <
typename SourceS3LocationT = S3Location>
99 m_sourceS3LocationHasBeenSet =
true;
100 m_sourceS3Location = std::forward<SourceS3LocationT>(value);
102 template <
typename SourceS3LocationT = S3Location>
116 template <
typename SetupScriptDetailsT = ScriptDetails>
118 m_setupScriptDetailsHasBeenSet =
true;
119 m_setupScriptDetails = std::forward<SetupScriptDetailsT>(value);
121 template <
typename SetupScriptDetailsT = ScriptDetails>
134 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
136 m_tagsHasBeenSet =
true;
137 m_tags = std::forward<TagsT>(value);
139 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
141 SetTags(std::forward<TagsT>(value));
144 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
146 m_tagsHasBeenSet =
true;
147 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
159 template <
typename PostSetupScriptDetailsT = ScriptDetails>
161 m_postSetupScriptDetailsHasBeenSet =
true;
162 m_postSetupScriptDetails = std::forward<PostSetupScriptDetailsT>(value);
164 template <
typename PostSetupScriptDetailsT = ScriptDetails>
178 m_packagingTypeHasBeenSet =
true;
179 m_packagingType = value;
202 bool m_nameHasBeenSet =
false;
203 bool m_descriptionHasBeenSet =
false;
204 bool m_displayNameHasBeenSet =
false;
205 bool m_sourceS3LocationHasBeenSet =
false;
206 bool m_setupScriptDetailsHasBeenSet =
false;
207 bool m_tagsHasBeenSet =
false;
208 bool m_postSetupScriptDetailsHasBeenSet =
false;
209 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