7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lightsail/model/ResourceType.h>
51 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
52 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
66 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
88 bool m_arnHasBeenSet =
false;
91 bool m_nameHasBeenSet =
false;
94 bool m_resourceTypeHasBeenSet =
false;
void SetResourceType(ResourceType &&value)
MonitoredResourceInfo & WithName(Aws::String &&value)
bool ResourceTypeHasBeenSet() const
void SetResourceType(const ResourceType &value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
MonitoredResourceInfo & WithResourceType(const ResourceType &value)
AWS_LIGHTSAIL_API MonitoredResourceInfo()
const ResourceType & GetResourceType() const
MonitoredResourceInfo & WithResourceType(ResourceType &&value)
void SetName(Aws::String &&value)
void SetName(const Aws::String &value)
const Aws::String & GetName() const
MonitoredResourceInfo & WithName(const Aws::String &value)
MonitoredResourceInfo & WithArn(const Aws::String &value)
MonitoredResourceInfo & WithName(const char *value)
void SetArn(const char *value)
const Aws::String & GetArn() const
AWS_LIGHTSAIL_API MonitoredResourceInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArn(const Aws::String &value)
MonitoredResourceInfo & WithArn(const char *value)
MonitoredResourceInfo & WithArn(Aws::String &&value)
void SetArn(Aws::String &&value)
bool NameHasBeenSet() const
bool ArnHasBeenSet() const
AWS_LIGHTSAIL_API MonitoredResourceInfo(Aws::Utils::Json::JsonView jsonValue)
void SetName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue