7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/model/Method.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
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));
60 template <
typename ParentIdT = Aws::String>
62 m_parentIdHasBeenSet =
true;
63 m_parentId = std::forward<ParentIdT>(value);
65 template <
typename ParentIdT = Aws::String>
78 template <
typename PathPartT = Aws::String>
80 m_pathPartHasBeenSet =
true;
81 m_pathPart = std::forward<PathPartT>(value);
83 template <
typename PathPartT = Aws::String>
96 template <
typename PathT = Aws::String>
98 m_pathHasBeenSet =
true;
99 m_path = std::forward<PathT>(value);
101 template <
typename PathT = Aws::String>
103 SetPath(std::forward<PathT>(value));
114 template <
typename ResourceMethodsT = Aws::Map<Aws::String, Method>>
116 m_resourceMethodsHasBeenSet =
true;
117 m_resourceMethods = std::forward<ResourceMethodsT>(value);
119 template <
typename ResourceMethodsT = Aws::Map<Aws::String, Method>>
124 template <
typename ResourceMethodsKeyT = Aws::String,
typename ResourceMethodsValueT = Method>
126 m_resourceMethodsHasBeenSet =
true;
127 m_resourceMethods.emplace(std::forward<ResourceMethodsKeyT>(key), std::forward<ResourceMethodsValueT>(value));
136 template <
typename RequestIdT = Aws::String>
138 m_requestIdHasBeenSet =
true;
139 m_requestId = std::forward<RequestIdT>(value);
141 template <
typename RequestIdT = Aws::String>
159 bool m_idHasBeenSet =
false;
160 bool m_parentIdHasBeenSet =
false;
161 bool m_pathPartHasBeenSet =
false;
162 bool m_pathHasBeenSet =
false;
163 bool m_resourceMethodsHasBeenSet =
false;
164 bool m_requestIdHasBeenSet =
false;
bool IdHasBeenSet() const
bool PathHasBeenSet() const
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetPath() const
AWS_APIGATEWAY_API Resource(Aws::Utils::Json::JsonView jsonValue)
AWS_APIGATEWAY_API Resource & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RequestIdHasBeenSet() const
bool PathPartHasBeenSet() const
Resource & WithPath(PathT &&value)
Resource & WithRequestId(RequestIdT &&value)
const Aws::String & GetId() const
Resource & WithResourceMethods(ResourceMethodsT &&value)
void SetResourceMethods(ResourceMethodsT &&value)
Resource & AddResourceMethods(ResourceMethodsKeyT &&key, ResourceMethodsValueT &&value)
Resource & WithPathPart(PathPartT &&value)
const Aws::String & GetPathPart() const
void SetPath(PathT &&value)
Resource & WithParentId(ParentIdT &&value)
void SetRequestId(RequestIdT &&value)
void SetParentId(ParentIdT &&value)
bool ResourceMethodsHasBeenSet() const
const Aws::Map< Aws::String, Method > & GetResourceMethods() const
Resource & WithId(IdT &&value)
AWS_APIGATEWAY_API Resource()=default
bool ParentIdHasBeenSet() const
const Aws::String & GetRequestId() const
void SetPathPart(PathPartT &&value)
const Aws::String & GetParentId() const
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