7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/model/Method.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
42 template <
typename IdT = Aws::String>
44 m_idHasBeenSet =
true;
45 m_id = std::forward<IdT>(value);
47 template <
typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
59 template <
typename ParentIdT = Aws::String>
61 m_parentIdHasBeenSet =
true;
62 m_parentId = std::forward<ParentIdT>(value);
64 template <
typename ParentIdT = Aws::String>
76 template <
typename PathPartT = Aws::String>
78 m_pathPartHasBeenSet =
true;
79 m_pathPart = std::forward<PathPartT>(value);
81 template <
typename PathPartT = Aws::String>
93 template <
typename PathT = Aws::String>
95 m_pathHasBeenSet =
true;
96 m_path = std::forward<PathT>(value);
98 template <
typename PathT = Aws::String>
100 SetPath(std::forward<PathT>(value));
110 template <
typename ResourceMethodsT = Aws::Map<Aws::String, Method>>
112 m_resourceMethodsHasBeenSet =
true;
113 m_resourceMethods = std::forward<ResourceMethodsT>(value);
115 template <
typename ResourceMethodsT = Aws::Map<Aws::String, Method>>
120 template <
typename ResourceMethodsKeyT = Aws::String,
typename ResourceMethodsValueT = Method>
122 m_resourceMethodsHasBeenSet =
true;
123 m_resourceMethods.emplace(std::forward<ResourceMethodsKeyT>(key), std::forward<ResourceMethodsValueT>(value));
131 template <
typename RequestIdT = Aws::String>
133 m_requestIdHasBeenSet =
true;
134 m_requestId = std::forward<RequestIdT>(value);
136 template <
typename RequestIdT = Aws::String>
157 bool m_idHasBeenSet =
false;
158 bool m_parentIdHasBeenSet =
false;
159 bool m_pathPartHasBeenSet =
false;
160 bool m_pathHasBeenSet =
false;
161 bool m_resourceMethodsHasBeenSet =
false;
162 bool m_requestIdHasBeenSet =
false;
void SetPath(PathT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetResourceResult & WithPath(PathT &&value)
GetResourceResult & WithResourceMethods(ResourceMethodsT &&value)
const Aws::Map< Aws::String, Method > & GetResourceMethods() const
GetResourceResult & WithParentId(ParentIdT &&value)
void SetResourceMethods(ResourceMethodsT &&value)
GetResourceResult & WithId(IdT &&value)
AWS_APIGATEWAY_API GetResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetParentId(ParentIdT &&value)
GetResourceResult & WithRequestId(RequestIdT &&value)
AWS_APIGATEWAY_API GetResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetPathPart(PathPartT &&value)
GetResourceResult & WithPathPart(PathPartT &&value)
const Aws::String & GetPathPart() const
const Aws::String & GetId() const
const Aws::String & GetPath() const
void SetRequestId(RequestIdT &&value)
const Aws::String & GetParentId() const
const Aws::String & GetRequestId() const
GetResourceResult & AddResourceMethods(ResourceMethodsKeyT &&key, ResourceMethodsValueT &&value)
AWS_APIGATEWAY_API GetResourceResult()=default
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue