/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an app block builder.See Also:
AWS
* API Reference
The ARN of the app block builder.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The ARN of the app block builder.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The ARN of the app block builder.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The ARN of the app block builder.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The ARN of the app block builder.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The ARN of the app block builder.
*/ inline AppBlockBuilder& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The ARN of the app block builder.
*/ inline AppBlockBuilder& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The ARN of the app block builder.
*/ inline AppBlockBuilder& WithArn(const char* value) { SetArn(value); return *this;} /** *The name of the app block builder.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the app block builder.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the app block builder.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the app block builder.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the app block builder.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the app block builder.
*/ inline AppBlockBuilder& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the app block builder.
*/ inline AppBlockBuilder& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the app block builder.
*/ inline AppBlockBuilder& WithName(const char* value) { SetName(value); return *this;} /** *The display name of the app block builder.
*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } /** *The display name of the app block builder.
*/ inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } /** *The display name of the app block builder.
*/ inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } /** *The display name of the app block builder.
*/ inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } /** *The display name of the app block builder.
*/ inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } /** *The display name of the app block builder.
*/ inline AppBlockBuilder& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *The display name of the app block builder.
*/ inline AppBlockBuilder& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** *The display name of the app block builder.
*/ inline AppBlockBuilder& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} /** *The description of the app block builder.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the app block builder.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the app block builder.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the app block builder.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the app block builder.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the app block builder.
*/ inline AppBlockBuilder& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the app block builder.
*/ inline AppBlockBuilder& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the app block builder.
*/ inline AppBlockBuilder& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The platform of the app block builder.
* WINDOWS_SERVER_2019
is the only valid value.
The platform of the app block builder.
* WINDOWS_SERVER_2019
is the only valid value.
The platform of the app block builder.
* WINDOWS_SERVER_2019
is the only valid value.
The platform of the app block builder.
* WINDOWS_SERVER_2019
is the only valid value.
The platform of the app block builder.
* WINDOWS_SERVER_2019
is the only valid value.
The platform of the app block builder.
* WINDOWS_SERVER_2019
is the only valid value.
The instance type of the app block builder.
*/ inline const Aws::String& GetInstanceType() const{ return m_instanceType; } /** *The instance type of the app block builder.
*/ inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; } /** *The instance type of the app block builder.
*/ inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; } /** *The instance type of the app block builder.
*/ inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); } /** *The instance type of the app block builder.
*/ inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); } /** *The instance type of the app block builder.
*/ inline AppBlockBuilder& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;} /** *The instance type of the app block builder.
*/ inline AppBlockBuilder& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;} /** *The instance type of the app block builder.
*/ inline AppBlockBuilder& WithInstanceType(const char* value) { SetInstanceType(value); return *this;} /** *Indicates whether default internet access is enabled for the app block * builder.
*/ inline bool GetEnableDefaultInternetAccess() const{ return m_enableDefaultInternetAccess; } /** *Indicates whether default internet access is enabled for the app block * builder.
*/ inline bool EnableDefaultInternetAccessHasBeenSet() const { return m_enableDefaultInternetAccessHasBeenSet; } /** *Indicates whether default internet access is enabled for the app block * builder.
*/ inline void SetEnableDefaultInternetAccess(bool value) { m_enableDefaultInternetAccessHasBeenSet = true; m_enableDefaultInternetAccess = value; } /** *Indicates whether default internet access is enabled for the app block * builder.
*/ inline AppBlockBuilder& WithEnableDefaultInternetAccess(bool value) { SetEnableDefaultInternetAccess(value); return *this;} /** *The ARN of the IAM role that is applied to the app block builder.
*/ inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; } /** *The ARN of the IAM role that is applied to the app block builder.
*/ inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; } /** *The ARN of the IAM role that is applied to the app block builder.
*/ inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; } /** *The ARN of the IAM role that is applied to the app block builder.
*/ inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); } /** *The ARN of the IAM role that is applied to the app block builder.
*/ inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); } /** *The ARN of the IAM role that is applied to the app block builder.
*/ inline AppBlockBuilder& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;} /** *The ARN of the IAM role that is applied to the app block builder.
*/ inline AppBlockBuilder& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;} /** *The ARN of the IAM role that is applied to the app block builder.
*/ inline AppBlockBuilder& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;} /** *The VPC configuration for the app block builder.
*/ inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; } /** *The VPC configuration for the app block builder.
*/ inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; } /** *The VPC configuration for the app block builder.
*/ inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; } /** *The VPC configuration for the app block builder.
*/ inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); } /** *The VPC configuration for the app block builder.
*/ inline AppBlockBuilder& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;} /** *The VPC configuration for the app block builder.
*/ inline AppBlockBuilder& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;} /** *The state of the app block builder.
*/ inline const AppBlockBuilderState& GetState() const{ return m_state; } /** *The state of the app block builder.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The state of the app block builder.
*/ inline void SetState(const AppBlockBuilderState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The state of the app block builder.
*/ inline void SetState(AppBlockBuilderState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The state of the app block builder.
*/ inline AppBlockBuilder& WithState(const AppBlockBuilderState& value) { SetState(value); return *this;} /** *The state of the app block builder.
*/ inline AppBlockBuilder& WithState(AppBlockBuilderState&& value) { SetState(std::move(value)); return *this;} /** *The creation time of the app block builder.
*/ inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } /** *The creation time of the app block builder.
*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *The creation time of the app block builder.
*/ inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *The creation time of the app block builder.
*/ inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *The creation time of the app block builder.
*/ inline AppBlockBuilder& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *The creation time of the app block builder.
*/ inline AppBlockBuilder& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} /** *The app block builder errors.
*/ inline const Aws::VectorThe app block builder errors.
*/ inline bool AppBlockBuilderErrorsHasBeenSet() const { return m_appBlockBuilderErrorsHasBeenSet; } /** *The app block builder errors.
*/ inline void SetAppBlockBuilderErrors(const Aws::VectorThe app block builder errors.
*/ inline void SetAppBlockBuilderErrors(Aws::VectorThe app block builder errors.
*/ inline AppBlockBuilder& WithAppBlockBuilderErrors(const Aws::VectorThe app block builder errors.
*/ inline AppBlockBuilder& WithAppBlockBuilderErrors(Aws::VectorThe app block builder errors.
*/ inline AppBlockBuilder& AddAppBlockBuilderErrors(const ResourceError& value) { m_appBlockBuilderErrorsHasBeenSet = true; m_appBlockBuilderErrors.push_back(value); return *this; } /** *The app block builder errors.
*/ inline AppBlockBuilder& AddAppBlockBuilderErrors(ResourceError&& value) { m_appBlockBuilderErrorsHasBeenSet = true; m_appBlockBuilderErrors.push_back(std::move(value)); return *this; } /** *The state change reason.
*/ inline const AppBlockBuilderStateChangeReason& GetStateChangeReason() const{ return m_stateChangeReason; } /** *The state change reason.
*/ inline bool StateChangeReasonHasBeenSet() const { return m_stateChangeReasonHasBeenSet; } /** *The state change reason.
*/ inline void SetStateChangeReason(const AppBlockBuilderStateChangeReason& value) { m_stateChangeReasonHasBeenSet = true; m_stateChangeReason = value; } /** *The state change reason.
*/ inline void SetStateChangeReason(AppBlockBuilderStateChangeReason&& value) { m_stateChangeReasonHasBeenSet = true; m_stateChangeReason = std::move(value); } /** *The state change reason.
*/ inline AppBlockBuilder& WithStateChangeReason(const AppBlockBuilderStateChangeReason& value) { SetStateChangeReason(value); return *this;} /** *The state change reason.
*/ inline AppBlockBuilder& WithStateChangeReason(AppBlockBuilderStateChangeReason&& value) { SetStateChangeReason(std::move(value)); return *this;} /** *The list of interface VPC endpoint (interface endpoint) objects. * Administrators can connect to the app block builder only through the specified * endpoints.
*/ inline const Aws::VectorThe list of interface VPC endpoint (interface endpoint) objects. * Administrators can connect to the app block builder only through the specified * endpoints.
*/ inline bool AccessEndpointsHasBeenSet() const { return m_accessEndpointsHasBeenSet; } /** *The list of interface VPC endpoint (interface endpoint) objects. * Administrators can connect to the app block builder only through the specified * endpoints.
*/ inline void SetAccessEndpoints(const Aws::VectorThe list of interface VPC endpoint (interface endpoint) objects. * Administrators can connect to the app block builder only through the specified * endpoints.
*/ inline void SetAccessEndpoints(Aws::VectorThe list of interface VPC endpoint (interface endpoint) objects. * Administrators can connect to the app block builder only through the specified * endpoints.
*/ inline AppBlockBuilder& WithAccessEndpoints(const Aws::VectorThe list of interface VPC endpoint (interface endpoint) objects. * Administrators can connect to the app block builder only through the specified * endpoints.
*/ inline AppBlockBuilder& WithAccessEndpoints(Aws::VectorThe list of interface VPC endpoint (interface endpoint) objects. * Administrators can connect to the app block builder only through the specified * endpoints.
*/ inline AppBlockBuilder& AddAccessEndpoints(const AccessEndpoint& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints.push_back(value); return *this; } /** *The list of interface VPC endpoint (interface endpoint) objects. * Administrators can connect to the app block builder only through the specified * endpoints.
*/ inline AppBlockBuilder& AddAccessEndpoints(AccessEndpoint&& value) { m_accessEndpointsHasBeenSet = true; m_accessEndpoints.push_back(std::move(value)); return *this; } private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; AppBlockBuilderPlatformType m_platform; bool m_platformHasBeenSet = false; Aws::String m_instanceType; bool m_instanceTypeHasBeenSet = false; bool m_enableDefaultInternetAccess; bool m_enableDefaultInternetAccessHasBeenSet = false; Aws::String m_iamRoleArn; bool m_iamRoleArnHasBeenSet = false; VpcConfig m_vpcConfig; bool m_vpcConfigHasBeenSet = false; AppBlockBuilderState m_state; bool m_stateHasBeenSet = false; Aws::Utils::DateTime m_createdTime; bool m_createdTimeHasBeenSet = false; Aws::Vector