7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
49 template<
typename NameT = Aws::String>
59 template<
typename TypeT = Aws::String>
60 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
61 template<
typename TypeT = Aws::String>
71 template<
typename ValueT = Aws::String>
72 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
73 template<
typename ValueT = Aws::String>
79 bool m_nameHasBeenSet =
false;
82 bool m_typeHasBeenSet =
false;
85 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