/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MigrationHubRefactorSpaces { namespace Model { /** *

The list of ApplicationSummary objects.

See * Also:

AWS * API Reference

*/ class ApplicationSummary { public: AWS_MIGRATIONHUBREFACTORSPACES_API ApplicationSummary(); AWS_MIGRATIONHUBREFACTORSPACES_API ApplicationSummary(Aws::Utils::Json::JsonView jsonValue); AWS_MIGRATIONHUBREFACTORSPACES_API ApplicationSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MIGRATIONHUBREFACTORSPACES_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The endpoint URL of the Amazon API Gateway proxy.

*/ inline const ApiGatewayProxySummary& GetApiGatewayProxy() const{ return m_apiGatewayProxy; } /** *

The endpoint URL of the Amazon API Gateway proxy.

*/ inline bool ApiGatewayProxyHasBeenSet() const { return m_apiGatewayProxyHasBeenSet; } /** *

The endpoint URL of the Amazon API Gateway proxy.

*/ inline void SetApiGatewayProxy(const ApiGatewayProxySummary& value) { m_apiGatewayProxyHasBeenSet = true; m_apiGatewayProxy = value; } /** *

The endpoint URL of the Amazon API Gateway proxy.

*/ inline void SetApiGatewayProxy(ApiGatewayProxySummary&& value) { m_apiGatewayProxyHasBeenSet = true; m_apiGatewayProxy = std::move(value); } /** *

The endpoint URL of the Amazon API Gateway proxy.

*/ inline ApplicationSummary& WithApiGatewayProxy(const ApiGatewayProxySummary& value) { SetApiGatewayProxy(value); return *this;} /** *

The endpoint URL of the Amazon API Gateway proxy.

*/ inline ApplicationSummary& WithApiGatewayProxy(ApiGatewayProxySummary&& value) { SetApiGatewayProxy(std::move(value)); return *this;} /** *

The unique identifier of the application.

*/ inline const Aws::String& GetApplicationId() const{ return m_applicationId; } /** *

The unique identifier of the application.

*/ inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } /** *

The unique identifier of the application.

*/ inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } /** *

The unique identifier of the application.

*/ inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } /** *

The unique identifier of the application.

*/ inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } /** *

The unique identifier of the application.

*/ inline ApplicationSummary& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} /** *

The unique identifier of the application.

*/ inline ApplicationSummary& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} /** *

The unique identifier of the application.

*/ inline ApplicationSummary& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} /** *

The Amazon Resource Name (ARN) of the application.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) of the application.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the application.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The Amazon Resource Name (ARN) of the application.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the application.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) of the application.

*/ inline ApplicationSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the application.

*/ inline ApplicationSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the application.

*/ inline ApplicationSummary& WithArn(const char* value) { SetArn(value); return *this;} /** *

The Amazon Web Services account ID of the application creator.

*/ inline const Aws::String& GetCreatedByAccountId() const{ return m_createdByAccountId; } /** *

The Amazon Web Services account ID of the application creator.

*/ inline bool CreatedByAccountIdHasBeenSet() const { return m_createdByAccountIdHasBeenSet; } /** *

The Amazon Web Services account ID of the application creator.

*/ inline void SetCreatedByAccountId(const Aws::String& value) { m_createdByAccountIdHasBeenSet = true; m_createdByAccountId = value; } /** *

The Amazon Web Services account ID of the application creator.

*/ inline void SetCreatedByAccountId(Aws::String&& value) { m_createdByAccountIdHasBeenSet = true; m_createdByAccountId = std::move(value); } /** *

The Amazon Web Services account ID of the application creator.

*/ inline void SetCreatedByAccountId(const char* value) { m_createdByAccountIdHasBeenSet = true; m_createdByAccountId.assign(value); } /** *

The Amazon Web Services account ID of the application creator.

*/ inline ApplicationSummary& WithCreatedByAccountId(const Aws::String& value) { SetCreatedByAccountId(value); return *this;} /** *

The Amazon Web Services account ID of the application creator.

*/ inline ApplicationSummary& WithCreatedByAccountId(Aws::String&& value) { SetCreatedByAccountId(std::move(value)); return *this;} /** *

The Amazon Web Services account ID of the application creator.

*/ inline ApplicationSummary& WithCreatedByAccountId(const char* value) { SetCreatedByAccountId(value); return *this;} /** *

A timestamp that indicates when the application is created.

*/ inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } /** *

A timestamp that indicates when the application is created.

*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *

A timestamp that indicates when the application is created.

*/ inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *

