/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace VPCLattice { namespace Model { class UpdateAccessLogSubscriptionResult { public: AWS_VPCLATTICE_API UpdateAccessLogSubscriptionResult(); AWS_VPCLATTICE_API UpdateAccessLogSubscriptionResult(const Aws::AmazonWebServiceResult& result); AWS_VPCLATTICE_API UpdateAccessLogSubscriptionResult& 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 UpdateAccessLogSubscriptionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

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

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

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

*/ inline UpdateAccessLogSubscriptionResult& WithArn(const char* value) { SetArn(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 UpdateAccessLogSubscriptionResult& WithDestinationArn(const Aws::String& value) { SetDestinationArn(value); return *this;} /** *

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

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

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

*/ inline UpdateAccessLogSubscriptionResult& 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 UpdateAccessLogSubscriptionResult& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The ID of the access log subscription.

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

The ID of the access log subscription.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

The ID of the resource.

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

The ID of the resource.

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

The ID of the resource.

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

The ID of the resource.

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

The ID of the resource.

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

The ID of the resource.

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

The ID of the resource.

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