AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateBasePathMappingRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/APIGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace APIGateway
19{
20namespace Model
21{
22
30 {
31 public:
32 AWS_APIGATEWAY_API CreateBasePathMappingRequest() = default;
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "CreateBasePathMapping"; }
39
40 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
41
42 AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43
44
46
49 inline const Aws::String& GetDomainName() const { return m_domainName; }
50 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
51 template<typename DomainNameT = Aws::String>
52 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
53 template<typename DomainNameT = Aws::String>
54 CreateBasePathMappingRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
56
58
62 inline const Aws::String& GetDomainNameId() const { return m_domainNameId; }
63 inline bool DomainNameIdHasBeenSet() const { return m_domainNameIdHasBeenSet; }
64 template<typename DomainNameIdT = Aws::String>
65 void SetDomainNameId(DomainNameIdT&& value) { m_domainNameIdHasBeenSet = true; m_domainNameId = std::forward<DomainNameIdT>(value); }
66 template<typename DomainNameIdT = Aws::String>
67 CreateBasePathMappingRequest& WithDomainNameId(DomainNameIdT&& value) { SetDomainNameId(std::forward<DomainNameIdT>(value)); return *this;}
69
71
77 inline const Aws::String& GetBasePath() const { return m_basePath; }
78 inline bool BasePathHasBeenSet() const { return m_basePathHasBeenSet; }
79 template<typename BasePathT = Aws::String>
80 void SetBasePath(BasePathT&& value) { m_basePathHasBeenSet = true; m_basePath = std::forward<BasePathT>(value); }
81 template<typename BasePathT = Aws::String>
82 CreateBasePathMappingRequest& WithBasePath(BasePathT&& value) { SetBasePath(std::forward<BasePathT>(value)); return *this;}
84
86
89 inline const Aws::String& GetRestApiId() const { return m_restApiId; }
90 inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
91 template<typename RestApiIdT = Aws::String>
92 void SetRestApiId(RestApiIdT&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::forward<RestApiIdT>(value); }
93 template<typename RestApiIdT = Aws::String>
94 CreateBasePathMappingRequest& WithRestApiId(RestApiIdT&& value) { SetRestApiId(std::forward<RestApiIdT>(value)); return *this;}
96
98
103 inline const Aws::String& GetStage() const { return m_stage; }
104 inline bool StageHasBeenSet() const { return m_stageHasBeenSet; }
105 template<typename StageT = Aws::String>
106 void SetStage(StageT&& value) { m_stageHasBeenSet = true; m_stage = std::forward<StageT>(value); }
107 template<typename StageT = Aws::String>
108 CreateBasePathMappingRequest& WithStage(StageT&& value) { SetStage(std::forward<StageT>(value)); return *this;}
110 private:
111
112 Aws::String m_domainName;
113 bool m_domainNameHasBeenSet = false;
114
115 Aws::String m_domainNameId;
116 bool m_domainNameIdHasBeenSet = false;
117
118 Aws::String m_basePath;
119 bool m_basePathHasBeenSet = false;
120
121 Aws::String m_restApiId;
122 bool m_restApiIdHasBeenSet = false;
123
124 Aws::String m_stage;
125 bool m_stageHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace APIGateway
130} // 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