AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateBasePathMappingResult.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{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace APIGateway
24{
25namespace Model
26{
34 {
35 public:
36 AWS_APIGATEWAY_API CreateBasePathMappingResult();
39
40
42
46 inline const Aws::String& GetBasePath() const{ return m_basePath; }
47 inline void SetBasePath(const Aws::String& value) { m_basePath = value; }
48 inline void SetBasePath(Aws::String&& value) { m_basePath = std::move(value); }
49 inline void SetBasePath(const char* value) { m_basePath.assign(value); }
50 inline CreateBasePathMappingResult& WithBasePath(const Aws::String& value) { SetBasePath(value); return *this;}
51 inline CreateBasePathMappingResult& WithBasePath(Aws::String&& value) { SetBasePath(std::move(value)); return *this;}
52 inline CreateBasePathMappingResult& WithBasePath(const char* value) { SetBasePath(value); return *this;}
54
56
59 inline const Aws::String& GetRestApiId() const{ return m_restApiId; }
60 inline void SetRestApiId(const Aws::String& value) { m_restApiId = value; }
61 inline void SetRestApiId(Aws::String&& value) { m_restApiId = std::move(value); }
62 inline void SetRestApiId(const char* value) { m_restApiId.assign(value); }
63 inline CreateBasePathMappingResult& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
64 inline CreateBasePathMappingResult& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
65 inline CreateBasePathMappingResult& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
67
69
72 inline const Aws::String& GetStage() const{ return m_stage; }
73 inline void SetStage(const Aws::String& value) { m_stage = value; }
74 inline void SetStage(Aws::String&& value) { m_stage = std::move(value); }
75 inline void SetStage(const char* value) { m_stage.assign(value); }
76 inline CreateBasePathMappingResult& WithStage(const Aws::String& value) { SetStage(value); return *this;}
77 inline CreateBasePathMappingResult& WithStage(Aws::String&& value) { SetStage(std::move(value)); return *this;}
78 inline CreateBasePathMappingResult& WithStage(const char* value) { SetStage(value); return *this;}
80
82
83 inline const Aws::String& GetRequestId() const{ return m_requestId; }
84 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
85 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
86 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
87 inline CreateBasePathMappingResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
88 inline CreateBasePathMappingResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
89 inline CreateBasePathMappingResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
91 private:
92
93 Aws::String m_basePath;
94
95 Aws::String m_restApiId;
96
97 Aws::String m_stage;
98
99 Aws::String m_requestId;
100 };
101
102} // namespace Model
103} // namespace APIGateway
104} // namespace Aws
CreateBasePathMappingResult & WithStage(Aws::String &&value)
CreateBasePathMappingResult & WithRequestId(Aws::String &&value)
CreateBasePathMappingResult & WithStage(const Aws::String &value)
CreateBasePathMappingResult & WithRestApiId(const char *value)
CreateBasePathMappingResult & WithRestApiId(Aws::String &&value)
AWS_APIGATEWAY_API CreateBasePathMappingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateBasePathMappingResult & WithBasePath(const char *value)
CreateBasePathMappingResult & WithBasePath(Aws::String &&value)
CreateBasePathMappingResult & WithBasePath(const Aws::String &value)
AWS_APIGATEWAY_API CreateBasePathMappingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateBasePathMappingResult & WithRequestId(const Aws::String &value)
CreateBasePathMappingResult & WithRestApiId(const Aws::String &value)
CreateBasePathMappingResult & WithRequestId(const char *value)
CreateBasePathMappingResult & WithStage(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue