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

The Amazon Resource Name (ARN) of the access log subscription.

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

The Amazon Resource Name (ARN) of the access log subscription.

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

The Amazon Resource Name (ARN) of the access log subscription.

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

The Amazon Resource Name (ARN) of the access log subscription.

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

The Amazon Resource Name (ARN) of the access log subscription.

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

The Amazon Resource Name (ARN) of the access log subscription.

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

The Amazon Resource Name (ARN) of the access log subscription.

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

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

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

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

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

The date and time that the access log subscription 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 access log subscription was created, specified in * ISO-8601 format.

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

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

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

The Amazon Resource Name (ARN) of the access log destination.

*/ inline const Aws::String& GetDestinationArn() const{ return m_destinationArn; } /** *

The Amazon Resource Name (ARN) of the access log destination.

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

The Amazon Resource Name (ARN) of the access log destination.

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

The Amazon Resource Name (ARN) of the access log destination.

*/ inline void SetDestinationArn(const char* value) { m_destinationArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the access log destination.

*/ inline GetAccessLogSubscriptionResult& WithDestinationArn(const Aws::String& value) { SetDestinationArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the access log destination.

*/ inline GetAccessLogSubscriptionResult& WithDestinationArn(Aws::String&& value) { SetDestinationArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the access log destination.

*/ inline GetAccessLogSubscriptionResult& WithDestinationArn(const char* value) { SetDestinationArn(value); return *this;} /** *

The ID of the access log subscription.

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

The ID of the access log subscription.

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

The ID of the access log subscription.

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

The ID of the access log subscription.

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

The ID of the access log subscription.

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

The ID of the access log subscription.

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

The ID of the access log subscription.

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

The date and time that the access log subscription was last updated, * specified in ISO-8601 format.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; } /** *

The date and time that the access log subscription was last updated, * specified in ISO-8601 format.

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

The date and time that the access log subscription was last updated, * specified in ISO-8601 format.

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

The date and time that the access log subscription was last updated, * specified in ISO-8601 format.

*/ inline GetAccessLogSubscriptionResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;} /** *

The date and time that the access log subscription was last updated, * specified in ISO-8601 format.

*/ inline GetAccessLogSubscriptionResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;} /** *

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

*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *

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

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

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

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

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

*/ inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); } /** *

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

*/ inline GetAccessLogSubscriptionResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *

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

*/ inline GetAccessLogSubscriptionResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *

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

*/ inline GetAccessLogSubscriptionResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} /** *

The ID of the service network or service.

*/ inline const Aws::String& GetResourceId() const{ return m_resourceId; } /** *

The ID of the service network or service.

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

The ID of the service network or service.

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

The ID of the service network or service.

*/ inline void SetResourceId(const char* value) { m_resourceId.assign(value); } /** *

The ID of the service network or service.

*/ inline GetAccessLogSubscriptionResult& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} /** *

The ID of the service network or service.

*/ inline GetAccessLogSubscriptionResult& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} /** *

The ID of the service network or service.

*/ inline GetAccessLogSubscriptionResult& WithResourceId(const char* value) { SetResourceId(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 GetAccessLogSubscriptionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetAccessLogSubscriptionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetAccessLogSubscriptionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::Utils::DateTime m_createdAt; Aws::String m_destinationArn; Aws::String m_id; Aws::Utils::DateTime m_lastUpdatedAt; Aws::String m_resourceArn; Aws::String m_resourceId; Aws::String m_requestId; }; } // namespace Model } // namespace VPCLattice } // namespace Aws