AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ApiIdT = Aws::String>
47 void SetApiId(ApiIdT&& value) { m_apiIdHasBeenSet = true; m_apiId = std::forward<ApiIdT>(value); }
48 template<typename ApiIdT = Aws::String>
49 ApiMapping& WithApiId(ApiIdT&& value) { SetApiId(std::forward<ApiIdT>(value)); return *this;}
51
53
56 inline const Aws::String& GetApiMappingId() const { return m_apiMappingId; }
57 inline bool ApiMappingIdHasBeenSet() const { return m_apiMappingIdHasBeenSet; }
58 template<typename ApiMappingIdT = Aws::String>
59 void SetApiMappingId(ApiMappingIdT&& value) { m_apiMappingIdHasBeenSet = true; m_apiMappingId = std::forward<ApiMappingIdT>(value); }
60 template<typename ApiMappingIdT = Aws::String>
61 ApiMapping& WithApiMappingId(ApiMappingIdT&& value) { SetApiMappingId(std::forward<ApiMappingIdT>(value)); return *this;}
63
65
68 inline const Aws::String& GetApiMappingKey() const { return m_apiMappingKey; }
69 inline bool ApiMappingKeyHasBeenSet() const { return m_apiMappingKeyHasBeenSet; }
70 template<typename ApiMappingKeyT = Aws::String>
71 void SetApiMappingKey(ApiMappingKeyT&& value) { m_apiMappingKeyHasBeenSet = true; m_apiMappingKey = std::forward<ApiMappingKeyT>(value); }
72 template<typename ApiMappingKeyT = Aws::String>
73 ApiMapping& WithApiMappingKey(ApiMappingKeyT&& value) { SetApiMappingKey(std::forward<ApiMappingKeyT>(value)); return *this;}
75
77
80 inline const Aws::String& GetStage() const { return m_stage; }
81 inline bool StageHasBeenSet() const { return m_stageHasBeenSet; }
82 template<typename StageT = Aws::String>
83 void SetStage(StageT&& value) { m_stageHasBeenSet = true; m_stage = std::forward<StageT>(value); }
84 template<typename StageT = Aws::String>
85 ApiMapping& WithStage(StageT&& value) { SetStage(std::forward<StageT>(value)); return *this;}
87 private:
88
89 Aws::String m_apiId;
90 bool m_apiIdHasBeenSet = false;
91
92 Aws::String m_apiMappingId;
93 bool m_apiMappingIdHasBeenSet = false;
94
95 Aws::String m_apiMappingKey;
96 bool m_apiMappingKeyHasBeenSet = false;
97
98 Aws::String m_stage;
99 bool m_stageHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace ApiGatewayV2
104} // namespace Aws
ApiMapping & WithStage(StageT &&value)
Definition ApiMapping.h:85
ApiMapping & WithApiMappingId(ApiMappingIdT &&value)
Definition ApiMapping.h:61
ApiMapping & WithApiMappingKey(ApiMappingKeyT &&value)
Definition ApiMapping.h:73
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APIGATEWAYV2_API ApiMapping(Aws::Utils::Json::JsonView jsonValue)
void SetApiMappingKey(ApiMappingKeyT &&value)
Definition ApiMapping.h:71
ApiMapping & WithApiId(ApiIdT &&value)
Definition ApiMapping.h:49
const Aws::String & GetApiMappingId() const
Definition ApiMapping.h:56
const Aws::String & GetStage() const
Definition ApiMapping.h:80
const Aws::String & GetApiMappingKey() const
Definition ApiMapping.h:68
void SetApiMappingId(ApiMappingIdT &&value)
Definition ApiMapping.h:59
AWS_APIGATEWAYV2_API ApiMapping()=default
const Aws::String & GetApiId() const
Definition ApiMapping.h:44
AWS_APIGATEWAYV2_API ApiMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue