AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateBasePathMappingRequest.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/apigateway/model/PatchOperation.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace APIGateway
21{
22namespace Model
23{
24
32 {
33 public:
34 AWS_APIGATEWAY_API UpdateBasePathMappingRequest() = default;
35
36 // Service request name is the Operation name which will send this request out,
37 // each operation should has unique request name, so that we can get operation's name from this request.
38 // Note: this is not true for response, multiple operations may have the same response name,
39 // so we can not get operation's name from response.
40 inline virtual const char* GetServiceRequestName() const override { return "UpdateBasePathMapping"; }
41
42 AWS_APIGATEWAY_API Aws::String SerializePayload() const override;
43
44 AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
45
46
48
51 inline const Aws::String& GetDomainName() const { return m_domainName; }
52 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
53 template<typename DomainNameT = Aws::String>
54 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
55 template<typename DomainNameT = Aws::String>
56 UpdateBasePathMappingRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
58
60
64 inline const Aws::String& GetDomainNameId() const { return m_domainNameId; }
65 inline bool DomainNameIdHasBeenSet() const { return m_domainNameIdHasBeenSet; }
66 template<typename DomainNameIdT = Aws::String>
67 void SetDomainNameId(DomainNameIdT&& value) { m_domainNameIdHasBeenSet = true; m_domainNameId = std::forward<DomainNameIdT>(value); }
68 template<typename DomainNameIdT = Aws::String>
69 UpdateBasePathMappingRequest& WithDomainNameId(DomainNameIdT&& value) { SetDomainNameId(std::forward<DomainNameIdT>(value)); return *this;}
71
73
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 UpdateBasePathMappingRequest& WithBasePath(BasePathT&& value) { SetBasePath(std::forward<BasePathT>(value)); return *this;}
84
86
91 inline const Aws::Vector<PatchOperation>& GetPatchOperations() const { return m_patchOperations; }
92 inline bool PatchOperationsHasBeenSet() const { return m_patchOperationsHasBeenSet; }
93 template<typename PatchOperationsT = Aws::Vector<PatchOperation>>
94 void SetPatchOperations(PatchOperationsT&& value) { m_patchOperationsHasBeenSet = true; m_patchOperations = std::forward<PatchOperationsT>(value); }
95 template<typename PatchOperationsT = Aws::Vector<PatchOperation>>
96 UpdateBasePathMappingRequest& WithPatchOperations(PatchOperationsT&& value) { SetPatchOperations(std::forward<PatchOperationsT>(value)); return *this;}
97 template<typename PatchOperationsT = PatchOperation>
98 UpdateBasePathMappingRequest& AddPatchOperations(PatchOperationsT&& value) { m_patchOperationsHasBeenSet = true; m_patchOperations.emplace_back(std::forward<PatchOperationsT>(value)); return *this; }
100 private:
101
102 Aws::String m_domainName;
103 bool m_domainNameHasBeenSet = false;
104
105 Aws::String m_domainNameId;
106 bool m_domainNameIdHasBeenSet = false;
107
108 Aws::String m_basePath;
109 bool m_basePathHasBeenSet = false;
110
111 Aws::Vector<PatchOperation> m_patchOperations;
112 bool m_patchOperationsHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace APIGateway
117} // 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