7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/apigateway/model/Method.h>
49 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
50 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
64 inline void SetParentId(
const char* value) { m_parentIdHasBeenSet =
true; m_parentId.assign(value); }
78 inline void SetPathPart(
const char* value) { m_pathPartHasBeenSet =
true; m_pathPart.assign(value); }
92 inline void SetPath(
const char* value) { m_pathHasBeenSet =
true; m_path.assign(value); }
112 inline Resource&
AddResourceMethods(
const char* key,
Method&& value) { m_resourceMethodsHasBeenSet =
true; m_resourceMethods.emplace(key, std::move(value));
return *
this; }
122 inline void SetRequestId(
const char* value) { m_requestIdHasBeenSet =
true; m_requestId.assign(value); }
130 bool m_idHasBeenSet =
false;
133 bool m_parentIdHasBeenSet =
false;
136 bool m_pathPartHasBeenSet =
false;
139 bool m_pathHasBeenSet =
false;
142 bool m_resourceMethodsHasBeenSet =
false;
145 bool m_requestIdHasBeenSet =
false;
AWS_APIGATEWAY_API Resource()
bool IdHasBeenSet() const
bool PathHasBeenSet() const
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetPath() const
Resource & AddResourceMethods(const char *key, Method &&value)
void SetParentId(Aws::String &&value)
AWS_APIGATEWAY_API Resource(Aws::Utils::Json::JsonView jsonValue)
void SetPathPart(const char *value)
Resource & WithParentId(Aws::String &&value)
Resource & WithResourceMethods(Aws::Map< Aws::String, Method > &&value)
void SetRequestId(Aws::String &&value)
Resource & WithPath(const char *value)
Resource & WithRequestId(Aws::String &&value)
Resource & WithPath(const Aws::String &value)
Resource & WithPathPart(const Aws::String &value)
void SetResourceMethods(Aws::Map< Aws::String, Method > &&value)
AWS_APIGATEWAY_API Resource & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RequestIdHasBeenSet() const
Resource & AddResourceMethods(const Aws::String &key, const Method &value)
Resource & WithId(const char *value)
bool PathPartHasBeenSet() const
Resource & WithParentId(const Aws::String &value)
const Aws::String & GetId() const
Resource & WithRequestId(const Aws::String &value)
Resource & AddResourceMethods(Aws::String &&key, Method &&value)
Resource & WithPathPart(Aws::String &&value)
Resource & AddResourceMethods(Aws::String &&key, const Method &value)
Resource & WithParentId(const char *value)
void SetRequestId(const char *value)
void SetId(const Aws::String &value)
void SetParentId(const Aws::String &value)
const Aws::String & GetPathPart() const
Resource & WithRequestId(const char *value)
Resource & WithId(Aws::String &&value)
void SetPath(const Aws::String &value)
Resource & AddResourceMethods(const Aws::String &key, Method &&value)
void SetPath(Aws::String &&value)
Resource & WithId(const Aws::String &value)
bool ResourceMethodsHasBeenSet() const
Resource & WithPath(Aws::String &&value)
const Aws::Map< Aws::String, Method > & GetResourceMethods() const
void SetId(const char *value)
void SetParentId(const char *value)
void SetResourceMethods(const Aws::Map< Aws::String, Method > &value)
bool ParentIdHasBeenSet() const
void SetId(Aws::String &&value)
void SetPathPart(Aws::String &&value)
void SetPath(const char *value)
Resource & WithPathPart(const char *value)
const Aws::String & GetRequestId() const
Resource & WithResourceMethods(const Aws::Map< Aws::String, Method > &value)
void SetRequestId(const Aws::String &value)
Resource & AddResourceMethods(const char *key, const Method &value)
const Aws::String & GetParentId() const
void SetPathPart(const Aws::String &value)
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