A timestamp that indicates when the application is created.

*/ inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *

A timestamp that indicates when the application is created.

*/ inline ApplicationSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *

A timestamp that indicates when the application is created.

*/ inline ApplicationSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} /** *

The unique identifier of the environment.

*/ inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } /** *

The unique identifier of the environment.

*/ inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; } /** *

The unique identifier of the environment.

*/ inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; } /** *

The unique identifier of the environment.

*/ inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); } /** *

The unique identifier of the environment.

*/ inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); } /** *

The unique identifier of the environment.

*/ inline ApplicationSummary& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} /** *

The unique identifier of the environment.

*/ inline ApplicationSummary& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} /** *

The unique identifier of the environment.

*/ inline ApplicationSummary& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} /** *

Any error associated with the application resource.

*/ inline const ErrorResponse& GetError() const{ return m_error; } /** *

Any error associated with the application resource.

*/ inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } /** *

Any error associated with the application resource.

*/ inline void SetError(const ErrorResponse& value) { m_errorHasBeenSet = true; m_error = value; } /** *

Any error associated with the application resource.

*/ inline void SetError(ErrorResponse&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } /** *

Any error associated with the application resource.

*/ inline ApplicationSummary& WithError(const ErrorResponse& value) { SetError(value); return *this;} /** *

Any error associated with the application resource.

*/ inline ApplicationSummary& WithError(ErrorResponse&& value) { SetError(std::move(value)); return *this;} /** *

A timestamp that indicates when the application was last updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } /** *

A timestamp that indicates when the application was last updated.

*/ inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; } /** *

A timestamp that indicates when the application was last updated.

*/ inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; } /** *

A timestamp that indicates when the application was last updated.

*/ inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); } /** *

A timestamp that indicates when the application was last updated.

*/ inline ApplicationSummary& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;} /** *

A timestamp that indicates when the application was last updated.

*/ inline ApplicationSummary& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;} /** *

The name of the application.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the application.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the application.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the application.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the application.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the application.

*/ inline ApplicationSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the application.

*/ inline ApplicationSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the application.

*/ inline ApplicationSummary& WithName(const char* value) { SetName(value); return *this;} /** *

The Amazon Web Services account ID of the application owner (which is always * the same as the environment owner account ID).

*/ inline const Aws::String& GetOwnerAccountId() const{ return m_ownerAccountId; } /** *

The Amazon Web Services account ID of the application owner (which is always * the same as the environment owner account ID).

*/ inline bool OwnerAccountIdHasBeenSet() const { return m_ownerAccountIdHasBeenSet; } /** *

The Amazon Web Services account ID of the application owner (which is always * the same as the environment owner account ID).

*/ inline void SetOwnerAccountId(const Aws::String& value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId = value; } /** *

The Amazon Web Services account ID of the application owner (which is always * the same as the environment owner account ID).

*/ inline void SetOwnerAccountId(Aws::String&& value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId = std::move(value); } /** *

The Amazon Web Services account ID of the application owner (which is always * the same as the environment owner account ID).

*/ inline void SetOwnerAccountId(const char* value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId.assign(value); } /** *

The Amazon Web Services account ID of the application owner (which is always * the same as the environment owner account ID).

*/ inline ApplicationSummary& WithOwnerAccountId(const Aws::String& value) { SetOwnerAccountId(value); return *this;} /** *

The Amazon Web Services account ID of the application owner (which is always * the same as the environment owner account ID).

*/ inline ApplicationSummary& WithOwnerAccountId(Aws::String&& value) { SetOwnerAccountId(std::move(value)); return *this;} /** *

The Amazon Web Services account ID of the application owner (which is always * the same as the environment owner account ID).

*/ inline ApplicationSummary& WithOwnerAccountId(const char* value) { SetOwnerAccountId(value); return *this;} /** *

The proxy type of the proxy created within the application.

*/ inline const ProxyType& GetProxyType() const{ return m_proxyType; } /** *

The proxy type of the proxy created within the application.

*/ inline bool ProxyTypeHasBeenSet() const { return m_proxyTypeHasBeenSet; } /** *

The proxy type of the proxy created within the application.

*/ inline void SetProxyType(const ProxyType& value) { m_proxyTypeHasBeenSet = true; m_proxyType = value; } /** *

The proxy type of the proxy created within the application.

*/ inline void SetProxyType(ProxyType&& value) { m_proxyTypeHasBeenSet = true; m_proxyType = std::move(value); } /** *

The proxy type of the proxy created within the application.

*/ inline ApplicationSummary& WithProxyType(const ProxyType& value) { SetProxyType(value); return *this;} /** *

The proxy type of the proxy created within the application.

*/ inline ApplicationSummary& WithProxyType(ProxyType&& value) { SetProxyType(std::move(value)); return *this;} /** *

The current state of the application.

*/ inline const ApplicationState& GetState() const{ return m_state; } /** *

The current state of the application.

*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *

The current state of the application.

*/ inline void SetState(const ApplicationState& value) { m_stateHasBeenSet = true; m_state = value; } /** *

The current state of the application.

*/ inline void SetState(ApplicationState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *

The current state of the application.

*/ inline ApplicationSummary& WithState(const ApplicationState& value) { SetState(value); return *this;} /** *

The current state of the application.

*/ inline ApplicationSummary& WithState(ApplicationState&& value) { SetState(std::move(value)); return *this;} /** *

The tags assigned to the application.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

The tags assigned to the application.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

The tags assigned to the application.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

The tags assigned to the application.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

The tags assigned to the application.

*/ inline ApplicationSummary& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The tags assigned to the application.

*/ inline ApplicationSummary& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The tags assigned to the application.

*/ inline ApplicationSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

The tags assigned to the application.

*/ inline ApplicationSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The tags assigned to the application.

*/ inline ApplicationSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags assigned to the application.

*/ inline ApplicationSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The tags assigned to the application.

*/ inline ApplicationSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags assigned to the application.

*/ inline ApplicationSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The tags assigned to the application.

*/ inline ApplicationSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

The ID of the virtual private cloud (VPC).

*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *

The ID of the virtual private cloud (VPC).

*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *

The ID of the virtual private cloud (VPC).

*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *

The ID of the virtual private cloud (VPC).

*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *

The ID of the virtual private cloud (VPC).

*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *

The ID of the virtual private cloud (VPC).

*/ inline ApplicationSummary& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *

The ID of the virtual private cloud (VPC).

*/ inline ApplicationSummary& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *

The ID of the virtual private cloud (VPC).

*/ inline ApplicationSummary& WithVpcId(const char* value) { SetVpcId(value); return *this;} private: ApiGatewayProxySummary m_apiGatewayProxy; bool m_apiGatewayProxyHasBeenSet = false; Aws::String m_applicationId; bool m_applicationIdHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_createdByAccountId; bool m_createdByAccountIdHasBeenSet = false; Aws::Utils::DateTime m_createdTime; bool m_createdTimeHasBeenSet = false; Aws::String m_environmentId; bool m_environmentIdHasBeenSet = false; ErrorResponse m_error; bool m_errorHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedTime; bool m_lastUpdatedTimeHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_ownerAccountId; bool m_ownerAccountIdHasBeenSet = false; ProxyType m_proxyType; bool m_proxyTypeHasBeenSet = false; ApplicationState m_state; bool m_stateHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; Aws::String m_vpcId; bool m_vpcIdHasBeenSet = false; }; } // namespace Model } // namespace MigrationHubRefactorSpaces } // namespace Aws