7#include <aws/ds/DirectoryService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace DirectoryService
46 template<
typename NameT = Aws::String>
47 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
48 template<
typename NameT = Aws::String>
58 template<
typename ValueT = Aws::String>
59 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
60 template<
typename ValueT = Aws::String>
66 bool m_nameHasBeenSet =
false;
69 bool m_valueHasBeenSet =
false;
const Aws::String & GetValue() const
AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetValue(ValueT &&value)
Attribute & WithName(NameT &&value)
const Aws::String & GetName() const
bool NameHasBeenSet() const
AWS_DIRECTORYSERVICE_API Attribute & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DIRECTORYSERVICE_API Attribute(Aws::Utils::Json::JsonView jsonValue)
Attribute & WithValue(ValueT &&value)
AWS_DIRECTORYSERVICE_API Attribute()=default
void SetName(NameT &&value)
bool ValueHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue