7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lightsail/Lightsail_EXPORTS.h>
41 template <
typename NameT = Aws::String>
43 m_nameHasBeenSet =
true;
44 m_name = std::forward<NameT>(value);
46 template <
typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
59 template <
typename TypeT = Aws::String>
61 m_typeHasBeenSet =
true;
62 m_type = std::forward<TypeT>(value);
64 template <
typename TypeT = Aws::String>
66 SetType(std::forward<TypeT>(value));
77 template <
typename ValueT = Aws::String>
79 m_valueHasBeenSet =
true;
80 m_value = std::forward<ValueT>(value);
82 template <
typename ValueT = Aws::String>
84 SetValue(std::forward<ValueT>(value));
94 bool m_nameHasBeenSet =
false;
95 bool m_typeHasBeenSet =
false;
96 bool m_valueHasBeenSet =
false;
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceRecord & WithName(NameT &&value)
bool ValueHasBeenSet() const
AWS_LIGHTSAIL_API ResourceRecord & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetValue(ValueT &&value)
AWS_LIGHTSAIL_API ResourceRecord(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
bool TypeHasBeenSet() const
const Aws::String & GetType() const
bool NameHasBeenSet() const
ResourceRecord & WithType(TypeT &&value)
AWS_LIGHTSAIL_API ResourceRecord()=default
void SetType(TypeT &&value)
const Aws::String & GetValue() const
void SetName(NameT &&value)
ResourceRecord & WithValue(ValueT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue