AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateApiMappingRequest.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/apigatewayv2/ApiGatewayV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace ApiGatewayV2
15{
16namespace Model
17{
18
25 {
26 public:
27 AWS_APIGATEWAYV2_API UpdateApiMappingRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateApiMapping"; }
34
35 AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetApiId() const { return m_apiId; }
43 inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
44 template<typename ApiIdT = Aws::String>
45 void SetApiId(ApiIdT&& value) { m_apiIdHasBeenSet = true; m_apiId = std::forward<ApiIdT>(value); }
46 template<typename ApiIdT = Aws::String>
47 UpdateApiMappingRequest& WithApiId(ApiIdT&& value) { SetApiId(std::forward<ApiIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetApiMappingId() const { return m_apiMappingId; }
55 inline bool ApiMappingIdHasBeenSet() const { return m_apiMappingIdHasBeenSet; }
56 template<typename ApiMappingIdT = Aws::String>
57 void SetApiMappingId(ApiMappingIdT&& value) { m_apiMappingIdHasBeenSet = true; m_apiMappingId = std::forward<ApiMappingIdT>(value); }
58 template<typename ApiMappingIdT = Aws::String>
59 UpdateApiMappingRequest& WithApiMappingId(ApiMappingIdT&& value) { SetApiMappingId(std::forward<ApiMappingIdT>(value)); return *this;}
61
63
66 inline const Aws::String& GetApiMappingKey() const { return m_apiMappingKey; }
67 inline bool ApiMappingKeyHasBeenSet() const { return m_apiMappingKeyHasBeenSet; }
68 template<typename ApiMappingKeyT = Aws::String>
69 void SetApiMappingKey(ApiMappingKeyT&& value) { m_apiMappingKeyHasBeenSet = true; m_apiMappingKey = std::forward<ApiMappingKeyT>(value); }
70 template<typename ApiMappingKeyT = Aws::String>
71 UpdateApiMappingRequest& WithApiMappingKey(ApiMappingKeyT&& value) { SetApiMappingKey(std::forward<ApiMappingKeyT>(value)); return *this;}
73
75
78 inline const Aws::String& GetDomainName() const { return m_domainName; }
79 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
80 template<typename DomainNameT = Aws::String>
81 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
82 template<typename DomainNameT = Aws::String>
83 UpdateApiMappingRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
85
87
90 inline const Aws::String& GetStage() const { return m_stage; }
91 inline bool StageHasBeenSet() const { return m_stageHasBeenSet; }
92 template<typename StageT = Aws::String>
93 void SetStage(StageT&& value) { m_stageHasBeenSet = true; m_stage = std::forward<StageT>(value); }
94 template<typename StageT = Aws::String>
95 UpdateApiMappingRequest& WithStage(StageT&& value) { SetStage(std::forward<StageT>(value)); return *this;}
97 private:
98
99 Aws::String m_apiId;
100 bool m_apiIdHasBeenSet = false;
101
102 Aws::String m_apiMappingId;
103 bool m_apiMappingIdHasBeenSet = false;
104
105 Aws::String m_apiMappingKey;
106 bool m_apiMappingKeyHasBeenSet = false;
107
108 Aws::String m_domainName;
109 bool m_domainNameHasBeenSet = false;
110
111 Aws::String m_stage;
112 bool m_stageHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace ApiGatewayV2
117} // namespace Aws
AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override
UpdateApiMappingRequest & WithApiMappingId(ApiMappingIdT &&value)
virtual const char * GetServiceRequestName() const override
UpdateApiMappingRequest & WithDomainName(DomainNameT &&value)
UpdateApiMappingRequest & WithStage(StageT &&value)
UpdateApiMappingRequest & WithApiId(ApiIdT &&value)
UpdateApiMappingRequest & WithApiMappingKey(ApiMappingKeyT &&value)
AWS_APIGATEWAYV2_API UpdateApiMappingRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String