AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Country.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
31 class Country
32 {
33 public:
34 AWS_SECURITYHUB_API Country();
35 AWS_SECURITYHUB_API Country(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SECURITYHUB_API Country& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetCountryCode() const{ return m_countryCode; }
45 inline bool CountryCodeHasBeenSet() const { return m_countryCodeHasBeenSet; }
46 inline void SetCountryCode(const Aws::String& value) { m_countryCodeHasBeenSet = true; m_countryCode = value; }
47 inline void SetCountryCode(Aws::String&& value) { m_countryCodeHasBeenSet = true; m_countryCode = std::move(value); }
48 inline void SetCountryCode(const char* value) { m_countryCodeHasBeenSet = true; m_countryCode.assign(value); }
49 inline Country& WithCountryCode(const Aws::String& value) { SetCountryCode(value); return *this;}
50 inline Country& WithCountryCode(Aws::String&& value) { SetCountryCode(std::move(value)); return *this;}
51 inline Country& WithCountryCode(const char* value) { SetCountryCode(value); return *this;}
53
55
58 inline const Aws::String& GetCountryName() const{ return m_countryName; }
59 inline bool CountryNameHasBeenSet() const { return m_countryNameHasBeenSet; }
60 inline void SetCountryName(const Aws::String& value) { m_countryNameHasBeenSet = true; m_countryName = value; }
61 inline void SetCountryName(Aws::String&& value) { m_countryNameHasBeenSet = true; m_countryName = std::move(value); }
62 inline void SetCountryName(const char* value) { m_countryNameHasBeenSet = true; m_countryName.assign(value); }
63 inline Country& WithCountryName(const Aws::String& value) { SetCountryName(value); return *this;}
64 inline Country& WithCountryName(Aws::String&& value) { SetCountryName(std::move(value)); return *this;}
65 inline Country& WithCountryName(const char* value) { SetCountryName(value); return *this;}
67 private:
68
69 Aws::String m_countryCode;
70 bool m_countryCodeHasBeenSet = false;
71
72 Aws::String m_countryName;
73 bool m_countryNameHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace SecurityHub
78} // namespace Aws
Country & WithCountryCode(const char *value)
Definition Country.h:51
AWS_SECURITYHUB_API Country(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCountryName(const Aws::String &value)
Definition Country.h:60
void SetCountryCode(Aws::String &&value)
Definition Country.h:47
Country & WithCountryName(const char *value)
Definition Country.h:65
void SetCountryCode(const Aws::String &value)
Definition Country.h:46
const Aws::String & GetCountryName() const
Definition Country.h:58
const Aws::String & GetCountryCode() const
Definition Country.h:44
Country & WithCountryCode(const Aws::String &value)
Definition Country.h:49
void SetCountryCode(const char *value)
Definition Country.h:48
void SetCountryName(const char *value)
Definition Country.h:62
AWS_SECURITYHUB_API Country & operator=(Aws::Utils::Json::JsonView jsonValue)
Country & WithCountryName(const Aws::String &value)
Definition Country.h:63
void SetCountryName(Aws::String &&value)
Definition Country.h:61
AWS_SECURITYHUB_API Country()
Country & WithCountryName(Aws::String &&value)
Definition Country.h:64
bool CountryNameHasBeenSet() const
Definition Country.h:59
Country & WithCountryCode(Aws::String &&value)
Definition Country.h:50
bool CountryCodeHasBeenSet() const
Definition Country.h:45
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue