7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/shield/Shield_EXPORTS.h>
31 AWS_SHIELD_API
Contributor(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_SHIELD_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
62 inline long long GetValue()
const {
return m_value; }
65 m_valueHasBeenSet =
true;
77 bool m_nameHasBeenSet =
false;
78 bool m_valueHasBeenSet =
false;
Contributor & WithValue(long long value)
AWS_SHIELD_API Contributor & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_SHIELD_API Contributor(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_SHIELD_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::String & GetName() const
long long GetValue() const
bool NameHasBeenSet() const
Contributor & WithName(NameT &&value)
bool ValueHasBeenSet() const
void SetName(NameT &&value)
AWS_SHIELD_API Contributor()=default
void SetValue(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String