7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
39 AWS_GAMELIFT_API
GameProperty(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
41 AWS_GAMELIFT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
56 template <
typename KeyT = Aws::String>
58 m_keyHasBeenSet =
true;
59 m_key = std::forward<KeyT>(value);
61 template <
typename KeyT = Aws::String>
63 SetKey(std::forward<KeyT>(value));
74 template <
typename ValueT = Aws::String>
76 m_valueHasBeenSet =
true;
77 m_value = std::forward<ValueT>(value);
79 template <
typename ValueT = Aws::String>
81 SetValue(std::forward<ValueT>(value));
89 bool m_keyHasBeenSet =
false;
90 bool m_valueHasBeenSet =
false;
GameProperty & WithValue(ValueT &&value)
void SetKey(KeyT &&value)
const Aws::String & GetValue() const
void SetValue(ValueT &&value)
const Aws::String & GetKey() const
AWS_GAMELIFT_API GameProperty(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_GAMELIFT_API GameProperty()=default
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool ValueHasBeenSet() const
GameProperty & WithKey(KeyT &&value)
AWS_GAMELIFT_API GameProperty & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool KeyHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String