AWS SDK for C++

AWS SDK for C++ Version 1.11.768

Loading...
Searching...
No Matches
CreateBasePathMappingRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGatewayRequest.h>
8#include <aws/apigateway/APIGateway_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 APIGateway {
18namespace Model {
19
27 public:
28 AWS_APIGATEWAY_API CreateBasePathMappingRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateBasePathMapping"; }
35
36 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
37
38 AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
41
44 inline const Aws::String& GetDomainName() const { return m_domainName; }
45 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
46 template <typename DomainNameT = Aws::String>
47 void SetDomainName(DomainNameT&& value) {
48 m_domainNameHasBeenSet = true;
49 m_domainName = std::forward<DomainNameT>(value);
50 }
51 template <typename DomainNameT = Aws::String>
53 SetDomainName(std::forward<DomainNameT>(value));
54 return *this;
55 }
57
59
63 inline const Aws::String& GetDomainNameId() const { return m_domainNameId; }
64 inline bool DomainNameIdHasBeenSet() const { return m_domainNameIdHasBeenSet; }
65 template <typename DomainNameIdT = Aws::String>
66 void SetDomainNameId(DomainNameIdT&& value) {
67 m_domainNameIdHasBeenSet = true;
68 m_domainNameId = std::forward<DomainNameIdT>(value);
69 }
70 template <typename DomainNameIdT = Aws::String>
72 SetDomainNameId(std::forward<DomainNameIdT>(value));
73 return *this;
74 }
76
78
84 inline const Aws::String& GetBasePath() const { return m_basePath; }
85 inline bool BasePathHasBeenSet() const { return m_basePathHasBeenSet; }
86 template <typename BasePathT = Aws::String>
87 void SetBasePath(BasePathT&& value) {
88 m_basePathHasBeenSet = true;
89 m_basePath = std::forward<BasePathT>(value);
90 }
91 template <typename BasePathT = Aws::String>
93 SetBasePath(std::forward<BasePathT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::String& GetRestApiId() const { return m_restApiId; }
103 inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
104 template <typename RestApiIdT = Aws::String>
105 void SetRestApiId(RestApiIdT&& value) {
106 m_restApiIdHasBeenSet = true;
107 m_restApiId = std::forward<RestApiIdT>(value);
108 }
109 template <typename RestApiIdT = Aws::String>
111 SetRestApiId(std::forward<RestApiIdT>(value));
112 return *this;
113 }
115
117
122 inline const Aws::String& GetStage() const { return m_stage; }
123 inline bool StageHasBeenSet() const { return m_stageHasBeenSet; }
124 template <typename StageT = Aws::String>
125 void SetStage(StageT&& value) {
126 m_stageHasBeenSet = true;
127 m_stage = std::forward<StageT>(value);
128 }
129 template <typename StageT = Aws::String>
131 SetStage(std::forward<StageT>(value));
132 return *this;
133 }
135 private:
136 Aws::String m_domainName;
137
138 Aws::String m_domainNameId;
139
140 Aws::String m_basePath;
141
142 Aws::String m_restApiId;
143
144 Aws::String m_stage;
145 bool m_domainNameHasBeenSet = false;
146 bool m_domainNameIdHasBeenSet = false;
147 bool m_basePathHasBeenSet = false;
148 bool m_restApiIdHasBeenSet = false;
149 bool m_stageHasBeenSet = false;
150};
151
152} // namespace Model
153} // namespace APIGateway
154} // namespace Aws
AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
CreateBasePathMappingRequest & WithStage(StageT &&value)
AWS_APIGATEWAY_API CreateBasePathMappingRequest()=default
CreateBasePathMappingRequest & WithDomainNameId(DomainNameIdT &&value)
CreateBasePathMappingRequest & WithDomainName(DomainNameT &&value)
CreateBasePathMappingRequest & WithBasePath(BasePathT &&value)
CreateBasePathMappingRequest & WithRestApiId(RestApiIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String