7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lightsail/Lightsail_EXPORTS.h>
9#include <aws/lightsail/model/ResourceType.h>
44 template <
typename ArnT = Aws::String>
46 m_arnHasBeenSet =
true;
47 m_arn = std::forward<ArnT>(value);
49 template <
typename ArnT = Aws::String>
51 SetArn(std::forward<ArnT>(value));
62 template <
typename NameT = Aws::String>
64 m_nameHasBeenSet =
true;
65 m_name = std::forward<NameT>(value);
67 template <
typename NameT = Aws::String>
69 SetName(std::forward<NameT>(value));
83 m_resourceTypeHasBeenSet =
true;
84 m_resourceType = value;
93 bool m_arnHasBeenSet =
false;
96 bool m_nameHasBeenSet =
false;
99 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