7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/greengrass/model/ResourceDataContainer.h>
50 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
51 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
67 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
87 bool m_idHasBeenSet =
false;
90 bool m_nameHasBeenSet =
false;
93 bool m_resourceDataContainerHasBeenSet =
false;
Resource & WithName(Aws::String &&value)
Resource & WithName(const char *value)
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const Aws::String &value)
Resource & WithResourceDataContainer(ResourceDataContainer &&value)
void SetId(Aws::String &&value)
AWS_GREENGRASS_API Resource(Aws::Utils::Json::JsonView jsonValue)
void SetId(const char *value)
void SetResourceDataContainer(ResourceDataContainer &&value)
Resource & WithName(const Aws::String &value)
bool ResourceDataContainerHasBeenSet() const
void SetName(const char *value)
const Aws::String & GetId() const
void SetResourceDataContainer(const ResourceDataContainer &value)
void SetName(Aws::String &&value)
Resource & WithId(const Aws::String &value)
bool IdHasBeenSet() const
Resource & WithId(Aws::String &&value)
void SetId(const Aws::String &value)
AWS_GREENGRASS_API Resource & operator=(Aws::Utils::Json::JsonView jsonValue)
const ResourceDataContainer & GetResourceDataContainer() const
bool NameHasBeenSet() const
Resource & WithResourceDataContainer(const ResourceDataContainer &value)
const Aws::String & GetName() const
AWS_GREENGRASS_API Resource()
Resource & WithId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue