7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
51 template<
typename ST = Aws::String>
52 void SetS(ST&& value) { m_sHasBeenSet =
true; m_s = std::forward<ST>(value); }
53 template<
typename ST = Aws::String>
61 inline double GetN()
const {
return m_n; }
63 inline void SetN(
double value) { m_nHasBeenSet =
true; m_n = value; }
75 template<
typename SLT = Aws::Vector<Aws::String>>
76 void SetSL(SLT&& value) { m_sLHasBeenSet =
true; m_sL = std::forward<SLT>(value); }
77 template<
typename SLT = Aws::Vector<Aws::String>>
79 template<
typename SLT = Aws::String>
80 AttributeValue&
AddSL(SLT&& value) { m_sLHasBeenSet =
true; m_sL.emplace_back(std::forward<SLT>(value));
return *
this; }
90 template<
typename SDMT = Aws::Map<Aws::String,
double>>
91 void SetSDM(SDMT&& value) { m_sDMHasBeenSet =
true; m_sDM = std::forward<SDMT>(value); }
92 template<
typename SDMT = Aws::Map<Aws::String,
double>>
95 m_sDMHasBeenSet =
true; m_sDM.emplace(key, value);
return *
this;
101 bool m_sHasBeenSet =
false;
104 bool m_nHasBeenSet =
false;
107 bool m_sLHasBeenSet =
false;
110 bool m_sDMHasBeenSet =
false;
AttributeValue & WithS(ST &&value)
const Aws::Vector< Aws::String > & GetSL() const
AWS_GAMELIFT_API AttributeValue(Aws::Utils::Json::JsonView jsonValue)
AttributeValue & WithN(double value)
bool SLHasBeenSet() const
const Aws::Map< Aws::String, double > & GetSDM() const
AttributeValue & AddSL(SLT &&value)
AWS_GAMELIFT_API Aws::Utils::Json::JsonValue Jsonize() const
AttributeValue & AddSDM(Aws::String key, double value)
void SetSDM(SDMT &&value)
AttributeValue & WithSL(SLT &&value)
bool SDMHasBeenSet() const
AWS_GAMELIFT_API AttributeValue & operator=(Aws::Utils::Json::JsonView jsonValue)
AttributeValue & WithSDM(SDMT &&value)
const Aws::String & GetS() const
AWS_GAMELIFT_API AttributeValue()=default
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