AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; }
45 inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); }
46 inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); }
47 inline UpdateApiMappingRequest& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
48 inline UpdateApiMappingRequest& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
49 inline UpdateApiMappingRequest& WithApiId(const char* value) { SetApiId(value); return *this;}
51
53
56 inline const Aws::String& GetApiMappingId() const{ return m_apiMappingId; }
57 inline bool ApiMappingIdHasBeenSet() const { return m_apiMappingIdHasBeenSet; }
58 inline void SetApiMappingId(const Aws::String& value) { m_apiMappingIdHasBeenSet = true; m_apiMappingId = value; }
59 inline void SetApiMappingId(Aws::String&& value) { m_apiMappingIdHasBeenSet = true; m_apiMappingId = std::move(value); }
60 inline void SetApiMappingId(const char* value) { m_apiMappingIdHasBeenSet = true; m_apiMappingId.assign(value); }
61 inline UpdateApiMappingRequest& WithApiMappingId(const Aws::String& value) { SetApiMappingId(value); return *this;}
62 inline UpdateApiMappingRequest& WithApiMappingId(Aws::String&& value) { SetApiMappingId(std::move(value)); return *this;}
63 inline UpdateApiMappingRequest& WithApiMappingId(const char* value) { SetApiMappingId(value); return *this;}
65
67
70 inline const Aws::String& GetApiMappingKey() const{ return m_apiMappingKey; }
71 inline bool ApiMappingKeyHasBeenSet() const { return m_apiMappingKeyHasBeenSet; }
72 inline void SetApiMappingKey(const Aws::String& value) { m_apiMappingKeyHasBeenSet = true; m_apiMappingKey = value; }
73 inline void SetApiMappingKey(Aws::String&& value) { m_apiMappingKeyHasBeenSet = true; m_apiMappingKey = std::move(value); }
74 inline void SetApiMappingKey(const char* value) { m_apiMappingKeyHasBeenSet = true; m_apiMappingKey.assign(value); }
75 inline UpdateApiMappingRequest& WithApiMappingKey(const Aws::String& value) { SetApiMappingKey(value); return *this;}
76 inline UpdateApiMappingRequest& WithApiMappingKey(Aws::String&& value) { SetApiMappingKey(std::move(value)); return *this;}
77 inline UpdateApiMappingRequest& WithApiMappingKey(const char* value) { SetApiMappingKey(value); return *this;}
79
81
84 inline const Aws::String& GetDomainName() const{ return m_domainName; }
85 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
86 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
87 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
88 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
89 inline UpdateApiMappingRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
90 inline UpdateApiMappingRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
91 inline UpdateApiMappingRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
93
95
98 inline const Aws::String& GetStage() const{ return m_stage; }
99 inline bool StageHasBeenSet() const { return m_stageHasBeenSet; }
100 inline void SetStage(const Aws::String& value) { m_stageHasBeenSet = true; m_stage = value; }
101 inline void SetStage(Aws::String&& value) { m_stageHasBeenSet = true; m_stage = std::move(value); }
102 inline void SetStage(const char* value) { m_stageHasBeenSet = true; m_stage.assign(value); }
103 inline UpdateApiMappingRequest& WithStage(const Aws::String& value) { SetStage(value); return *this;}
104 inline UpdateApiMappingRequest& WithStage(Aws::String&& value) { SetStage(std::move(value)); return *this;}
105 inline UpdateApiMappingRequest& WithStage(const char* value) { SetStage(value); return *this;}
107 private:
108
109 Aws::String m_apiId;
110 bool m_apiIdHasBeenSet = false;
111
112 Aws::String m_apiMappingId;
113 bool m_apiMappingIdHasBeenSet = false;
114
115 Aws::String m_apiMappingKey;
116 bool m_apiMappingKeyHasBeenSet = false;
117
118 Aws::String m_domainName;
119 bool m_domainNameHasBeenSet = false;
120
121 Aws::String m_stage;
122 bool m_stageHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace ApiGatewayV2
127} // namespace Aws
UpdateApiMappingRequest & WithApiMappingId(Aws::String &&value)
UpdateApiMappingRequest & WithStage(const Aws::String &value)
UpdateApiMappingRequest & WithDomainName(Aws::String &&value)
UpdateApiMappingRequest & WithStage(Aws::String &&value)
AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override
UpdateApiMappingRequest & WithStage(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateApiMappingRequest & WithApiMappingId(const char *value)
UpdateApiMappingRequest & WithDomainName(const Aws::String &value)
UpdateApiMappingRequest & WithApiId(const Aws::String &value)
UpdateApiMappingRequest & WithDomainName(const char *value)
UpdateApiMappingRequest & WithApiId(const char *value)
UpdateApiMappingRequest & WithApiMappingId(const Aws::String &value)
UpdateApiMappingRequest & WithApiMappingKey(const char *value)
UpdateApiMappingRequest & WithApiId(Aws::String &&value)
UpdateApiMappingRequest & WithApiMappingKey(Aws::String &&value)
UpdateApiMappingRequest & WithApiMappingKey(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String