7#include <aws/route53resolver/Route53Resolver_EXPORTS.h>
8#include <aws/route53resolver/Route53ResolverRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/route53resolver/model/RuleTypeOption.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/route53resolver/model/TargetAddress.h>
13#include <aws/route53resolver/model/Tag.h>
18namespace Route53Resolver
52 inline void SetCreatorRequestId(
const char* value) { m_creatorRequestIdHasBeenSet =
true; m_creatorRequestId.assign(value); }
67 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
105 inline void SetDomainName(
const char* value) { m_domainNameHasBeenSet =
true; m_domainName.assign(value); }
137 inline void SetResolverEndpointId(
const char* value) { m_resolverEndpointIdHasBeenSet =
true; m_resolverEndpointId.assign(value); }
160 bool m_creatorRequestIdHasBeenSet =
false;
163 bool m_nameHasBeenSet =
false;
166 bool m_ruleTypeHasBeenSet =
false;
169 bool m_domainNameHasBeenSet =
false;
172 bool m_targetIpsHasBeenSet =
false;
175 bool m_resolverEndpointIdHasBeenSet =
false;
178 bool m_tagsHasBeenSet =
false;
CreateResolverRuleRequest & WithResolverEndpointId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
bool CreatorRequestIdHasBeenSet() const
void SetRuleType(RuleTypeOption &&value)
CreateResolverRuleRequest & WithCreatorRequestId(Aws::String &&value)
CreateResolverRuleRequest & WithResolverEndpointId(Aws::String &&value)
const Aws::String & GetDomainName() const
bool NameHasBeenSet() const
void SetCreatorRequestId(const Aws::String &value)
CreateResolverRuleRequest & AddTags(const Tag &value)
void SetTags(Aws::Vector< Tag > &&value)
CreateResolverRuleRequest & WithResolverEndpointId(const char *value)
CreateResolverRuleRequest & WithRuleType(const RuleTypeOption &value)
CreateResolverRuleRequest & WithRuleType(RuleTypeOption &&value)
bool RuleTypeHasBeenSet() const
const RuleTypeOption & GetRuleType() const
bool ResolverEndpointIdHasBeenSet() const
CreateResolverRuleRequest & AddTargetIps(TargetAddress &&value)
void SetTargetIps(Aws::Vector< TargetAddress > &&value)
void SetRuleType(const RuleTypeOption &value)
CreateResolverRuleRequest & WithCreatorRequestId(const Aws::String &value)
void SetDomainName(Aws::String &&value)
bool TagsHasBeenSet() const
void SetDomainName(const Aws::String &value)
void SetResolverEndpointId(Aws::String &&value)
CreateResolverRuleRequest & WithTargetIps(Aws::Vector< TargetAddress > &&value)
CreateResolverRuleRequest & WithName(const char *value)
const Aws::Vector< TargetAddress > & GetTargetIps() const
CreateResolverRuleRequest & WithTags(Aws::Vector< Tag > &&value)
bool DomainNameHasBeenSet() const
void SetTargetIps(const Aws::Vector< TargetAddress > &value)
CreateResolverRuleRequest & AddTargetIps(const TargetAddress &value)
const Aws::String & GetCreatorRequestId() const
const Aws::Vector< Tag > & GetTags() const
void SetName(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
CreateResolverRuleRequest & WithDomainName(const Aws::String &value)
AWS_ROUTE53RESOLVER_API Aws::String SerializePayload() const override
CreateResolverRuleRequest & AddTags(Tag &&value)
const Aws::String & GetName() const
AWS_ROUTE53RESOLVER_API CreateResolverRuleRequest()
CreateResolverRuleRequest & WithDomainName(const char *value)
void SetName(const Aws::String &value)
CreateResolverRuleRequest & WithTags(const Aws::Vector< Tag > &value)
CreateResolverRuleRequest & WithName(Aws::String &&value)
CreateResolverRuleRequest & WithCreatorRequestId(const char *value)
void SetResolverEndpointId(const char *value)
void SetResolverEndpointId(const Aws::String &value)
void SetCreatorRequestId(Aws::String &&value)
void SetCreatorRequestId(const char *value)
CreateResolverRuleRequest & WithDomainName(Aws::String &&value)
bool TargetIpsHasBeenSet() const
CreateResolverRuleRequest & WithName(const Aws::String &value)
void SetDomainName(const char *value)
AWS_ROUTE53RESOLVER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetResolverEndpointId() const
CreateResolverRuleRequest & WithTargetIps(const Aws::Vector< TargetAddress > &value)
void SetName(Aws::String &&value)
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