7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/verifiedpermissions/model/EntityIdentifier.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
24namespace VerifiedPermissions
61 inline void SetBoolean(
bool value) { m_booleanHasBeenSet =
true; m_boolean = value; }
74 template<
typename EntityIdentifierT = EntityIdentifier>
75 void SetEntityIdentifier(EntityIdentifierT&& value) { m_entityIdentifierHasBeenSet =
true; m_entityIdentifier = std::forward<EntityIdentifierT>(value); }
76 template<
typename EntityIdentifierT = EntityIdentifier>
86 inline long long GetLong()
const {
return m_long; }
88 inline void SetLong(
long long value) { m_longHasBeenSet =
true; m_long = value; }
100 template<
typename StringT = Aws::String>
101 void SetString(StringT&& value) { m_stringHasBeenSet =
true; m_string = std::forward<StringT>(value); }
102 template<
typename StringT = Aws::String>
114 template<
typename SetT = Aws::Vector<AttributeValue>>
115 void SetSet(SetT&& value) { m_setHasBeenSet =
true; m_set = std::forward<SetT>(value); }
116 template<
typename SetT = Aws::Vector<AttributeValue>>
118 template<
typename SetT = AttributeValue>
119 AttributeValue&
AddSet(SetT&& value) { m_setHasBeenSet =
true; m_set.emplace_back(std::forward<SetT>(value));
return *
this; }
130 template<
typename RecordT = Aws::Map<Aws::String, AttributeValue>>
131 void SetRecord(RecordT&& value) { m_recordHasBeenSet =
true; m_record = std::forward<RecordT>(value); }
132 template<
typename RecordT = Aws::Map<Aws::String, AttributeValue>>
134 template<
typename RecordKeyT = Aws::String,
typename RecordValueT = AttributeValue>
136 m_recordHasBeenSet =
true; m_record.emplace(std::forward<RecordKeyT>(key), std::forward<RecordValueT>(value));
return *
this;
148 template<
typename IpaddrT = Aws::String>
149 void SetIpaddr(IpaddrT&& value) { m_ipaddrHasBeenSet =
true; m_ipaddr = std::forward<IpaddrT>(value); }
150 template<
typename IpaddrT = Aws::String>
162 template<
typename DecimalT = Aws::String>
163 void SetDecimal(DecimalT&& value) { m_decimalHasBeenSet =
true; m_decimal = std::forward<DecimalT>(value); }
164 template<
typename DecimalT = Aws::String>
169 bool m_boolean{
false};
170 bool m_booleanHasBeenSet =
false;
172 EntityIdentifier m_entityIdentifier;
173 bool m_entityIdentifierHasBeenSet =
false;
176 bool m_longHasBeenSet =
false;
179 bool m_stringHasBeenSet =
false;
182 bool m_setHasBeenSet =
false;
185 bool m_recordHasBeenSet =
false;
188 bool m_ipaddrHasBeenSet =
false;
191 bool m_decimalHasBeenSet =
false;
bool SetHasBeenSet() const
long long GetLong() const
void SetEntityIdentifier(EntityIdentifierT &&value)
bool LongHasBeenSet() const
AttributeValue & AddSet(SetT &&value)
AttributeValue & WithIpaddr(IpaddrT &&value)
const EntityIdentifier & GetEntityIdentifier() const
const Aws::Map< Aws::String, AttributeValue > & GetRecord() const
bool EntityIdentifierHasBeenSet() const
const Aws::String & GetDecimal() const
void SetDecimal(DecimalT &&value)
AttributeValue & AddRecord(RecordKeyT &&key, RecordValueT &&value)
AttributeValue & WithLong(long long value)
AWS_VERIFIEDPERMISSIONS_API AttributeValue(Aws::Utils::Json::JsonView jsonValue)
AttributeValue & WithSet(SetT &&value)
void SetRecord(RecordT &&value)
bool StringHasBeenSet() const
void SetIpaddr(IpaddrT &&value)
bool IpaddrHasBeenSet() const
const Aws::Vector< AttributeValue > & GetSet() const
void SetString(StringT &&value)
const Aws::String & GetIpaddr() const
AttributeValue & WithBoolean(bool value)
AWS_VERIFIEDPERMISSIONS_API AttributeValue()=default
AWS_VERIFIEDPERMISSIONS_API AttributeValue & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RecordHasBeenSet() const
void SetBoolean(bool value)
AttributeValue & WithString(StringT &&value)
AttributeValue & WithDecimal(DecimalT &&value)
AttributeValue & WithRecord(RecordT &&value)
void SetLong(long long value)
bool BooleanHasBeenSet() const
bool DecimalHasBeenSet() const
void SetSet(SetT &&value)
const Aws::String & GetString() const
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AttributeValue & WithEntityIdentifier(EntityIdentifierT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue