AWS SDK for C++

AWS SDK for C++ Version 1.11.768

Loading...
Searching...
No Matches
UpdateBasePathMappingRequest.h
1
6#pragma once
7#include <aws/apigateway/APIGatewayRequest.h>
8#include <aws/apigateway/APIGateway_EXPORTS.h>
9#include <aws/apigateway/model/PatchOperation.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Http {
17class URI;
18} // namespace Http
19namespace APIGateway {
20namespace Model {
21
29 public:
30 AWS_APIGATEWAY_API UpdateBasePathMappingRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateBasePathMapping"; }
37
38 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
39
40 AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
43
46 inline const Aws::String& GetDomainName() const { return m_domainName; }
47 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
48 template <typename DomainNameT = Aws::String>
49 void SetDomainName(DomainNameT&& value) {
50 m_domainNameHasBeenSet = true;
51 m_domainName = std::forward<DomainNameT>(value);
52 }
53 template <typename DomainNameT = Aws::String>
55 SetDomainName(std::forward<DomainNameT>(value));
56 return *this;
57 }
59
61
65 inline const Aws::String& GetDomainNameId() const { return m_domainNameId; }
66 inline bool DomainNameIdHasBeenSet() const { return m_domainNameIdHasBeenSet; }
67 template <typename DomainNameIdT = Aws::String>
68 void SetDomainNameId(DomainNameIdT&& value) {
69 m_domainNameIdHasBeenSet = true;
70 m_domainNameId = std::forward<DomainNameIdT>(value);
71 }
72 template <typename DomainNameIdT = Aws::String>
74 SetDomainNameId(std::forward<DomainNameIdT>(value));
75 return *this;
76 }
78
80
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
104 inline const Aws::Vector<PatchOperation>& GetPatchOperations() const { return m_patchOperations; }
105 inline bool PatchOperationsHasBeenSet() const { return m_patchOperationsHasBeenSet; }
106 template <typename PatchOperationsT = Aws::Vector<PatchOperation>>
107 void SetPatchOperations(PatchOperationsT&& value) {
108 m_patchOperationsHasBeenSet = true;
109 m_patchOperations = std::forward<PatchOperationsT>(value);
110 }
111 template <typename PatchOperationsT = Aws::Vector<PatchOperation>>
113 SetPatchOperations(std::forward<PatchOperationsT>(value));
114 return *this;
115 }
116 template <typename PatchOperationsT = PatchOperation>
118 m_patchOperationsHasBeenSet = true;
119 m_patchOperations.emplace_back(std::forward<PatchOperationsT>(value));
120 return *this;
121 }
123 private:
124 Aws::String m_domainName;
125
126 Aws::String m_domainNameId;
127
128 Aws::String m_basePath;
129
130 Aws::Vector<PatchOperation> m_patchOperations;
131 bool m_domainNameHasBeenSet = false;
132 bool m_domainNameIdHasBeenSet = false;
133 bool m_basePathHasBeenSet = false;
134 bool m_patchOperationsHasBeenSet = false;
135};
136
137} // namespace Model
138} // namespace APIGateway
139} // namespace Aws
UpdateBasePathMappingRequest & WithDomainNameId(DomainNameIdT &&value)
const Aws::Vector< PatchOperation > & GetPatchOperations() const
UpdateBasePathMappingRequest & WithBasePath(BasePathT &&value)
AWS_APIGATEWAY_API UpdateBasePathMappingRequest()=default
UpdateBasePathMappingRequest & WithDomainName(DomainNameT &&value)
UpdateBasePathMappingRequest & WithPatchOperations(PatchOperationsT &&value)
UpdateBasePathMappingRequest & AddPatchOperations(PatchOperationsT &&value)
AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector