AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GeoMatchParams.h
1
6#pragma once
7#include <aws/chime/Chime_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 Chime
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CHIME_API GeoMatchParams();
38 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetCountry() const{ return m_country; }
46 inline bool CountryHasBeenSet() const { return m_countryHasBeenSet; }
47 inline void SetCountry(const Aws::String& value) { m_countryHasBeenSet = true; m_country = value; }
48 inline void SetCountry(Aws::String&& value) { m_countryHasBeenSet = true; m_country = std::move(value); }
49 inline void SetCountry(const char* value) { m_countryHasBeenSet = true; m_country.assign(value); }
50 inline GeoMatchParams& WithCountry(const Aws::String& value) { SetCountry(value); return *this;}
51 inline GeoMatchParams& WithCountry(Aws::String&& value) { SetCountry(std::move(value)); return *this;}
52 inline GeoMatchParams& WithCountry(const char* value) { SetCountry(value); return *this;}
54
56
59 inline const Aws::String& GetAreaCode() const{ return m_areaCode; }
60 inline bool AreaCodeHasBeenSet() const { return m_areaCodeHasBeenSet; }
61 inline void SetAreaCode(const Aws::String& value) { m_areaCodeHasBeenSet = true; m_areaCode = value; }
62 inline void SetAreaCode(Aws::String&& value) { m_areaCodeHasBeenSet = true; m_areaCode = std::move(value); }
63 inline void SetAreaCode(const char* value) { m_areaCodeHasBeenSet = true; m_areaCode.assign(value); }
64 inline GeoMatchParams& WithAreaCode(const Aws::String& value) { SetAreaCode(value); return *this;}
65 inline GeoMatchParams& WithAreaCode(Aws::String&& value) { SetAreaCode(std::move(value)); return *this;}
66 inline GeoMatchParams& WithAreaCode(const char* value) { SetAreaCode(value); return *this;}
68 private:
69
70 Aws::String m_country;
71 bool m_countryHasBeenSet = false;
72
73 Aws::String m_areaCode;
74 bool m_areaCodeHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Chime
79} // namespace Aws
GeoMatchParams & WithAreaCode(Aws::String &&value)
GeoMatchParams & WithCountry(const char *value)
GeoMatchParams & WithCountry(const Aws::String &value)
AWS_CHIME_API GeoMatchParams & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAreaCode() const
void SetAreaCode(Aws::String &&value)
void SetCountry(const Aws::String &value)
AWS_CHIME_API GeoMatchParams(Aws::Utils::Json::JsonView jsonValue)
GeoMatchParams & WithCountry(Aws::String &&value)
GeoMatchParams & WithAreaCode(const Aws::String &value)
const Aws::String & GetCountry() const
void SetAreaCode(const char *value)
GeoMatchParams & WithAreaCode(const char *value)
void SetCountry(const char *value)
void SetAreaCode(const Aws::String &value)
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCountry(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue