7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/appstream/model/AccessEndpoint.h>
9#include <aws/appstream/model/AppBlockBuilderPlatformType.h>
10#include <aws/appstream/model/AppBlockBuilderState.h>
11#include <aws/appstream/model/AppBlockBuilderStateChangeReason.h>
12#include <aws/appstream/model/ResourceError.h>
13#include <aws/appstream/model/VpcConfig.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16#include <aws/core/utils/memory/stl/AWSVector.h>
48 template <
typename ArnT = Aws::String>
50 m_arnHasBeenSet =
true;
51 m_arn = std::forward<ArnT>(value);
53 template <
typename ArnT = Aws::String>
55 SetArn(std::forward<ArnT>(value));
66 template <
typename NameT = Aws::String>
68 m_nameHasBeenSet =
true;
69 m_name = std::forward<NameT>(value);
71 template <
typename NameT = Aws::String>
73 SetName(std::forward<NameT>(value));
84 template <
typename DisplayNameT = Aws::String>
86 m_displayNameHasBeenSet =
true;
87 m_displayName = std::forward<DisplayNameT>(value);
89 template <
typename DisplayNameT = Aws::String>
102 template <
typename DescriptionT = Aws::String>
104 m_descriptionHasBeenSet =
true;
105 m_description = std::forward<DescriptionT>(value);
107 template <
typename DescriptionT = Aws::String>
122 m_platformHasBeenSet =
true;
137 template <
typename InstanceTypeT = Aws::String>
139 m_instanceTypeHasBeenSet =
true;
140 m_instanceType = std::forward<InstanceTypeT>(value);
142 template <
typename InstanceTypeT = Aws::String>
157 m_enableDefaultInternetAccessHasBeenSet =
true;
158 m_enableDefaultInternetAccess = value;
172 template <
typename IamRoleArnT = Aws::String>
174 m_iamRoleArnHasBeenSet =
true;
175 m_iamRoleArn = std::forward<IamRoleArnT>(value);
177 template <
typename IamRoleArnT = Aws::String>
190 template <
typename VpcConfigT = VpcConfig>
192 m_vpcConfigHasBeenSet =
true;
193 m_vpcConfig = std::forward<VpcConfigT>(value);
195 template <
typename VpcConfigT = VpcConfig>
209 m_stateHasBeenSet =
true;
224 template <
typename CreatedTimeT = Aws::Utils::DateTime>
226 m_createdTimeHasBeenSet =
true;
227 m_createdTime = std::forward<CreatedTimeT>(value);
229 template <
typename CreatedTimeT = Aws::Utils::DateTime>
242 template <
typename AppBlockBuilderErrorsT = Aws::Vector<ResourceError>>
244 m_appBlockBuilderErrorsHasBeenSet =
true;
245 m_appBlockBuilderErrors = std::forward<AppBlockBuilderErrorsT>(value);
247 template <
typename AppBlockBuilderErrorsT = Aws::Vector<ResourceError>>
252 template <
typename AppBlockBuilderErrorsT = ResourceError>
254 m_appBlockBuilderErrorsHasBeenSet =
true;
255 m_appBlockBuilderErrors.emplace_back(std::forward<AppBlockBuilderErrorsT>(value));
266 template <
typename StateChangeReasonT = AppBlockBuilderStateChangeReason>
268 m_stateChangeReasonHasBeenSet =
true;
269 m_stateChangeReason = std::forward<StateChangeReasonT>(value);
271 template <
typename StateChangeReasonT = AppBlockBuilderStateChangeReason>
286 template <
typename AccessEndpo
intsT = Aws::Vector<AccessEndpo
int>>
288 m_accessEndpointsHasBeenSet =
true;
289 m_accessEndpoints = std::forward<AccessEndpointsT>(value);
291 template <
typename AccessEndpo
intsT = Aws::Vector<AccessEndpo
int>>
296 template <
typename AccessEndpo
intsT = AccessEndpo
int>
298 m_accessEndpointsHasBeenSet =
true;
299 m_accessEndpoints.emplace_back(std::forward<AccessEndpointsT>(value));
316 bool m_enableDefaultInternetAccess{
false};
320 VpcConfig m_vpcConfig;
328 AppBlockBuilderStateChangeReason m_stateChangeReason;
331 bool m_arnHasBeenSet =
false;
332 bool m_nameHasBeenSet =
false;
333 bool m_displayNameHasBeenSet =
false;
334 bool m_descriptionHasBeenSet =
false;
335 bool m_platformHasBeenSet =
false;
336 bool m_instanceTypeHasBeenSet =
false;
337 bool m_enableDefaultInternetAccessHasBeenSet =
false;
338 bool m_iamRoleArnHasBeenSet =
false;
339 bool m_vpcConfigHasBeenSet =
false;
340 bool m_stateHasBeenSet =
false;
341 bool m_createdTimeHasBeenSet =
false;
342 bool m_appBlockBuilderErrorsHasBeenSet =
false;
343 bool m_stateChangeReasonHasBeenSet =
false;
344 bool m_accessEndpointsHasBeenSet =
false;
void SetVpcConfig(VpcConfigT &&value)
void SetPlatform(AppBlockBuilderPlatformType value)
bool IamRoleArnHasBeenSet() const
void SetInstanceType(InstanceTypeT &&value)
void SetName(NameT &&value)
bool DescriptionHasBeenSet() const
AppBlockBuilder & WithVpcConfig(VpcConfigT &&value)
bool ArnHasBeenSet() const
bool StateChangeReasonHasBeenSet() const
bool AppBlockBuilderErrorsHasBeenSet() const
bool GetEnableDefaultInternetAccess() const
const Aws::String & GetDescription() const
AWS_APPSTREAM_API AppBlockBuilder & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDisplayName(DisplayNameT &&value)
AppBlockBuilder & AddAccessEndpoints(AccessEndpointsT &&value)
const Aws::Vector< ResourceError > & GetAppBlockBuilderErrors() const
void SetArn(ArnT &&value)
void SetEnableDefaultInternetAccess(bool value)
AppBlockBuilder & WithName(NameT &&value)
void SetStateChangeReason(StateChangeReasonT &&value)
AppBlockBuilder & WithCreatedTime(CreatedTimeT &&value)
const AppBlockBuilderStateChangeReason & GetStateChangeReason() const
const Aws::Utils::DateTime & GetCreatedTime() const
AppBlockBuilder & WithIamRoleArn(IamRoleArnT &&value)
void SetState(AppBlockBuilderState value)
AWS_APPSTREAM_API AppBlockBuilder()=default
AppBlockBuilder & WithEnableDefaultInternetAccess(bool value)
bool VpcConfigHasBeenSet() const
bool AccessEndpointsHasBeenSet() const
bool NameHasBeenSet() const
AppBlockBuilder & WithDisplayName(DisplayNameT &&value)
AppBlockBuilderState GetState() const
AppBlockBuilder & WithAccessEndpoints(AccessEndpointsT &&value)
AppBlockBuilder & WithInstanceType(InstanceTypeT &&value)
bool DisplayNameHasBeenSet() const
AppBlockBuilder & WithAppBlockBuilderErrors(AppBlockBuilderErrorsT &&value)
AppBlockBuilder & AddAppBlockBuilderErrors(AppBlockBuilderErrorsT &&value)
bool InstanceTypeHasBeenSet() const
AppBlockBuilder & WithArn(ArnT &&value)
bool EnableDefaultInternetAccessHasBeenSet() const
AppBlockBuilder & WithStateChangeReason(StateChangeReasonT &&value)
void SetCreatedTime(CreatedTimeT &&value)
const Aws::String & GetInstanceType() const
const VpcConfig & GetVpcConfig() const
const Aws::Vector< AccessEndpoint > & GetAccessEndpoints() const
bool PlatformHasBeenSet() const
bool CreatedTimeHasBeenSet() const
bool StateHasBeenSet() const
AppBlockBuilder & WithDescription(DescriptionT &&value)
void SetAccessEndpoints(AccessEndpointsT &&value)
AppBlockBuilder & WithState(AppBlockBuilderState value)
AWS_APPSTREAM_API AppBlockBuilder(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSTREAM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAppBlockBuilderErrors(AppBlockBuilderErrorsT &&value)
void SetDescription(DescriptionT &&value)
AppBlockBuilderPlatformType GetPlatform() const
const Aws::String & GetDisplayName() const
const Aws::String & GetIamRoleArn() const
const Aws::String & GetArn() const
void SetIamRoleArn(IamRoleArnT &&value)
AppBlockBuilder & WithPlatform(AppBlockBuilderPlatformType value)
const Aws::String & GetName() const
AppBlockBuilderPlatformType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue