AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
GetRoutingRuleRequest.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2Request.h>
8#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace ApiGatewayV2 {
18namespace Model {
19
23 public:
24 AWS_APIGATEWAYV2_API GetRoutingRuleRequest() = default;
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 "GetRoutingRule"; }
31
32 AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override;
33
34 AWS_APIGATEWAYV2_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetDomainName() const { return m_domainName; }
41 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
42 template <typename DomainNameT = Aws::String>
43 void SetDomainName(DomainNameT&& value) {
44 m_domainNameHasBeenSet = true;
45 m_domainName = std::forward<DomainNameT>(value);
46 }
47 template <typename DomainNameT = Aws::String>
48 GetRoutingRuleRequest& WithDomainName(DomainNameT&& value) {
49 SetDomainName(std::forward<DomainNameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetDomainNameId() const { return m_domainNameId; }
59 inline bool DomainNameIdHasBeenSet() const { return m_domainNameIdHasBeenSet; }
60 template <typename DomainNameIdT = Aws::String>
61 void SetDomainNameId(DomainNameIdT&& value) {
62 m_domainNameIdHasBeenSet = true;
63 m_domainNameId = std::forward<DomainNameIdT>(value);
64 }
65 template <typename DomainNameIdT = Aws::String>
66 GetRoutingRuleRequest& WithDomainNameId(DomainNameIdT&& value) {
67 SetDomainNameId(std::forward<DomainNameIdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetRoutingRuleId() const { return m_routingRuleId; }
77 inline bool RoutingRuleIdHasBeenSet() const { return m_routingRuleIdHasBeenSet; }
78 template <typename RoutingRuleIdT = Aws::String>
79 void SetRoutingRuleId(RoutingRuleIdT&& value) {
80 m_routingRuleIdHasBeenSet = true;
81 m_routingRuleId = std::forward<RoutingRuleIdT>(value);
82 }
83 template <typename RoutingRuleIdT = Aws::String>
84 GetRoutingRuleRequest& WithRoutingRuleId(RoutingRuleIdT&& value) {
85 SetRoutingRuleId(std::forward<RoutingRuleIdT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_domainName;
91
92 Aws::String m_domainNameId;
93
94 Aws::String m_routingRuleId;
95 bool m_domainNameHasBeenSet = false;
96 bool m_domainNameIdHasBeenSet = false;
97 bool m_routingRuleIdHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace ApiGatewayV2
102} // namespace Aws
GetRoutingRuleRequest & WithDomainName(DomainNameT &&value)
AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override
AWS_APIGATEWAYV2_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetRoutingRuleRequest & WithRoutingRuleId(RoutingRuleIdT &&value)
virtual const char * GetServiceRequestName() const override
GetRoutingRuleRequest & WithDomainNameId(DomainNameIdT &&value)
AWS_APIGATEWAYV2_API GetRoutingRuleRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String