/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace VPCLattice { namespace Model { class GetServiceNetworkServiceAssociationResult { public: AWS_VPCLATTICE_API GetServiceNetworkServiceAssociationResult(); AWS_VPCLATTICE_API GetServiceNetworkServiceAssociationResult(const Aws::AmazonWebServiceResult& result); AWS_VPCLATTICE_API GetServiceNetworkServiceAssociationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the association.

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

The Amazon Resource Name (ARN) of the association.

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

The Amazon Resource Name (ARN) of the association.

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

The Amazon Resource Name (ARN) of the association.

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

The Amazon Resource Name (ARN) of the association.

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

The Amazon Resource Name (ARN) of the association.

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

The Amazon Resource Name (ARN) of the association.

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

The date and time that the association was created, specified in ISO-8601 * format.

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *

The date and time that the association was created, specified in ISO-8601 * format.

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } /** *

The date and time that the association was created, specified in ISO-8601 * format.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } /** *

The date and time that the association was created, specified in ISO-8601 * format.

*/ inline GetServiceNetworkServiceAssociationResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

The date and time that the association was created, specified in ISO-8601 * format.

*/ inline GetServiceNetworkServiceAssociationResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *

The account that created the association.

*/ inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } /** *

The account that created the association.

*/ inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; } /** *

The account that created the association.

*/ inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); } /** *

The account that created the association.

*/ inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); } /** *

The account that created the association.

*/ inline GetServiceNetworkServiceAssociationResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} /** *

The account that created the association.

*/ inline GetServiceNetworkServiceAssociationResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} /** *

The account that created the association.

*/ inline GetServiceNetworkServiceAssociationResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} /** *

The custom domain name of the service.

*/ inline const Aws::String& GetCustomDomainName() const{ return m_customDomainName; } /** *

The custom domain name of the service.

*/ inline void SetCustomDomainName(const Aws::String& value) { m_customDomainName = value; } /** *

The custom domain name of the service.

*/ inline void SetCustomDomainName(Aws::String&& value) { m_customDomainName = std::move(value); } /** *

The custom domain name of the service.

*/ inline void SetCustomDomainName(const char* value) { m_customDomainName.assign(value); } /** *

The custom domain name of the service.

*/ inline GetServiceNetworkServiceAssociationResult& WithCustomDomainName(const Aws::String& value) { SetCustomDomainName(value); return *this;} /** *

The custom domain name of the service.

*/ inline GetServiceNetworkServiceAssociationResult& WithCustomDomainName(Aws::String&& value) { SetCustomDomainName(std::move(value)); return *this;} /** *

The custom domain name of the service.

*/ inline GetServiceNetworkServiceAssociationResult& WithCustomDomainName(const char* value) { SetCustomDomainName(value); return *this;} /** *

The DNS name of the service.

*/ inline const DnsEntry& GetDnsEntry() const{ return m_dnsEntry; } /** *

The DNS name of the service.

*/ inline void SetDnsEntry(const DnsEntry& value) { m_dnsEntry = value; } /** *

The DNS name of the service.

*/ inline void SetDnsEntry(DnsEntry&& value) { m_dnsEntry = std::move(value); } /** *

The DNS name of the service.

*/ inline GetServiceNetworkServiceAssociationResult& WithDnsEntry(const DnsEntry& value) { SetDnsEntry(value); return *this;} /** *

The DNS name of the service.

*/ inline GetServiceNetworkServiceAssociationResult& WithDnsEntry(DnsEntry&& value) { SetDnsEntry(std::move(value)); return *this;} /** *

The failure code.

*/ inline const Aws::String& GetFailureCode() const{ return m_failureCode; } /** *

The failure code.

*/ inline void SetFailureCode(const Aws::String& value) { m_failureCode = value; } /** *

The failure code.

*/ inline void SetFailureCode(Aws::String&& value) { m_failureCode = std::move(value); } /** *

The failure code.

*/ inline void SetFailureCode(const char* value) { m_failureCode.assign(value); } /** *

The failure code.

*/ inline GetServiceNetworkServiceAssociationResult& WithFailureCode(const Aws::String& value) { SetFailureCode(value); return *this;} /** *

The failure code.

*/ inline GetServiceNetworkServiceAssociationResult& WithFailureCode(Aws::String&& value) { SetFailureCode(std::move(value)); return *this;} /** *

The failure code.

*/ inline GetServiceNetworkServiceAssociationResult& WithFailureCode(const char* value) { SetFailureCode(value); return *this;} /** *

The failure message.

*/ inline const Aws::String& GetFailureMessage() const{ return m_failureMessage; } /** *

The failure message.

*/ inline void SetFailureMessage(const Aws::String& value) { m_failureMessage = value; } /** *

The failure message.

*/ inline void SetFailureMessage(Aws::String&& value) { m_failureMessage = std::move(value); } /** *

The failure message.

*/ inline void SetFailureMessage(const char* value) { m_failureMessage.assign(value); } /** *

The failure message.

*/ inline GetServiceNetworkServiceAssociationResult& WithFailureMessage(const Aws::String& value) { SetFailureMessage(value); return *this;} /** *

The failure message.

*/ inline GetServiceNetworkServiceAssociationResult& WithFailureMessage(Aws::String&& value) { SetFailureMessage(std::move(value)); return *this;} /** *

The failure message.

*/ inline GetServiceNetworkServiceAssociationResult& WithFailureMessage(const char* value) { SetFailureMessage(value); return *this;} /** *

The ID of the service network and service association.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The ID of the service network and service association.

*/ inline void SetId(const Aws::String& value) { m_id = value; } /** *

The ID of the service network and service association.

*/ inline void SetId(Aws::String&& value) { m_id = std::move(value); } /** *

The ID of the service network and service association.

*/ inline void SetId(const char* value) { m_id.assign(value); } /** *

The ID of the service network and service association.

*/ inline GetServiceNetworkServiceAssociationResult& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The ID of the service network and service association.

*/ inline GetServiceNetworkServiceAssociationResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The ID of the service network and service association.

*/ inline GetServiceNetworkServiceAssociationResult& WithId(const char* value) { SetId(value); return *this;} /** *

The Amazon Resource Name (ARN) of the service.

*/ inline const Aws::String& GetServiceArn() const{ return m_serviceArn; } /** *

The Amazon Resource Name (ARN) of the service.

*/ inline void SetServiceArn(const Aws::String& value) { m_serviceArn = value; } /** *

The Amazon Resource Name (ARN) of the service.

*/ inline void SetServiceArn(Aws::String&& value) { m_serviceArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the service.

*/ inline void SetServiceArn(const char* value) { m_serviceArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the service.

*/ inline GetServiceNetworkServiceAssociationResult& WithServiceArn(const Aws::String& value) { SetServiceArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the service.

*/ inline GetServiceNetworkServiceAssociationResult& WithServiceArn(Aws::String&& value) { SetServiceArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the service.

*/ inline GetServiceNetworkServiceAssociationResult& WithServiceArn(const char* value) { SetServiceArn(value); return *this;} /** *

The ID of the service.

*/ inline const Aws::String& GetServiceId() const{ return m_serviceId; } /** *

The ID of the service.

*/ inline void SetServiceId(const Aws::String& value) { m_serviceId = value; } /** *

The ID of the service.

*/ inline void SetServiceId(Aws::String&& value) { m_serviceId = std::move(value); } /** *

The ID of the service.

*/ inline void SetServiceId(const char* value) { m_serviceId.assign(value); } /** *

The ID of the service.

*/ inline GetServiceNetworkServiceAssociationResult& WithServiceId(const Aws::String& value) { SetServiceId(value); return *this;} /** *

The ID of the service.

*/ inline GetServiceNetworkServiceAssociationResult& WithServiceId(Aws::String&& value) { SetServiceId(std::move(value)); return *this;} /** *

The ID of the service.

*/ inline GetServiceNetworkServiceAssociationResult& WithServiceId(const char* value) { SetServiceId(value); return *this;} /** *

The name of the service.

*/ inline const Aws::String& GetServiceName() const{ return m_serviceName; } /** *

The name of the service.

*/ inline void SetServiceName(const Aws::String& value) { m_serviceName = value; } /** *

The name of the service.

*/ inline void SetServiceName(Aws::String&& value) { m_serviceName = std::move(value); } /** *

The name of the service.

*/ inline void SetServiceName(const char* value) { m_serviceName.assign(value); } /** *

The name of the service.

*/ inline GetServiceNetworkServiceAssociationResult& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;} /** *

The name of the service.

*/ inline GetServiceNetworkServiceAssociationResult& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;} /** *

The name of the service.

*/ inline GetServiceNetworkServiceAssociationResult& WithServiceName(const char* value) { SetServiceName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the service network.

*/ inline const Aws::String& GetServiceNetworkArn() const{ return m_serviceNetworkArn; } /** *

The Amazon Resource Name (ARN) of the service network.

*/ inline void SetServiceNetworkArn(const Aws::String& value) { m_serviceNetworkArn = value; } /** *

The Amazon Resource Name (ARN) of the service network.

*/ inline void SetServiceNetworkArn(Aws::String&& value) { m_serviceNetworkArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the service network.

*/ inline void SetServiceNetworkArn(const char* value) { m_serviceNetworkArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the service network.

*/ inline GetServiceNetworkServiceAssociationResult& WithServiceNetworkArn(const Aws::String& value) { SetServiceNetworkArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the service network.

*/ inline GetServiceNetworkServiceAssociationResult& WithServiceNetworkArn(Aws::String&& value) { SetServiceNetworkArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the service network.

*/ inline GetServiceNetworkServiceAssociationResult& WithServiceNetworkArn(const char* value) { SetServiceNetworkArn(value); return *this;} /** *

The ID of the service network.

*/ inline const Aws::String& GetServiceNetworkId() const{ return m_serviceNetworkId; } /** *

The ID of the service network.

*/ inline void SetServiceNetworkId(const Aws::String& value) { m_serviceNetworkId = value; } /** *

The ID of the service network.

*/ inline void SetServiceNetworkId(Aws::String&& value) { m_serviceNetworkId = std::move(value); } /** *

The ID of the service network.

*/ inline void SetServiceNetworkId(const char* value) { m_serviceNetworkId.assign(value); } /** *

The ID of the service network.

*/ inline GetServiceNetworkServiceAssociationResult& WithServiceNetworkId(const Aws::String& value) { SetServiceNetworkId(value); return *this;} /** *

The ID of the service network.

*/ inline GetServiceNetworkServiceAssociationResult& WithServiceNetworkId(Aws::String&& value) { SetServiceNetworkId(std::move(value)); return *this;} /** *

The ID of the service network.

*/ inline GetServiceNetworkServiceAssociationResult& WithServiceNetworkId(const char* value) { SetServiceNetworkId(value); return *this;} /** *

The name of the service network.

*/ inline const Aws::String& GetServiceNetworkName() const{ return m_serviceNetworkName; } /** *

The name of the service network.

*/ inline void SetServiceNetworkName(const Aws::String& value) { m_serviceNetworkName = value; } /** *

The name of the service network.

*/ inline void SetServiceNetworkName(Aws::String&& value) { m_serviceNetworkName = std::move(value); } /** *

The name of the service network.

*/ inline void SetServiceNetworkName(const char* value) { m_serviceNetworkName.assign(value); } /** *

The name of the service network.

*/ inline GetServiceNetworkServiceAssociationResult& WithServiceNetworkName(const Aws::String& value) { SetServiceNetworkName(value); return *this;} /** *

The name of the service network.

*/ inline GetServiceNetworkServiceAssociationResult& WithServiceNetworkName(Aws::String&& value) { SetServiceNetworkName(std::move(value)); return *this;} /** *

The name of the service network.

*/ inline GetServiceNetworkServiceAssociationResult& WithServiceNetworkName(const char* value) { SetServiceNetworkName(value); return *this;} /** *

The status of the association.

*/ inline const ServiceNetworkServiceAssociationStatus& GetStatus() const{ return m_status; } /** *

The status of the association.

*/ inline void SetStatus(const ServiceNetworkServiceAssociationStatus& value) { m_status = value; } /** *

The status of the association.

*/ inline void SetStatus(ServiceNetworkServiceAssociationStatus&& value) { m_status = std::move(value); } /** *

The status of the association.

*/ inline GetServiceNetworkServiceAssociationResult& WithStatus(const ServiceNetworkServiceAssociationStatus& value) { SetStatus(value); return *this;} /** *

The status of the association.

*/ inline GetServiceNetworkServiceAssociationResult& WithStatus(ServiceNetworkServiceAssociationStatus&& value) { SetStatus(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetServiceNetworkServiceAssociationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetServiceNetworkServiceAssociationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetServiceNetworkServiceAssociationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::Utils::DateTime m_createdAt; Aws::String m_createdBy; Aws::String m_customDomainName; DnsEntry m_dnsEntry; Aws::String m_failureCode; Aws::String m_failureMessage; Aws::String m_id; Aws::String m_serviceArn; Aws::String m_serviceId; Aws::String m_serviceName; Aws::String m_serviceNetworkArn; Aws::String m_serviceNetworkId; Aws::String m_serviceNetworkName; ServiceNetworkServiceAssociationStatus m_status; Aws::String m_requestId; }; } // namespace Model } // namespace VPCLattice } // namespace Aws