7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
11#include <aws/verifiedpermissions/model/EntityIdentifier.h>
22namespace VerifiedPermissions {
56 m_booleanHasBeenSet =
true;
74 template <
typename EntityIdentifierT = EntityIdentifier>
76 m_entityIdentifierHasBeenSet =
true;
77 m_entityIdentifier = std::forward<EntityIdentifierT>(value);
79 template <
typename EntityIdentifierT = EntityIdentifier>
92 inline long long GetLong()
const {
return m_long; }
95 m_longHasBeenSet =
true;
112 template <
typename StringT = Aws::String>
114 m_stringHasBeenSet =
true;
115 m_string = std::forward<StringT>(value);
117 template <
typename StringT = Aws::String>
132 template <
typename SetT = Aws::Vector<AttributeValue>>
134 m_setHasBeenSet =
true;
135 m_set = std::forward<SetT>(value);
137 template <
typename SetT = Aws::Vector<AttributeValue>>
139 SetSet(std::forward<SetT>(value));
142 template <
typename SetT = AttributeValue>
144 m_setHasBeenSet =
true;
145 m_set.emplace_back(std::forward<SetT>(value));
158 template <
typename RecordT = Aws::Map<Aws::String, AttributeValue>>
160 m_recordHasBeenSet =
true;
161 m_record = std::forward<RecordT>(value);
163 template <
typename RecordT = Aws::Map<Aws::String, AttributeValue>>
168 template <
typename RecordKeyT = Aws::String,
typename RecordValueT = AttributeValue>
170 m_recordHasBeenSet =
true;
171 m_record.emplace(std::forward<RecordKeyT>(key), std::forward<RecordValueT>(value));
184 template <
typename IpaddrT = Aws::String>
186 m_ipaddrHasBeenSet =
true;
187 m_ipaddr = std::forward<IpaddrT>(value);
189 template <
typename IpaddrT = Aws::String>
204 template <
typename DecimalT = Aws::String>
206 m_decimalHasBeenSet =
true;
207 m_decimal = std::forward<DecimalT>(value);
209 template <
typename DecimalT = Aws::String>
224 template <
typename DatetimeT = Aws::String>
226 m_datetimeHasBeenSet =
true;
227 m_datetime = std::forward<DatetimeT>(value);
229 template <
typename DatetimeT = Aws::String>
244 template <
typename DurationT = Aws::String>
246 m_durationHasBeenSet =
true;
247 m_duration = std::forward<DurationT>(value);
249 template <
typename DurationT = Aws::String>
256 bool m_boolean{
false};
258 EntityIdentifier m_entityIdentifier;
275 bool m_booleanHasBeenSet =
false;
276 bool m_entityIdentifierHasBeenSet =
false;
277 bool m_longHasBeenSet =
false;
278 bool m_stringHasBeenSet =
false;
279 bool m_setHasBeenSet =
false;
280 bool m_recordHasBeenSet =
false;
281 bool m_ipaddrHasBeenSet =
false;
282 bool m_decimalHasBeenSet =
false;
283 bool m_datetimeHasBeenSet =
false;
284 bool m_durationHasBeenSet =
false;
bool SetHasBeenSet() const
const Aws::String & GetDuration() 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 & GetDatetime() const
bool DurationHasBeenSet() const
const Aws::String & GetDecimal() const
void SetDecimal(DecimalT &&value)
AttributeValue & AddRecord(RecordKeyT &&key, RecordValueT &&value)
bool DatetimeHasBeenSet() const
AttributeValue & WithLong(long long value)
AWS_VERIFIEDPERMISSIONS_API AttributeValue(Aws::Utils::Json::JsonView jsonValue)
AttributeValue & WithSet(SetT &&value)
void SetRecord(RecordT &&value)
AttributeValue & WithDatetime(DatetimeT &&value)
bool StringHasBeenSet() const
void SetDuration(DurationT &&value)
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
void SetDatetime(DatetimeT &&value)
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 & WithDuration(DurationT &&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