7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename CodeT = Aws::String>
49 void SetCode(CodeT&& value) { m_codeHasBeenSet =
true; m_code = std::forward<CodeT>(value); }
50 template<
typename CodeT = Aws::String>
60 template<
typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
62 template<
typename NameT = Aws::String>
68 bool m_codeHasBeenSet =
false;
71 bool m_nameHasBeenSet =
false;
const Aws::String & GetName() const
IpCountry & WithName(NameT &&value)
AWS_MACIE2_API IpCountry()=default
bool NameHasBeenSet() const
AWS_MACIE2_API IpCountry(Aws::Utils::Json::JsonView jsonValue)
IpCountry & WithCode(CodeT &&value)
void SetCode(CodeT &&value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MACIE2_API IpCountry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
bool CodeHasBeenSet() const
const Aws::String & GetCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue