AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApiMapping.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ApiGatewayV2
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_APIGATEWAYV2_API ApiMapping();
35 AWS_APIGATEWAYV2_API ApiMapping(Aws::Utils::Json::JsonView jsonValue);
36 AWS_APIGATEWAYV2_API ApiMapping& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetApiId() const{ return m_apiId; }
45 inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
46 inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; }
47 inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); }
48 inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); }
49 inline ApiMapping& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
50 inline ApiMapping& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
51 inline ApiMapping& WithApiId(const char* value) { SetApiId(value); return *this;}
53
55
58 inline const Aws::String& GetApiMappingId() const{ return m_apiMappingId; }
59 inline bool ApiMappingIdHasBeenSet() const { return m_apiMappingIdHasBeenSet; }
60 inline void SetApiMappingId(const Aws::String& value) { m_apiMappingIdHasBeenSet = true; m_apiMappingId = value; }
61 inline void SetApiMappingId(Aws::String&& value) { m_apiMappingIdHasBeenSet = true; m_apiMappingId = std::move(value); }
62 inline void SetApiMappingId(const char* value) { m_apiMappingIdHasBeenSet = true; m_apiMappingId.assign(value); }
63 inline ApiMapping& WithApiMappingId(const Aws::String& value) { SetApiMappingId(value); return *this;}
64 inline ApiMapping& WithApiMappingId(Aws::String&& value) { SetApiMappingId(std::move(value)); return *this;}
65 inline ApiMapping& WithApiMappingId(const char* value) { SetApiMappingId(value); return *this;}
67
69
72 inline const Aws::String& GetApiMappingKey() const{ return m_apiMappingKey; }
73 inline bool ApiMappingKeyHasBeenSet() const { return m_apiMappingKeyHasBeenSet; }
74 inline void SetApiMappingKey(const Aws::String& value) { m_apiMappingKeyHasBeenSet = true; m_apiMappingKey = value; }
75 inline void SetApiMappingKey(Aws::String&& value) { m_apiMappingKeyHasBeenSet = true; m_apiMappingKey = std::move(value); }
76 inline void SetApiMappingKey(const char* value) { m_apiMappingKeyHasBeenSet = true; m_apiMappingKey.assign(value); }
77 inline ApiMapping& WithApiMappingKey(const Aws::String& value) { SetApiMappingKey(value); return *this;}
78 inline ApiMapping& WithApiMappingKey(Aws::String&& value) { SetApiMappingKey(std::move(value)); return *this;}
79 inline ApiMapping& WithApiMappingKey(const char* value) { SetApiMappingKey(value); return *this;}
81
83
86 inline const Aws::String& GetStage() const{ return m_stage; }
87 inline bool StageHasBeenSet() const { return m_stageHasBeenSet; }
88 inline void SetStage(const Aws::String& value) { m_stageHasBeenSet = true; m_stage = value; }
89 inline void SetStage(Aws::String&& value) { m_stageHasBeenSet = true; m_stage = std::move(value); }
90 inline void SetStage(const char* value) { m_stageHasBeenSet = true; m_stage.assign(value); }
91 inline ApiMapping& WithStage(const Aws::String& value) { SetStage(value); return *this;}
92 inline ApiMapping& WithStage(Aws::String&& value) { SetStage(std::move(value)); return *this;}
93 inline ApiMapping& WithStage(const char* value) { SetStage(value); return *this;}
95 private:
96
97 Aws::String m_apiId;
98 bool m_apiIdHasBeenSet = false;
99
100 Aws::String m_apiMappingId;
101 bool m_apiMappingIdHasBeenSet = false;
102
103 Aws::String m_apiMappingKey;
104 bool m_apiMappingKeyHasBeenSet = false;
105
106 Aws::String m_stage;
107 bool m_stageHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace ApiGatewayV2
112} // namespace Aws
void SetStage(Aws::String &&value)
Definition ApiMapping.h:89
ApiMapping & WithStage(const Aws::String &value)
Definition ApiMapping.h:91
ApiMapping & WithApiMappingId(const Aws::String &value)
Definition ApiMapping.h:63
void SetStage(const char *value)
Definition ApiMapping.h:90
void SetApiMappingKey(const char *value)
Definition ApiMapping.h:76
ApiMapping & WithStage(Aws::String &&value)
Definition ApiMapping.h:92
void SetApiMappingKey(Aws::String &&value)
Definition ApiMapping.h:75
void SetApiMappingKey(const Aws::String &value)
Definition ApiMapping.h:74
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
ApiMapping & WithApiId(Aws::String &&value)
Definition ApiMapping.h:50
void SetApiMappingId(const Aws::String &value)
Definition ApiMapping.h:60
AWS_APIGATEWAYV2_API ApiMapping(Aws::Utils::Json::JsonView jsonValue)
ApiMapping & WithApiId(const char *value)
Definition ApiMapping.h:51
void SetStage(const Aws::String &value)
Definition ApiMapping.h:88
ApiMapping & WithApiMappingId(const char *value)
Definition ApiMapping.h:65
AWS_APIGATEWAYV2_API ApiMapping()
void SetApiMappingId(const char *value)
Definition ApiMapping.h:62
ApiMapping & WithApiMappingKey(Aws::String &&value)
Definition ApiMapping.h:78
void SetApiId(const Aws::String &value)
Definition ApiMapping.h:46
ApiMapping & WithApiMappingId(Aws::String &&value)
Definition ApiMapping.h:64
ApiMapping & WithApiMappingKey(const char *value)
Definition ApiMapping.h:79
const Aws::String & GetApiMappingId() const
Definition ApiMapping.h:58
const Aws::String & GetStage() const
Definition ApiMapping.h:86
const Aws::String & GetApiMappingKey() const
Definition ApiMapping.h:72
void SetApiMappingId(Aws::String &&value)
Definition ApiMapping.h:61
ApiMapping & WithApiMappingKey(const Aws::String &value)
Definition ApiMapping.h:77
const Aws::String & GetApiId() const
Definition ApiMapping.h:44
void SetApiId(Aws::String &&value)
Definition ApiMapping.h:47
ApiMapping & WithApiId(const Aws::String &value)
Definition ApiMapping.h:49
AWS_APIGATEWAYV2_API ApiMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetApiId(const char *value)
Definition ApiMapping.h:48
ApiMapping & WithStage(const char *value)
Definition ApiMapping.h:93
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue