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

Summary information about an access log subscription.

See * Also:

AWS * API Reference

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

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 bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

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

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

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

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

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

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

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

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

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

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

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

*/ inline AccessLogSubscriptionSummary& 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 bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *

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_createdAtHasBeenSet = true; 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_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *

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

*/ inline AccessLogSubscriptionSummary& 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 AccessLogSubscriptionSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the destination.

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

The Amazon Resource Name (ARN) of the destination.

*/ inline bool DestinationArnHasBeenSet() const { return m_destinationArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the destination.

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

The Amazon Resource Name (ARN) of the destination.

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

The Amazon Resource Name (ARN) of the destination.

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

The Amazon Resource Name (ARN) of the destination.

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

The Amazon Resource Name (ARN) of the destination.

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

The Amazon Resource Name (ARN) of the destination.

*/ inline AccessLogSubscriptionSummary& 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 bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The ID of the access log subscription.

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

The ID of the access log subscription.

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

The ID of the access log subscription.

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

The ID of the access log subscription.

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

The ID of the access log subscription.

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

The ID of the access log subscription.

*/ inline AccessLogSubscriptionSummary& 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 bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; } /** *

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_lastUpdatedAtHasBeenSet = true; 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_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); } /** *

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

*/ inline AccessLogSubscriptionSummary& 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 AccessLogSubscriptionSummary& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;} /** *

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

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

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

*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** *

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

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

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

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

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

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

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

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

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

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

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

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

The ID of the service or service network.

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

The ID of the service or service network.

*/ inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } /** *

The ID of the service or service network.

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

The ID of the service or service network.

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

The ID of the service or service network.

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

The ID of the service or service network.

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

The ID of the service or service network.

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

The ID of the service or service network.

*/ inline AccessLogSubscriptionSummary& WithResourceId(const char* value) { SetResourceId(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::String m_destinationArn; bool m_destinationArnHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedAt; bool m_lastUpdatedAtHasBeenSet = false; Aws::String m_resourceArn; bool m_resourceArnHasBeenSet = false; Aws::String m_resourceId; bool m_resourceIdHasBeenSet = false; }; } // namespace Model } // namespace VPCLattice } // namespace Aws