AWS SDK for C++  1.9.123
AWS SDK for C++
GetResolverEndpointRequest.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 "GetResolverEndpoint"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetResolverEndpointId() const{ return m_resolverEndpointId; }
41 
45  inline bool ResolverEndpointIdHasBeenSet() const { return m_resolverEndpointIdHasBeenSet; }
46 
50  inline void SetResolverEndpointId(const Aws::String& value) { m_resolverEndpointIdHasBeenSet = true; m_resolverEndpointId = value; }
51 
55  inline void SetResolverEndpointId(Aws::String&& value) { m_resolverEndpointIdHasBeenSet = true; m_resolverEndpointId = std::move(value); }
56 
60  inline void SetResolverEndpointId(const char* value) { m_resolverEndpointIdHasBeenSet = true; m_resolverEndpointId.assign(value); }
61 
65  inline GetResolverEndpointRequest& WithResolverEndpointId(const Aws::String& value) { SetResolverEndpointId(value); return *this;}
66 
70  inline GetResolverEndpointRequest& WithResolverEndpointId(Aws::String&& value) { SetResolverEndpointId(std::move(value)); return *this;}
71 
75  inline GetResolverEndpointRequest& WithResolverEndpointId(const char* value) { SetResolverEndpointId(value); return *this;}
76 
77  private:
78 
79  Aws::String m_resolverEndpointId;
80  bool m_resolverEndpointIdHasBeenSet;
81  };
82 
83 } // namespace Model
84 } // namespace Route53Resolver
85 } // namespace Aws
Aws::Route53Resolver::Model::GetResolverEndpointRequest::WithResolverEndpointId
GetResolverEndpointRequest & WithResolverEndpointId(Aws::String &&value)
Definition: GetResolverEndpointRequest.h:70
Aws::Route53Resolver::Model::GetResolverEndpointRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Route53Resolver_EXPORTS.h
Aws::Route53Resolver::Model::GetResolverEndpointRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetResolverEndpointRequest.h:30
Aws::Route53Resolver::Model::GetResolverEndpointRequest::WithResolverEndpointId
GetResolverEndpointRequest & WithResolverEndpointId(const Aws::String &value)
Definition: GetResolverEndpointRequest.h:65
Aws::Route53Resolver::Model::GetResolverEndpointRequest::ResolverEndpointIdHasBeenSet
bool ResolverEndpointIdHasBeenSet() const
Definition: GetResolverEndpointRequest.h:45
Aws::Route53Resolver::Route53ResolverRequest
Definition: Route53ResolverRequest.h:17
AWS_ROUTE53RESOLVER_API
#define AWS_ROUTE53RESOLVER_API
Definition: Route53Resolver_EXPORTS.h:28
Aws::Route53Resolver::Model::GetResolverEndpointRequest::SerializePayload
Aws::String SerializePayload() const override
Route53ResolverRequest.h
AWSString.h
Aws::Route53Resolver::Model::GetResolverEndpointRequest::SetResolverEndpointId
void SetResolverEndpointId(const char *value)
Definition: GetResolverEndpointRequest.h:60
Aws::Route53Resolver::Model::GetResolverEndpointRequest::WithResolverEndpointId
GetResolverEndpointRequest & WithResolverEndpointId(const char *value)
Definition: GetResolverEndpointRequest.h:75
Aws::Route53Resolver::Model::GetResolverEndpointRequest::SetResolverEndpointId
void SetResolverEndpointId(Aws::String &&value)
Definition: GetResolverEndpointRequest.h:55
Aws::Route53Resolver::Model::GetResolverEndpointRequest
Definition: GetResolverEndpointRequest.h:22
Aws
Definition: AccessManagementClient.h:15
Aws::Route53Resolver::Model::GetResolverEndpointRequest::SetResolverEndpointId
void SetResolverEndpointId(const Aws::String &value)
Definition: GetResolverEndpointRequest.h:50
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Route53Resolver::Model::GetResolverEndpointRequest::GetResolverEndpointId
const Aws::String & GetResolverEndpointId() const
Definition: GetResolverEndpointRequest.h:40
Aws::Route53Resolver::Model::GetResolverEndpointRequest::GetResolverEndpointRequest
GetResolverEndpointRequest()