/** * 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 Route53Resolver { namespace Model { class ImportFirewallDomainsResult { public: AWS_ROUTE53RESOLVER_API ImportFirewallDomainsResult(); AWS_ROUTE53RESOLVER_API ImportFirewallDomainsResult(const Aws::AmazonWebServiceResult& result); AWS_ROUTE53RESOLVER_API ImportFirewallDomainsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Id of the firewall domain list that DNS Firewall just updated.

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

The Id of the firewall domain list that DNS Firewall just updated.

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

The Id of the firewall domain list that DNS Firewall just updated.

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

The Id of the firewall domain list that DNS Firewall just updated.

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

The Id of the firewall domain list that DNS Firewall just updated.

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

The Id of the firewall domain list that DNS Firewall just updated.

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

The Id of the firewall domain list that DNS Firewall just updated.

*/ inline ImportFirewallDomainsResult& WithId(const char* value) { SetId(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 void SetName(const Aws::String& value) { m_name = value; } /** *

The name of the domain list.

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

The name of the domain list.

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

The name of the domain list.

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

The name of the domain list.

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

The name of the domain list.

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

Status of the import request.

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

Status of the import request.

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

Status of the import request.

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

Status of the import request.

*/ inline ImportFirewallDomainsResult& WithStatus(const FirewallDomainListStatus& value) { SetStatus(value); return *this;} /** *

Status of the import request.

*/ inline ImportFirewallDomainsResult& WithStatus(FirewallDomainListStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

Additional information about the status of the list, if available.

*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *

Additional information about the status of the list, if available.

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

Additional information about the status of the list, if available.

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

Additional information about the status of the list, if available.

*/ inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); } /** *

Additional information about the status of the list, if available.

*/ inline ImportFirewallDomainsResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *

Additional information about the status of the list, if available.

*/ inline ImportFirewallDomainsResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *

Additional information about the status of the list, if available.

*/ inline ImportFirewallDomainsResult& WithStatusMessage(const char* value) { SetStatusMessage(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 ImportFirewallDomainsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ImportFirewallDomainsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ImportFirewallDomainsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_id; Aws::String m_name; FirewallDomainListStatus m_status; Aws::String m_statusMessage; Aws::String m_requestId; }; } // namespace Model } // namespace Route53Resolver } // namespace Aws