7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lightsail/model/ResourceType.h>
50 template<
typename ArnT = Aws::String>
51 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
52 template<
typename ArnT = Aws::String>
62 template<
typename NameT = Aws::String>
63 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
64 template<
typename NameT = Aws::String>
82 bool m_arnHasBeenSet =
false;
85 bool m_nameHasBeenSet =
false;
88 bool m_resourceTypeHasBeenSet =
false;
ResourceType GetResourceType() const
bool ResourceTypeHasBeenSet() const
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
MonitoredResourceInfo & WithResourceType(ResourceType value)
void SetResourceType(ResourceType value)
const Aws::String & GetName() const
const Aws::String & GetArn() const
void SetName(NameT &&value)
AWS_LIGHTSAIL_API MonitoredResourceInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
MonitoredResourceInfo & WithName(NameT &&value)
MonitoredResourceInfo & WithArn(ArnT &&value)
bool NameHasBeenSet() const
AWS_LIGHTSAIL_API MonitoredResourceInfo()=default
bool ArnHasBeenSet() const
void SetArn(ArnT &&value)
AWS_LIGHTSAIL_API MonitoredResourceInfo(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue