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

Minimal high-level information for a firewall domain list. The action * ListFirewallDomainLists returns an array of these objects.

To * retrieve full information for a firewall domain list, call * GetFirewallDomainList and ListFirewallDomains.

See * Also:

AWS * API Reference

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

The ID of the domain list.

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

The ID of the domain list.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The ID of the domain list.

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

The ID of the domain list.

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

The ID of the domain list.

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

The ID of the domain list.

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

The ID of the domain list.

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

The ID of the domain list.

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

The Amazon Resource Name (ARN) of the firewall domain list metadata.

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

The Amazon Resource Name (ARN) of the firewall domain list metadata.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the firewall domain list metadata.

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

The Amazon Resource Name (ARN) of the firewall domain list metadata.

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

The Amazon Resource Name (ARN) of the firewall domain list metadata.

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

The Amazon Resource Name (ARN) of the firewall domain list metadata.

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

The Amazon Resource Name (ARN) of the firewall domain list metadata.

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

The Amazon Resource Name (ARN) of the firewall domain list metadata.

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

The name of the domain list.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the domain list.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the domain list.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the domain list.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the domain list.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the domain list.

*/ inline FirewallDomainListMetadata& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the domain list.

*/ inline FirewallDomainListMetadata& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the domain list.

*/ inline FirewallDomainListMetadata& WithName(const char* value) { SetName(value); return *this;} /** *

A unique string defined by you to identify the request. This allows you to * retry failed requests without the risk of running the operation twice. This can * be any unique string, for example, a timestamp.

*/ inline const Aws::String& GetCreatorRequestId() const{ return m_creatorRequestId; } /** *

A unique string defined by you to identify the request. This allows you to * retry failed requests without the risk of running the operation twice. This can * be any unique string, for example, a timestamp.

*/ inline bool CreatorRequestIdHasBeenSet() const { return m_creatorRequestIdHasBeenSet; } /** *

A unique string defined by you to identify the request. This allows you to * retry failed requests without the risk of running the operation twice. This can * be any unique string, for example, a timestamp.

*/ inline void SetCreatorRequestId(const Aws::String& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = value; } /** *

A unique string defined by you to identify the request. This allows you to * retry failed requests without the risk of running the operation twice. This can * be any unique string, for example, a timestamp.

*/ inline void SetCreatorRequestId(Aws::String&& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = std::move(value); } /** *

A unique string defined by you to identify the request. This allows you to * retry failed requests without the risk of running the operation twice. This can * be any unique string, for example, a timestamp.

*/ inline void SetCreatorRequestId(const char* value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId.assign(value); } /** *

A unique string defined by you to identify the request. This allows you to * retry failed requests without the risk of running the operation twice. This can * be any unique string, for example, a timestamp.

*/ inline FirewallDomainListMetadata& WithCreatorRequestId(const Aws::String& value) { SetCreatorRequestId(value); return *this;} /** *

A unique string defined by you to identify the request. This allows you to * retry failed requests without the risk of running the operation twice. This can * be any unique string, for example, a timestamp.

*/ inline FirewallDomainListMetadata& WithCreatorRequestId(Aws::String&& value) { SetCreatorRequestId(std::move(value)); return *this;} /** *

A unique string defined by you to identify the request. This allows you to * retry failed requests without the risk of running the operation twice. This can * be any unique string, for example, a timestamp.

*/ inline FirewallDomainListMetadata& WithCreatorRequestId(const char* value) { SetCreatorRequestId(value); return *this;} /** *

The owner of the list, used only for lists that are not managed by you. For * example, the managed domain list AWSManagedDomainsMalwareDomainList * has the managed owner name Route 53 Resolver DNS Firewall.

*/ inline const Aws::String& GetManagedOwnerName() const{ return m_managedOwnerName; } /** *

The owner of the list, used only for lists that are not managed by you. For * example, the managed domain list AWSManagedDomainsMalwareDomainList * has the managed owner name Route 53 Resolver DNS Firewall.

*/ inline bool ManagedOwnerNameHasBeenSet() const { return m_managedOwnerNameHasBeenSet; } /** *

The owner of the list, used only for lists that are not managed by you. For * example, the managed domain list AWSManagedDomainsMalwareDomainList * has the managed owner name Route 53 Resolver DNS Firewall.

*/ inline void SetManagedOwnerName(const Aws::String& value) { m_managedOwnerNameHasBeenSet = true; m_managedOwnerName = value; } /** *

The owner of the list, used only for lists that are not managed by you. For * example, the managed domain list AWSManagedDomainsMalwareDomainList * has the managed owner name Route 53 Resolver DNS Firewall.

*/ inline void SetManagedOwnerName(Aws::String&& value) { m_managedOwnerNameHasBeenSet = true; m_managedOwnerName = std::move(value); } /** *

The owner of the list, used only for lists that are not managed by you. For * example, the managed domain list AWSManagedDomainsMalwareDomainList * has the managed owner name Route 53 Resolver DNS Firewall.

*/ inline void SetManagedOwnerName(const char* value) { m_managedOwnerNameHasBeenSet = true; m_managedOwnerName.assign(value); } /** *

The owner of the list, used only for lists that are not managed by you. For * example, the managed domain list AWSManagedDomainsMalwareDomainList * has the managed owner name Route 53 Resolver DNS Firewall.

*/ inline FirewallDomainListMetadata& WithManagedOwnerName(const Aws::String& value) { SetManagedOwnerName(value); return *this;} /** *

The owner of the list, used only for lists that are not managed by you. For * example, the managed domain list AWSManagedDomainsMalwareDomainList * has the managed owner name Route 53 Resolver DNS Firewall.

*/ inline FirewallDomainListMetadata& WithManagedOwnerName(Aws::String&& value) { SetManagedOwnerName(std::move(value)); return *this;} /** *

The owner of the list, used only for lists that are not managed by you. For * example, the managed domain list AWSManagedDomainsMalwareDomainList * has the managed owner name Route 53 Resolver DNS Firewall.

*/ inline FirewallDomainListMetadata& WithManagedOwnerName(const char* value) { SetManagedOwnerName(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_creatorRequestId; bool m_creatorRequestIdHasBeenSet = false; Aws::String m_managedOwnerName; bool m_managedOwnerNameHasBeenSet = false; }; } // namespace Model } // namespace Route53Resolver } // namespace Aws