AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BasePathMapping.h
1
6#pragma once
7#include <aws/apigateway/APIGateway_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 APIGateway
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_APIGATEWAY_API BasePathMapping() = default;
36 AWS_APIGATEWAY_API BasePathMapping(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetBasePath() const { return m_basePath; }
47 inline bool BasePathHasBeenSet() const { return m_basePathHasBeenSet; }
48 template<typename BasePathT = Aws::String>
49 void SetBasePath(BasePathT&& value) { m_basePathHasBeenSet = true; m_basePath = std::forward<BasePathT>(value); }
50 template<typename BasePathT = Aws::String>
51 BasePathMapping& WithBasePath(BasePathT&& value) { SetBasePath(std::forward<BasePathT>(value)); return *this;}
53
55
58 inline const Aws::String& GetRestApiId() const { return m_restApiId; }
59 inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
60 template<typename RestApiIdT = Aws::String>
61 void SetRestApiId(RestApiIdT&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::forward<RestApiIdT>(value); }
62 template<typename RestApiIdT = Aws::String>
63 BasePathMapping& WithRestApiId(RestApiIdT&& value) { SetRestApiId(std::forward<RestApiIdT>(value)); return *this;}
65
67
70 inline const Aws::String& GetStage() const { return m_stage; }
71 inline bool StageHasBeenSet() const { return m_stageHasBeenSet; }
72 template<typename StageT = Aws::String>
73 void SetStage(StageT&& value) { m_stageHasBeenSet = true; m_stage = std::forward<StageT>(value); }
74 template<typename StageT = Aws::String>
75 BasePathMapping& WithStage(StageT&& value) { SetStage(std::forward<StageT>(value)); return *this;}
77
79
80 inline const Aws::String& GetRequestId() const { return m_requestId; }
81 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
82 template<typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
84 template<typename RequestIdT = Aws::String>
85 BasePathMapping& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
87 private:
88
89 Aws::String m_basePath;
90 bool m_basePathHasBeenSet = false;
91
92 Aws::String m_restApiId;
93 bool m_restApiIdHasBeenSet = false;
94
95 Aws::String m_stage;
96 bool m_stageHasBeenSet = false;
97
98 Aws::String m_requestId;
99 bool m_requestIdHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace APIGateway
104} // namespace Aws
const Aws::String & GetRestApiId() const
BasePathMapping & WithStage(StageT &&value)
AWS_APIGATEWAY_API BasePathMapping()=default
BasePathMapping & WithRestApiId(RestApiIdT &&value)
const Aws::String & GetRequestId() const
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
BasePathMapping & WithRequestId(RequestIdT &&value)
BasePathMapping & WithBasePath(BasePathT &&value)
const Aws::String & GetStage() const
const Aws::String & GetBasePath() const
AWS_APIGATEWAY_API BasePathMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APIGATEWAY_API BasePathMapping(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue