7#include <aws/workdocs/WorkDocs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
48 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
62 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
70 bool m_idHasBeenSet =
false;
73 bool m_nameHasBeenSet =
false;
ResourcePathComponent & WithName(const char *value)
AWS_WORKDOCS_API ResourcePathComponent(Aws::Utils::Json::JsonView jsonValue)
ResourcePathComponent & WithId(const char *value)
ResourcePathComponent & WithId(Aws::String &&value)
bool IdHasBeenSet() const
void SetId(Aws::String &&value)
const Aws::String & GetId() const
bool NameHasBeenSet() const
void SetName(Aws::String &&value)
void SetId(const Aws::String &value)
void SetName(const Aws::String &value)
AWS_WORKDOCS_API Aws::Utils::Json::JsonValue Jsonize() const
ResourcePathComponent & WithName(Aws::String &&value)
AWS_WORKDOCS_API ResourcePathComponent()
const Aws::String & GetName() const
void SetId(const char *value)
void SetName(const char *value)
ResourcePathComponent & WithId(const Aws::String &value)
AWS_WORKDOCS_API ResourcePathComponent & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourcePathComponent & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue