/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace Route53Resolver { namespace Model { /** */ class CreateFirewallDomainListRequest : public Route53ResolverRequest { public: AWS_ROUTE53RESOLVER_API CreateFirewallDomainListRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateFirewallDomainList"; } AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override; AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

A unique string that identifies the request and that allows you to retry * failed requests without the risk of running the operation twice. * CreatorRequestId can be any unique string, for example, a date/time * stamp.

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

A unique string that identifies the request and that allows you to retry * failed requests without the risk of running the operation twice. * CreatorRequestId can be any unique string, for example, a date/time * stamp.

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

A unique string that identifies the request and that allows you to retry * failed requests without the risk of running the operation twice. * CreatorRequestId can be any unique string, for example, a date/time * stamp.

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

A unique string that identifies the request and that allows you to retry * failed requests without the risk of running the operation twice. * CreatorRequestId can be any unique string, for example, a date/time * stamp.

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

A unique string that identifies the request and that allows you to retry * failed requests without the risk of running the operation twice. * CreatorRequestId can be any unique string, for example, a date/time * stamp.

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

A unique string that identifies the request and that allows you to retry * failed requests without the risk of running the operation twice. * CreatorRequestId can be any unique string, for example, a date/time * stamp.

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

A unique string that identifies the request and that allows you to retry * failed requests without the risk of running the operation twice. * CreatorRequestId can be any unique string, for example, a date/time * stamp.

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

A unique string that identifies the request and that allows you to retry * failed requests without the risk of running the operation twice. * CreatorRequestId can be any unique string, for example, a date/time * stamp.

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

A name that lets you identify the domain list to manage and use it.

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

A name that lets you identify the domain list to manage and use it.

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

A name that lets you identify the domain list to manage and use it.

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

A name that lets you identify the domain list to manage and use it.

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

A name that lets you identify the domain list to manage and use it.

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

A name that lets you identify the domain list to manage and use it.

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

A name that lets you identify the domain list to manage and use it.

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

A name that lets you identify the domain list to manage and use it.

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

A list of the tag keys and values that you want to associate with the domain * list.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

A list of the tag keys and values that you want to associate with the domain * list.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

A list of the tag keys and values that you want to associate with the domain * list.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

A list of the tag keys and values that you want to associate with the domain * list.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

A list of the tag keys and values that you want to associate with the domain * list.

*/ inline CreateFirewallDomainListRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

A list of the tag keys and values that you want to associate with the domain * list.

*/ inline CreateFirewallDomainListRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

A list of the tag keys and values that you want to associate with the domain * list.

*/ inline CreateFirewallDomainListRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

A list of the tag keys and values that you want to associate with the domain * list.

*/ inline CreateFirewallDomainListRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_creatorRequestId; bool m_creatorRequestIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace Route53Resolver } // namespace Aws