AWS SDK for C++  1.9.158
AWS SDK for C++
GetResolverRulePolicyRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Route53Resolver
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "GetResolverRulePolicy"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetArn() const{ return m_arn; }
42 
47  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 
53  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
54 
59  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
60 
65  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
66 
71  inline GetResolverRulePolicyRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
72 
77  inline GetResolverRulePolicyRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
78 
83  inline GetResolverRulePolicyRequest& WithArn(const char* value) { SetArn(value); return *this;}
84 
85  private:
86 
87  Aws::String m_arn;
88  bool m_arnHasBeenSet;
89  };
90 
91 } // namespace Model
92 } // namespace Route53Resolver
93 } // namespace Aws
Aws::Route53Resolver::Model::GetResolverRulePolicyRequest::SetArn
void SetArn(const char *value)
Definition: GetResolverRulePolicyRequest.h:65
Aws::Route53Resolver::Model::GetResolverRulePolicyRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Route53Resolver::Model::GetResolverRulePolicyRequest::GetResolverRulePolicyRequest
GetResolverRulePolicyRequest()
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Route53Resolver_EXPORTS.h
Aws::Route53Resolver::Model::GetResolverRulePolicyRequest::SetArn
void SetArn(const Aws::String &value)
Definition: GetResolverRulePolicyRequest.h:53
Aws::Route53Resolver::Model::GetResolverRulePolicyRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetResolverRulePolicyRequest.h:30
Aws::Route53Resolver::Route53ResolverRequest
Definition: Route53ResolverRequest.h:17
AWS_ROUTE53RESOLVER_API
#define AWS_ROUTE53RESOLVER_API
Definition: Route53Resolver_EXPORTS.h:28
Route53ResolverRequest.h
AWSString.h
Aws::Route53Resolver::Model::GetResolverRulePolicyRequest::SetArn
void SetArn(Aws::String &&value)
Definition: GetResolverRulePolicyRequest.h:59
Aws::Route53Resolver::Model::GetResolverRulePolicyRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Route53Resolver::Model::GetResolverRulePolicyRequest::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: GetResolverRulePolicyRequest.h:47
Aws
Definition: AccessManagementClient.h:15
Aws::Route53Resolver::Model::GetResolverRulePolicyRequest::WithArn
GetResolverRulePolicyRequest & WithArn(const Aws::String &value)
Definition: GetResolverRulePolicyRequest.h:71
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Route53Resolver::Model::GetResolverRulePolicyRequest::WithArn
GetResolverRulePolicyRequest & WithArn(const char *value)
Definition: GetResolverRulePolicyRequest.h:83
Aws::Route53Resolver::Model::GetResolverRulePolicyRequest::GetArn
const Aws::String & GetArn() const
Definition: GetResolverRulePolicyRequest.h:41
Aws::Route53Resolver::Model::GetResolverRulePolicyRequest::WithArn
GetResolverRulePolicyRequest & WithArn(Aws::String &&value)
Definition: GetResolverRulePolicyRequest.h:77
Aws::Route53Resolver::Model::GetResolverRulePolicyRequest
Definition: GetResolverRulePolicyRequest.h:22