7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/identitystore/IdentityStore_EXPORTS.h>
19namespace IdentityStore {
29 AWS_IDENTITYSTORE_API
Role() =
default;
40 template <
typename ValueT = Aws::String>
42 m_valueHasBeenSet =
true;
43 m_value = std::forward<ValueT>(value);
45 template <
typename ValueT = Aws::String>
47 SetValue(std::forward<ValueT>(value));
58 template <
typename TypeT = Aws::String>
60 m_typeHasBeenSet =
true;
61 m_type = std::forward<TypeT>(value);
63 template <
typename TypeT = Aws::String>
65 SetType(std::forward<TypeT>(value));
78 m_primaryHasBeenSet =
true;
91 bool m_primary{
false};
92 bool m_valueHasBeenSet =
false;
93 bool m_typeHasBeenSet =
false;
94 bool m_primaryHasBeenSet =
false;
void SetType(TypeT &&value)
void SetValue(ValueT &&value)
const Aws::String & GetValue() const
bool ValueHasBeenSet() const
const Aws::String & GetType() const
AWS_IDENTITYSTORE_API Role(Aws::Utils::Json::JsonView jsonValue)
bool TypeHasBeenSet() const
AWS_IDENTITYSTORE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IDENTITYSTORE_API Role()=default
Role & WithPrimary(bool value)
void SetPrimary(bool value)
bool PrimaryHasBeenSet() const
Role & WithType(TypeT &&value)
AWS_IDENTITYSTORE_API Role & operator=(Aws::Utils::Json::JsonView jsonValue)
Role & WithValue(ValueT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue