AWS SDK for C++  1.9.159
AWS SDK for C++
UpdateResourceResult.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 UpdateResourceResult& WithId(const Aws::String& value) { SetId(value); return *this;}
68 
72  inline UpdateResourceResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
73 
77  inline UpdateResourceResult& 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 UpdateResourceResult& WithParentId(const Aws::String& value) { SetParentId(value); return *this;}
104 
108  inline UpdateResourceResult& WithParentId(Aws::String&& value) { SetParentId(std::move(value)); return *this;}
109 
113  inline UpdateResourceResult& 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 UpdateResourceResult& WithPathPart(const Aws::String& value) { SetPathPart(value); return *this;}
140 
144  inline UpdateResourceResult& WithPathPart(Aws::String&& value) { SetPathPart(std::move(value)); return *this;}
145 
149  inline UpdateResourceResult& 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 UpdateResourceResult& WithPath(const Aws::String& value) { SetPath(value); return *this;}
176 
180  inline UpdateResourceResult& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
181 
185  inline UpdateResourceResult& 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 UpdateResourceResult& WithResourceMethods(const Aws::Map<Aws::String, Method>& value) { SetResourceMethods(value); return *this;}
491 
566  inline UpdateResourceResult& WithResourceMethods(Aws::Map<Aws::String, Method>&& value) { SetResourceMethods(std::move(value)); return *this;}
567 
642  inline UpdateResourceResult& AddResourceMethods(const Aws::String& key, const Method& value) { m_resourceMethods.emplace(key, value); return *this; }
643 
718  inline UpdateResourceResult& AddResourceMethods(Aws::String&& key, const Method& value) { m_resourceMethods.emplace(std::move(key), value); return *this; }
719 
794  inline UpdateResourceResult& AddResourceMethods(const Aws::String& key, Method&& value) { m_resourceMethods.emplace(key, std::move(value)); return *this; }
795 
870  inline UpdateResourceResult& AddResourceMethods(Aws::String&& key, Method&& value) { m_resourceMethods.emplace(std::move(key), std::move(value)); return *this; }
871 
946  inline UpdateResourceResult& AddResourceMethods(const char* key, Method&& value) { m_resourceMethods.emplace(key, std::move(value)); return *this; }
947 
1022  inline UpdateResourceResult& 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::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::APIGateway::Model::UpdateResourceResult::UpdateResourceResult
UpdateResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::UpdateResourceResult::WithPathPart
UpdateResourceResult & WithPathPart(Aws::String &&value)
Definition: UpdateResourceResult.h:144
Aws::APIGateway::Model::UpdateResourceResult::WithPath
UpdateResourceResult & WithPath(const char *value)
Definition: UpdateResourceResult.h:185
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::UpdateResourceResult::AddResourceMethods
UpdateResourceResult & AddResourceMethods(const char *key, Method &&value)
Definition: UpdateResourceResult.h:946
Aws::APIGateway::Model::UpdateResourceResult::SetPathPart
void SetPathPart(const char *value)
Definition: UpdateResourceResult.h:134
Aws::APIGateway::Model::UpdateResourceResult::AddResourceMethods
UpdateResourceResult & AddResourceMethods(Aws::String &&key, const Method &value)
Definition: UpdateResourceResult.h:718
Aws::APIGateway::Model::UpdateResourceResult::WithPath
UpdateResourceResult & WithPath(Aws::String &&value)
Definition: UpdateResourceResult.h:180
Aws::APIGateway::Model::UpdateResourceResult::GetPathPart
const Aws::String & GetPathPart() const
Definition: UpdateResourceResult.h:119
Aws::APIGateway::Model::UpdateResourceResult::SetPath
void SetPath(const Aws::String &value)
Definition: UpdateResourceResult.h:160
Aws::APIGateway::Model::UpdateResourceResult::SetPathPart
void SetPathPart(Aws::String &&value)
Definition: UpdateResourceResult.h:129
Aws::APIGateway::Model::UpdateResourceResult::WithId
UpdateResourceResult & WithId(Aws::String &&value)
Definition: UpdateResourceResult.h:72
Aws::APIGateway::Model::UpdateResourceResult::GetResourceMethods
const Aws::Map< Aws::String, Method > & GetResourceMethods() const
Definition: UpdateResourceResult.h:262
APIGateway_EXPORTS.h
Aws::APIGateway::Model::UpdateResourceResult::AddResourceMethods
UpdateResourceResult & AddResourceMethods(const Aws::String &key, const Method &value)
Definition: UpdateResourceResult.h:642
Aws::APIGateway::Model::UpdateResourceResult::WithPathPart
UpdateResourceResult & WithPathPart(const char *value)
Definition: UpdateResourceResult.h:149
Aws::APIGateway::Model::UpdateResourceResult::WithResourceMethods
UpdateResourceResult & WithResourceMethods(const Aws::Map< Aws::String, Method > &value)
Definition: UpdateResourceResult.h:490
Aws::APIGateway::Model::UpdateResourceResult::SetParentId
void SetParentId(Aws::String &&value)
Definition: UpdateResourceResult.h:93
Aws::APIGateway::Model::UpdateResourceResult::GetPath
const Aws::String & GetPath() const
Definition: UpdateResourceResult.h:155
Aws::APIGateway::Model::UpdateResourceResult::WithId
UpdateResourceResult & WithId(const Aws::String &value)
Definition: UpdateResourceResult.h:67
Aws::APIGateway::Model::UpdateResourceResult::SetParentId
void SetParentId(const char *value)
Definition: UpdateResourceResult.h:98
Aws::APIGateway::Model::UpdateResourceResult::SetPathPart
void SetPathPart(const Aws::String &value)
Definition: UpdateResourceResult.h:124
Aws::APIGateway::Model::UpdateResourceResult::UpdateResourceResult
UpdateResourceResult()
Method.h
Aws::APIGateway::Model::UpdateResourceResult::SetParentId
void SetParentId(const Aws::String &value)
Definition: UpdateResourceResult.h:88
AWSString.h
Aws::APIGateway::Model::UpdateResourceResult::WithParentId
UpdateResourceResult & WithParentId(const Aws::String &value)
Definition: UpdateResourceResult.h:103
Aws::APIGateway::Model::UpdateResourceResult::WithId
UpdateResourceResult & WithId(const char *value)
Definition: UpdateResourceResult.h:77
Aws::APIGateway::Model::UpdateResourceResult::WithResourceMethods
UpdateResourceResult & WithResourceMethods(Aws::Map< Aws::String, Method > &&value)
Definition: UpdateResourceResult.h:566
Aws::APIGateway::Model::Method
Definition: Method.h:121
Aws::APIGateway::Model::UpdateResourceResult::SetResourceMethods
void SetResourceMethods(const Aws::Map< Aws::String, Method > &value)
Definition: UpdateResourceResult.h:338
Aws::APIGateway::Model::UpdateResourceResult::WithPath
UpdateResourceResult & WithPath(const Aws::String &value)
Definition: UpdateResourceResult.h:175
Aws::APIGateway::Model::UpdateResourceResult::AddResourceMethods
UpdateResourceResult & AddResourceMethods(const Aws::String &key, Method &&value)
Definition: UpdateResourceResult.h:794
Aws::APIGateway::Model::UpdateResourceResult::WithParentId
UpdateResourceResult & WithParentId(Aws::String &&value)
Definition: UpdateResourceResult.h:108
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::UpdateResourceResult::AddResourceMethods
UpdateResourceResult & AddResourceMethods(Aws::String &&key, Method &&value)
Definition: UpdateResourceResult.h:870
Aws::APIGateway::Model::UpdateResourceResult::SetId
void SetId(const char *value)
Definition: UpdateResourceResult.h:62
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::UpdateResourceResult::SetPath
void SetPath(const char *value)
Definition: UpdateResourceResult.h:170
Aws::APIGateway::Model::UpdateResourceResult::SetPath
void SetPath(Aws::String &&value)
Definition: UpdateResourceResult.h:165
Aws::APIGateway::Model::UpdateResourceResult::SetId
void SetId(const Aws::String &value)
Definition: UpdateResourceResult.h:52
Aws::APIGateway::Model::UpdateResourceResult::SetId
void SetId(Aws::String &&value)
Definition: UpdateResourceResult.h:57
Aws::APIGateway::Model::UpdateResourceResult::SetResourceMethods
void SetResourceMethods(Aws::Map< Aws::String, Method > &&value)
Definition: UpdateResourceResult.h:414
Aws::APIGateway::Model::UpdateResourceResult::operator=
UpdateResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::APIGateway::Model::UpdateResourceResult::AddResourceMethods
UpdateResourceResult & AddResourceMethods(const char *key, const Method &value)
Definition: UpdateResourceResult.h:1022
Aws::APIGateway::Model::UpdateResourceResult::GetId
const Aws::String & GetId() const
Definition: UpdateResourceResult.h:47
Aws::APIGateway::Model::UpdateResourceResult::WithParentId
UpdateResourceResult & WithParentId(const char *value)
Definition: UpdateResourceResult.h:113
AWSMap.h
Aws::APIGateway::Model::UpdateResourceResult
Definition: UpdateResourceResult.h:37
Aws::APIGateway::Model::UpdateResourceResult::GetParentId
const Aws::String & GetParentId() const
Definition: UpdateResourceResult.h:83
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::APIGateway::Model::UpdateResourceResult::WithPathPart
UpdateResourceResult & WithPathPart(const Aws::String &value)
Definition: UpdateResourceResult.h:139