7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/shield/Shield_EXPORTS.h>
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 Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetName() const
AWS_SHIELD_API Contributor & operator=(Aws::Utils::Json::JsonView jsonValue)
long long GetValue() const
bool NameHasBeenSet() const
Contributor & WithName(NameT &&value)
bool ValueHasBeenSet() const
void SetName(NameT &&value)
AWS_SHIELD_API Contributor()=default
AWS_SHIELD_API Contributor(Aws::Utils::Json::JsonView jsonValue)
void SetValue(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue