/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A summary for the service as a response to ListServices
.
* See Also:
AWS
* API Reference
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 ServiceSummary& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} /** *The unique identifier of the application.
*/ inline ServiceSummary& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} /** *The unique identifier of the application.
*/ inline ServiceSummary& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} /** *The Amazon Resource Name (ARN) of the service.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the service.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the service.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the service.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the service.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the service.
*/ inline ServiceSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the service.
*/ inline ServiceSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the service.
*/ inline ServiceSummary& WithArn(const char* value) { SetArn(value); return *this;} /** *The Amazon Web Services account ID of the service creator.
*/ inline const Aws::String& GetCreatedByAccountId() const{ return m_createdByAccountId; } /** *The Amazon Web Services account ID of the service creator.
*/ inline bool CreatedByAccountIdHasBeenSet() const { return m_createdByAccountIdHasBeenSet; } /** *The Amazon Web Services account ID of the service creator.
*/ inline void SetCreatedByAccountId(const Aws::String& value) { m_createdByAccountIdHasBeenSet = true; m_createdByAccountId = value; } /** *The Amazon Web Services account ID of the service creator.
*/ inline void SetCreatedByAccountId(Aws::String&& value) { m_createdByAccountIdHasBeenSet = true; m_createdByAccountId = std::move(value); } /** *The Amazon Web Services account ID of the service creator.
*/ inline void SetCreatedByAccountId(const char* value) { m_createdByAccountIdHasBeenSet = true; m_createdByAccountId.assign(value); } /** *The Amazon Web Services account ID of the service creator.
*/ inline ServiceSummary& WithCreatedByAccountId(const Aws::String& value) { SetCreatedByAccountId(value); return *this;} /** *The Amazon Web Services account ID of the service creator.
*/ inline ServiceSummary& WithCreatedByAccountId(Aws::String&& value) { SetCreatedByAccountId(std::move(value)); return *this;} /** *The Amazon Web Services account ID of the service creator.
*/ inline ServiceSummary& WithCreatedByAccountId(const char* value) { SetCreatedByAccountId(value); return *this;} /** *A timestamp that indicates when the service is created.
*/ inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; } /** *A timestamp that indicates when the service is created.
*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *A timestamp that indicates when the service is created.
*/ inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *A timestamp that indicates when the service is created.
*/ inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *A timestamp that indicates when the service is created.
*/ inline ServiceSummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;} /** *A timestamp that indicates when the service is created.
*/ inline ServiceSummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;} /** *A description of the service.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description of the service.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description of the service.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description of the service.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description of the service.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description of the service.
*/ inline ServiceSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description of the service.
*/ inline ServiceSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description of the service.
*/ inline ServiceSummary& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The endpoint type of the service.
*/ inline const ServiceEndpointType& GetEndpointType() const{ return m_endpointType; } /** *The endpoint type of the service.
*/ inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; } /** *The endpoint type of the service.
*/ inline void SetEndpointType(const ServiceEndpointType& value) { m_endpointTypeHasBeenSet = true; m_endpointType = value; } /** *The endpoint type of the service.
*/ inline void SetEndpointType(ServiceEndpointType&& value) { m_endpointTypeHasBeenSet = true; m_endpointType = std::move(value); } /** *The endpoint type of the service.
*/ inline ServiceSummary& WithEndpointType(const ServiceEndpointType& value) { SetEndpointType(value); return *this;} /** *The endpoint type of the service.
*/ inline ServiceSummary& WithEndpointType(ServiceEndpointType&& value) { SetEndpointType(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 ServiceSummary& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} /** *The unique identifier of the environment.
*/ inline ServiceSummary& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} /** *The unique identifier of the environment.
*/ inline ServiceSummary& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} /** *Any error associated with the service resource.
*/ inline const ErrorResponse& GetError() const{ return m_error; } /** *Any error associated with the service resource.
*/ inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } /** *Any error associated with the service resource.
*/ inline void SetError(const ErrorResponse& value) { m_errorHasBeenSet = true; m_error = value; } /** *Any error associated with the service resource.
*/ inline void SetError(ErrorResponse&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } /** *Any error associated with the service resource.
*/ inline ServiceSummary& WithError(const ErrorResponse& value) { SetError(value); return *this;} /** *Any error associated with the service resource.
*/ inline ServiceSummary& WithError(ErrorResponse&& value) { SetError(std::move(value)); return *this;} /** *A summary of the configuration for the Lambda endpoint type.
*/ inline const LambdaEndpointSummary& GetLambdaEndpoint() const{ return m_lambdaEndpoint; } /** *A summary of the configuration for the Lambda endpoint type.
*/ inline bool LambdaEndpointHasBeenSet() const { return m_lambdaEndpointHasBeenSet; } /** *A summary of the configuration for the Lambda endpoint type.
*/ inline void SetLambdaEndpoint(const LambdaEndpointSummary& value) { m_lambdaEndpointHasBeenSet = true; m_lambdaEndpoint = value; } /** *A summary of the configuration for the Lambda endpoint type.
*/ inline void SetLambdaEndpoint(LambdaEndpointSummary&& value) { m_lambdaEndpointHasBeenSet = true; m_lambdaEndpoint = std::move(value); } /** *A summary of the configuration for the Lambda endpoint type.
*/ inline ServiceSummary& WithLambdaEndpoint(const LambdaEndpointSummary& value) { SetLambdaEndpoint(value); return *this;} /** *A summary of the configuration for the Lambda endpoint type.
*/ inline ServiceSummary& WithLambdaEndpoint(LambdaEndpointSummary&& value) { SetLambdaEndpoint(std::move(value)); return *this;} /** *A timestamp that indicates when the service was last updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } /** *A timestamp that indicates when the service was last updated.
*/ inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; } /** *A timestamp that indicates when the service was last updated.
*/ inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; } /** *A timestamp that indicates when the service was last updated.
*/ inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); } /** *A timestamp that indicates when the service was last updated.
*/ inline ServiceSummary& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;} /** *A timestamp that indicates when the service was last updated.
*/ inline ServiceSummary& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;} /** *The name of the service.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the service.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the service.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the service.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the service.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the service.
*/ inline ServiceSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the service.
*/ inline ServiceSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the service.
*/ inline ServiceSummary& WithName(const char* value) { SetName(value); return *this;} /** *The Amazon Web Services account ID of the service owner.
*/ inline const Aws::String& GetOwnerAccountId() const{ return m_ownerAccountId; } /** *The Amazon Web Services account ID of the service owner.
*/ inline bool OwnerAccountIdHasBeenSet() const { return m_ownerAccountIdHasBeenSet; } /** *The Amazon Web Services account ID of the service owner.
*/ inline void SetOwnerAccountId(const Aws::String& value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId = value; } /** *The Amazon Web Services account ID of the service owner.
*/ inline void SetOwnerAccountId(Aws::String&& value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId = std::move(value); } /** *The Amazon Web Services account ID of the service owner.
*/ inline void SetOwnerAccountId(const char* value) { m_ownerAccountIdHasBeenSet = true; m_ownerAccountId.assign(value); } /** *The Amazon Web Services account ID of the service owner.
*/ inline ServiceSummary& WithOwnerAccountId(const Aws::String& value) { SetOwnerAccountId(value); return *this;} /** *The Amazon Web Services account ID of the service owner.
*/ inline ServiceSummary& WithOwnerAccountId(Aws::String&& value) { SetOwnerAccountId(std::move(value)); return *this;} /** *The Amazon Web Services account ID of the service owner.
*/ inline ServiceSummary& WithOwnerAccountId(const char* value) { SetOwnerAccountId(value); return *this;} /** *The unique identifier of the service.
*/ inline const Aws::String& GetServiceId() const{ return m_serviceId; } /** *The unique identifier of the service.
*/ inline bool ServiceIdHasBeenSet() const { return m_serviceIdHasBeenSet; } /** *The unique identifier of the service.
*/ inline void SetServiceId(const Aws::String& value) { m_serviceIdHasBeenSet = true; m_serviceId = value; } /** *The unique identifier of the service.
*/ inline void SetServiceId(Aws::String&& value) { m_serviceIdHasBeenSet = true; m_serviceId = std::move(value); } /** *The unique identifier of the service.
*/ inline void SetServiceId(const char* value) { m_serviceIdHasBeenSet = true; m_serviceId.assign(value); } /** *The unique identifier of the service.
*/ inline ServiceSummary& WithServiceId(const Aws::String& value) { SetServiceId(value); return *this;} /** *The unique identifier of the service.
*/ inline ServiceSummary& WithServiceId(Aws::String&& value) { SetServiceId(std::move(value)); return *this;} /** *The unique identifier of the service.
*/ inline ServiceSummary& WithServiceId(const char* value) { SetServiceId(value); return *this;} /** *The current state of the service.
*/ inline const ServiceState& GetState() const{ return m_state; } /** *The current state of the service.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The current state of the service.
*/ inline void SetState(const ServiceState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The current state of the service.
*/ inline void SetState(ServiceState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The current state of the service.
*/ inline ServiceSummary& WithState(const ServiceState& value) { SetState(value); return *this;} /** *The current state of the service.
*/ inline ServiceSummary& WithState(ServiceState&& value) { SetState(std::move(value)); return *this;} /** *The tags assigned to the service.
*/ inline const Aws::MapThe tags assigned to the service.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags assigned to the service.
*/ inline void SetTags(const Aws::MapThe tags assigned to the service.
*/ inline void SetTags(Aws::MapThe tags assigned to the service.
*/ inline ServiceSummary& WithTags(const Aws::MapThe tags assigned to the service.
*/ inline ServiceSummary& WithTags(Aws::MapThe tags assigned to the service.
*/ inline ServiceSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The tags assigned to the service.
*/ inline ServiceSummary& 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 service.
*/ inline ServiceSummary& 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 service.
*/ inline ServiceSummary& 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 service.
*/ inline ServiceSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags assigned to the service.
*/ inline ServiceSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags assigned to the service.
*/ inline ServiceSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The summary of the configuration for the URL endpoint type.
*/ inline const UrlEndpointSummary& GetUrlEndpoint() const{ return m_urlEndpoint; } /** *The summary of the configuration for the URL endpoint type.
*/ inline bool UrlEndpointHasBeenSet() const { return m_urlEndpointHasBeenSet; } /** *The summary of the configuration for the URL endpoint type.
*/ inline void SetUrlEndpoint(const UrlEndpointSummary& value) { m_urlEndpointHasBeenSet = true; m_urlEndpoint = value; } /** *The summary of the configuration for the URL endpoint type.
*/ inline void SetUrlEndpoint(UrlEndpointSummary&& value) { m_urlEndpointHasBeenSet = true; m_urlEndpoint = std::move(value); } /** *The summary of the configuration for the URL endpoint type.
*/ inline ServiceSummary& WithUrlEndpoint(const UrlEndpointSummary& value) { SetUrlEndpoint(value); return *this;} /** *The summary of the configuration for the URL endpoint type.
*/ inline ServiceSummary& WithUrlEndpoint(UrlEndpointSummary&& value) { SetUrlEndpoint(std::move(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 ServiceSummary& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *The ID of the virtual private cloud (VPC).
*/ inline ServiceSummary& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *The ID of the virtual private cloud (VPC).
*/ inline ServiceSummary& WithVpcId(const char* value) { SetVpcId(value); return *this;} private: 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_description; bool m_descriptionHasBeenSet = false; ServiceEndpointType m_endpointType; bool m_endpointTypeHasBeenSet = false; Aws::String m_environmentId; bool m_environmentIdHasBeenSet = false; ErrorResponse m_error; bool m_errorHasBeenSet = false; LambdaEndpointSummary m_lambdaEndpoint; bool m_lambdaEndpointHasBeenSet = 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; Aws::String m_serviceId; bool m_serviceIdHasBeenSet = false; ServiceState m_state; bool m_stateHasBeenSet = false; Aws::Map