AWS SDK for C++  1.9.153
AWS SDK for C++
CreateResourceResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace APIGateway
26 {
27 namespace Model
28 {
37  {
38  public:
42 
43 
47  inline const Aws::String& GetId() const{ return m_id; }
48 
52  inline void SetId(const Aws::String& value) { m_id = value; }
53 
57  inline void SetId(Aws::String&& value) { m_id = std::move(value); }
58 
62  inline void SetId(const char* value) { m_id.assign(value); }
63 
67  inline CreateResourceResult& WithId(const Aws::String& value) { SetId(value); return *this;}
68 
72  inline CreateResourceResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
73 
77  inline CreateResourceResult& WithId(const char* value) { SetId(value); return *this;}
78 
79 
83  inline const Aws::String& GetParentId() const{ return m_parentId; }
84 
88  inline void SetParentId(const Aws::String& value) { m_parentId = value; }
89 
93  inline void SetParentId(Aws::String&& value) { m_parentId = std::move(value); }
94 
98  inline void SetParentId(const char* value) { m_parentId.assign(value); }
99 
103  inline CreateResourceResult& WithParentId(const Aws::String& value) { SetParentId(value); return *this;}
104 
108  inline CreateResourceResult& WithParentId(Aws::String&& value) { SetParentId(std::move(value)); return *this;}
109 
113  inline CreateResourceResult& WithParentId(const char* value) { SetParentId(value); return *this;}
114 
115 
119  inline const Aws::String& GetPathPart() const{ return m_pathPart; }
120 
124  inline void SetPathPart(const Aws::String& value) { m_pathPart = value; }
125 
129  inline void SetPathPart(Aws::String&& value) { m_pathPart = std::move(value); }
130 
134  inline void SetPathPart(const char* value) { m_pathPart.assign(value); }
135 
139  inline CreateResourceResult& WithPathPart(const Aws::String& value) { SetPathPart(value); return *this;}
140 
144  inline CreateResourceResult& WithPathPart(Aws::String&& value) { SetPathPart(std::move(value)); return *this;}
145 
149  inline CreateResourceResult& WithPathPart(const char* value) { SetPathPart(value); return *this;}
150 
151 
155  inline const Aws::String& GetPath() const{ return m_path; }
156 
160  inline void SetPath(const Aws::String& value) { m_path = value; }
161 
165  inline void SetPath(Aws::String&& value) { m_path = std::move(value); }
166 
170  inline void SetPath(const char* value) { m_path.assign(value); }
171 
175  inline CreateResourceResult& WithPath(const Aws::String& value) { SetPath(value); return *this;}
176 
180  inline CreateResourceResult& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
181 
185  inline CreateResourceResult& WithPath(const char* value) { SetPath(value); return *this;}
186 
187 
262  inline const Aws::Map<Aws::String, Method>& GetResourceMethods() const{ return m_resourceMethods; }
263 
338  inline void SetResourceMethods(const Aws::Map<Aws::String, Method>& value) { m_resourceMethods = value; }
339 
414  inline void SetResourceMethods(Aws::Map<Aws::String, Method>&& value) { m_resourceMethods = std::move(value); }
415 
490  inline CreateResourceResult& WithResourceMethods(const Aws::Map<Aws::String, Method>& value) { SetResourceMethods(value); return *this;}
491 
566  inline CreateResourceResult& WithResourceMethods(Aws::Map<Aws::String, Method>&& value) { SetResourceMethods(std::move(value)); return *this;}
567 
642  inline CreateResourceResult& AddResourceMethods(const Aws::String& key, const Method& value) { m_resourceMethods.emplace(key, value); return *this; }
643 
718  inline CreateResourceResult& AddResourceMethods(Aws::String&& key, const Method& value) { m_resourceMethods.emplace(std::move(key), value); return *this; }
719 
794  inline CreateResourceResult& AddResourceMethods(const Aws::String& key, Method&& value) { m_resourceMethods.emplace(key, std::move(value)); return *this; }
795 
870  inline CreateResourceResult& AddResourceMethods(Aws::String&& key, Method&& value) { m_resourceMethods.emplace(std::move(key), std::move(value)); return *this; }
871 
946  inline CreateResourceResult& AddResourceMethods(const char* key, Method&& value) { m_resourceMethods.emplace(key, std::move(value)); return *this; }
947 
1022  inline CreateResourceResult& AddResourceMethods(const char* key, const Method& value) { m_resourceMethods.emplace(key, value); return *this; }
1023 
1024  private:
1025 
1026  Aws::String m_id;
1027 
1028  Aws::String m_parentId;
1029 
1030  Aws::String m_pathPart;
1031 
1032  Aws::String m_path;
1033 
1034  Aws::Map<Aws::String, Method> m_resourceMethods;
1035  };
1036 
1037 } // namespace Model
1038 } // namespace APIGateway
1039 } // namespace Aws
Aws::APIGateway::Model::CreateResourceResult::WithPath
CreateResourceResult & WithPath(const Aws::String &value)
Definition: CreateResourceResult.h:175
Aws::APIGateway::Model::CreateResourceResult::GetPathPart
const Aws::String & GetPathPart() const
Definition: CreateResourceResult.h:119
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::APIGateway::Model::CreateResourceResult::AddResourceMethods
CreateResourceResult & AddResourceMethods(const char *key, Method &&value)
Definition: CreateResourceResult.h:946
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::CreateResourceResult::GetPath
const Aws::String & GetPath() const
Definition: CreateResourceResult.h:155
Aws::APIGateway::Model::CreateResourceResult::SetResourceMethods
void SetResourceMethods(Aws::Map< Aws::String, Method > &&value)
Definition: CreateResourceResult.h:414
Aws::APIGateway::Model::CreateResourceResult::WithId
CreateResourceResult & WithId(Aws::String &&value)
Definition: CreateResourceResult.h:72
Aws::APIGateway::Model::CreateResourceResult::SetPath
void SetPath(const Aws::String &value)
Definition: CreateResourceResult.h:160
Aws::APIGateway::Model::CreateResourceResult::AddResourceMethods
CreateResourceResult & AddResourceMethods(const Aws::String &key, Method &&value)
Definition: CreateResourceResult.h:794
Aws::APIGateway::Model::CreateResourceResult::operator=
CreateResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::CreateResourceResult::WithParentId
CreateResourceResult & WithParentId(const Aws::String &value)
Definition: CreateResourceResult.h:103
Aws::APIGateway::Model::CreateResourceResult::WithParentId
CreateResourceResult & WithParentId(const char *value)
Definition: CreateResourceResult.h:113
Aws::APIGateway::Model::CreateResourceResult::WithResourceMethods
CreateResourceResult & WithResourceMethods(Aws::Map< Aws::String, Method > &&value)
Definition: CreateResourceResult.h:566
APIGateway_EXPORTS.h
Aws::APIGateway::Model::CreateResourceResult::SetId
void SetId(const char *value)
Definition: CreateResourceResult.h:62
Aws::APIGateway::Model::CreateResourceResult::WithId
CreateResourceResult & WithId(const Aws::String &value)
Definition: CreateResourceResult.h:67
Aws::APIGateway::Model::CreateResourceResult::AddResourceMethods
CreateResourceResult & AddResourceMethods(const char *key, const Method &value)
Definition: CreateResourceResult.h:1022
Aws::APIGateway::Model::CreateResourceResult::WithResourceMethods
CreateResourceResult & WithResourceMethods(const Aws::Map< Aws::String, Method > &value)
Definition: CreateResourceResult.h:490
Aws::APIGateway::Model::CreateResourceResult::WithPathPart
CreateResourceResult & WithPathPart(const Aws::String &value)
Definition: CreateResourceResult.h:139
Aws::APIGateway::Model::CreateResourceResult::SetParentId
void SetParentId(Aws::String &&value)
Definition: CreateResourceResult.h:93
Aws::APIGateway::Model::CreateResourceResult::CreateResourceResult
CreateResourceResult()
Aws::APIGateway::Model::CreateResourceResult::AddResourceMethods
CreateResourceResult & AddResourceMethods(const Aws::String &key, const Method &value)
Definition: CreateResourceResult.h:642
Method.h
Aws::APIGateway::Model::CreateResourceResult::SetPathPart
void SetPathPart(Aws::String &&value)
Definition: CreateResourceResult.h:129
Aws::APIGateway::Model::CreateResourceResult::WithParentId
CreateResourceResult & WithParentId(Aws::String &&value)
Definition: CreateResourceResult.h:108
Aws::APIGateway::Model::CreateResourceResult::SetParentId
void SetParentId(const char *value)
Definition: CreateResourceResult.h:98
Aws::APIGateway::Model::CreateResourceResult::GetParentId
const Aws::String & GetParentId() const
Definition: CreateResourceResult.h:83
AWSString.h
Aws::APIGateway::Model::CreateResourceResult::SetPathPart
void SetPathPart(const char *value)
Definition: CreateResourceResult.h:134
Aws::APIGateway::Model::CreateResourceResult::SetPathPart
void SetPathPart(const Aws::String &value)
Definition: CreateResourceResult.h:124
Aws::APIGateway::Model::CreateResourceResult::WithPathPart
CreateResourceResult & WithPathPart(Aws::String &&value)
Definition: CreateResourceResult.h:144
Aws::APIGateway::Model::Method
Definition: Method.h:121
Aws::APIGateway::Model::CreateResourceResult::GetId
const Aws::String & GetId() const
Definition: CreateResourceResult.h:47
Aws::APIGateway::Model::CreateResourceResult::CreateResourceResult
CreateResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::CreateResourceResult::SetId
void SetId(Aws::String &&value)
Definition: CreateResourceResult.h:57
Aws::APIGateway::Model::CreateResourceResult::AddResourceMethods
CreateResourceResult & AddResourceMethods(Aws::String &&key, const Method &value)
Definition: CreateResourceResult.h:718
Aws::APIGateway::Model::CreateResourceResult::SetId
void SetId(const Aws::String &value)
Definition: CreateResourceResult.h:52
Aws::APIGateway::Model::CreateResourceResult::WithPath
CreateResourceResult & WithPath(Aws::String &&value)
Definition: CreateResourceResult.h:180
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::APIGateway::Model::CreateResourceResult::AddResourceMethods
CreateResourceResult & AddResourceMethods(Aws::String &&key, Method &&value)
Definition: CreateResourceResult.h:870
Aws::APIGateway::Model::CreateResourceResult::WithPath
CreateResourceResult & WithPath(const char *value)
Definition: CreateResourceResult.h:185
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::CreateResourceResult
Definition: CreateResourceResult.h:37
Aws::APIGateway::Model::CreateResourceResult::WithId
CreateResourceResult & WithId(const char *value)
Definition: CreateResourceResult.h:77
Aws::APIGateway::Model::CreateResourceResult::SetPath
void SetPath(const char *value)
Definition: CreateResourceResult.h:170
Aws::APIGateway::Model::CreateResourceResult::WithPathPart
CreateResourceResult & WithPathPart(const char *value)
Definition: CreateResourceResult.h:149
Aws::APIGateway::Model::CreateResourceResult::SetParentId
void SetParentId(const Aws::String &value)
Definition: CreateResourceResult.h:88
Aws::APIGateway::Model::CreateResourceResult::SetPath
void SetPath(Aws::String &&value)
Definition: CreateResourceResult.h:165
AWSMap.h
Aws::APIGateway::Model::CreateResourceResult::SetResourceMethods
void SetResourceMethods(const Aws::Map< Aws::String, Method > &value)
Definition: CreateResourceResult.h:338
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::APIGateway::Model::CreateResourceResult::GetResourceMethods
const Aws::Map< Aws::String, Method > & GetResourceMethods() const
Definition: CreateResourceResult.h:262