7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
63 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
71 bool m_nameHasBeenSet =
false;
74 bool m_resourceTypeHasBeenSet =
false;
AWS_LIGHTSAIL_API ResourceReceivingAccess(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
void SetResourceType(Aws::String &&value)
ResourceReceivingAccess & WithName(const Aws::String &value)
void SetName(Aws::String &&value)
void SetResourceType(const Aws::String &value)
void SetName(const char *value)
ResourceReceivingAccess & WithName(Aws::String &&value)
ResourceReceivingAccess & WithResourceType(const char *value)
AWS_LIGHTSAIL_API ResourceReceivingAccess()
ResourceReceivingAccess & WithResourceType(const Aws::String &value)
const Aws::String & GetName() const
void SetResourceType(const char *value)
bool ResourceTypeHasBeenSet() const
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LIGHTSAIL_API ResourceReceivingAccess & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceReceivingAccess & WithName(const char *value)
bool NameHasBeenSet() const
const Aws::String & GetResourceType() const
ResourceReceivingAccess & WithResourceType(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue