AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBasePath(const Aws::String& value) { m_basePathHasBeenSet = true; m_basePath = value; }
49 inline void SetBasePath(Aws::String&& value) { m_basePathHasBeenSet = true; m_basePath = std::move(value); }
50 inline void SetBasePath(const char* value) { m_basePathHasBeenSet = true; m_basePath.assign(value); }
51 inline BasePathMapping& WithBasePath(const Aws::String& value) { SetBasePath(value); return *this;}
52 inline BasePathMapping& WithBasePath(Aws::String&& value) { SetBasePath(std::move(value)); return *this;}
53 inline BasePathMapping& WithBasePath(const char* value) { SetBasePath(value); return *this;}
55
57
60 inline const Aws::String& GetRestApiId() const{ return m_restApiId; }
61 inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
62 inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
63 inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::move(value); }
64 inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); }
65 inline BasePathMapping& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
66 inline BasePathMapping& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
67 inline BasePathMapping& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
69
71
74 inline const Aws::String& GetStage() const{ return m_stage; }
75 inline bool StageHasBeenSet() const { return m_stageHasBeenSet; }
76 inline void SetStage(const Aws::String& value) { m_stageHasBeenSet = true; m_stage = value; }
77 inline void SetStage(Aws::String&& value) { m_stageHasBeenSet = true; m_stage = std::move(value); }
78 inline void SetStage(const char* value) { m_stageHasBeenSet = true; m_stage.assign(value); }
79 inline BasePathMapping& WithStage(const Aws::String& value) { SetStage(value); return *this;}
80 inline BasePathMapping& WithStage(Aws::String&& value) { SetStage(std::move(value)); return *this;}
81 inline BasePathMapping& WithStage(const char* value) { SetStage(value); return *this;}
83
85
86 inline const Aws::String& GetRequestId() const{ return m_requestId; }
87 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
88 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
89 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
90 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
91 inline BasePathMapping& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
92 inline BasePathMapping& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
93 inline BasePathMapping& WithRequestId(const char* value) { SetRequestId(value); return *this;}
95 private:
96
97 Aws::String m_basePath;
98 bool m_basePathHasBeenSet = false;
99
100 Aws::String m_restApiId;
101 bool m_restApiIdHasBeenSet = false;
102
103 Aws::String m_stage;
104 bool m_stageHasBeenSet = false;
105
106 Aws::String m_requestId;
107 bool m_requestIdHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace APIGateway
112} // namespace Aws
const Aws::String & GetRestApiId() const
void SetBasePath(const Aws::String &value)
BasePathMapping & WithRestApiId(const char *value)
BasePathMapping & WithRequestId(const char *value)
BasePathMapping & WithStage(const Aws::String &value)
BasePathMapping & WithStage(Aws::String &&value)
void SetRequestId(Aws::String &&value)
BasePathMapping & WithStage(const char *value)
const Aws::String & GetRequestId() const
BasePathMapping & WithBasePath(Aws::String &&value)
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRestApiId(Aws::String &&value)
const Aws::String & GetStage() const
BasePathMapping & WithBasePath(const Aws::String &value)
const Aws::String & GetBasePath() const
void SetRequestId(const Aws::String &value)
BasePathMapping & WithRestApiId(const Aws::String &value)
BasePathMapping & WithBasePath(const char *value)
void SetBasePath(Aws::String &&value)
BasePathMapping & WithRestApiId(Aws::String &&value)
BasePathMapping & WithRequestId(Aws::String &&value)
BasePathMapping & WithRequestId(const Aws::String &value)
void SetRestApiId(const Aws::String &value)
void SetStage(const Aws::String &value)
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