7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/route53resolver/Route53ResolverRequest.h>
10#include <aws/route53resolver/Route53Resolver_EXPORTS.h>
11#include <aws/route53resolver/model/Tag.h>
16namespace Route53Resolver {
44 template <
typename CreatorRequestIdT = Aws::String>
46 m_creatorRequestIdHasBeenSet =
true;
47 m_creatorRequestId = std::forward<CreatorRequestIdT>(value);
49 template <
typename CreatorRequestIdT = Aws::String>
63 template <
typename NameT = Aws::String>
65 m_nameHasBeenSet =
true;
66 m_name = std::forward<NameT>(value);
68 template <
typename NameT = Aws::String>
70 SetName(std::forward<NameT>(value));
83 m_instanceCountHasBeenSet =
true;
84 m_instanceCount = value;
99 template <
typename PreferredInstanceTypeT = Aws::String>
101 m_preferredInstanceTypeHasBeenSet =
true;
102 m_preferredInstanceType = std::forward<PreferredInstanceTypeT>(value);
104 template <
typename PreferredInstanceTypeT = Aws::String>
118 template <
typename OutpostArnT = Aws::String>
120 m_outpostArnHasBeenSet =
true;
121 m_outpostArn = std::forward<OutpostArnT>(value);
123 template <
typename OutpostArnT = Aws::String>
136 template <
typename TagsT = Aws::Vector<Tag>>
138 m_tagsHasBeenSet =
true;
139 m_tags = std::forward<TagsT>(value);
141 template <
typename TagsT = Aws::Vector<Tag>>
143 SetTags(std::forward<TagsT>(value));
146 template <
typename TagsT = Tag>
148 m_tagsHasBeenSet =
true;
149 m_tags.emplace_back(std::forward<TagsT>(value));
155 bool m_creatorRequestIdHasBeenSet =
false;
158 bool m_nameHasBeenSet =
false;
160 int m_instanceCount{0};
161 bool m_instanceCountHasBeenSet =
false;
164 bool m_preferredInstanceTypeHasBeenSet =
false;
167 bool m_outpostArnHasBeenSet =
false;
170 bool m_tagsHasBeenSet =
false;
void SetName(NameT &&value)
CreateOutpostResolverRequest & WithInstanceCount(int value)
bool CreatorRequestIdHasBeenSet() const
CreateOutpostResolverRequest & WithName(NameT &&value)
const Aws::String & GetName() const
const Aws::String & GetOutpostArn() const
AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
int GetInstanceCount() const
CreateOutpostResolverRequest & WithCreatorRequestId(CreatorRequestIdT &&value)
bool NameHasBeenSet() const
CreateOutpostResolverRequest & WithOutpostArn(OutpostArnT &&value)
const Aws::String & GetPreferredInstanceType() const
bool TagsHasBeenSet() const
void SetInstanceCount(int value)
CreateOutpostResolverRequest & WithPreferredInstanceType(PreferredInstanceTypeT &&value)
const Aws::String & GetCreatorRequestId() const
void SetPreferredInstanceType(PreferredInstanceTypeT &&value)
void SetTags(TagsT &&value)
bool PreferredInstanceTypeHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
void SetOutpostArn(OutpostArnT &&value)
void SetCreatorRequestId(CreatorRequestIdT &&value)
bool OutpostArnHasBeenSet() const
virtual const char * GetServiceRequestName() const override
AWS_ROUTE53RESOLVER_API CreateOutpostResolverRequest()=default
CreateOutpostResolverRequest & AddTags(TagsT &&value)
AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override
CreateOutpostResolverRequest & WithTags(TagsT &&value)
bool InstanceCountHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector