AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Proxy.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Chime
23{
24namespace Model
25{
26
33 class Proxy
34 {
35 public:
36 AWS_CHIME_API Proxy();
37 AWS_CHIME_API Proxy(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CHIME_API Proxy& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline int GetDefaultSessionExpiryMinutes() const{ return m_defaultSessionExpiryMinutes; }
47 inline bool DefaultSessionExpiryMinutesHasBeenSet() const { return m_defaultSessionExpiryMinutesHasBeenSet; }
48 inline void SetDefaultSessionExpiryMinutes(int value) { m_defaultSessionExpiryMinutesHasBeenSet = true; m_defaultSessionExpiryMinutes = value; }
49 inline Proxy& WithDefaultSessionExpiryMinutes(int value) { SetDefaultSessionExpiryMinutes(value); return *this;}
51
53
57 inline bool GetDisabled() const{ return m_disabled; }
58 inline bool DisabledHasBeenSet() const { return m_disabledHasBeenSet; }
59 inline void SetDisabled(bool value) { m_disabledHasBeenSet = true; m_disabled = value; }
60 inline Proxy& WithDisabled(bool value) { SetDisabled(value); return *this;}
62
64
67 inline const Aws::String& GetFallBackPhoneNumber() const{ return m_fallBackPhoneNumber; }
68 inline bool FallBackPhoneNumberHasBeenSet() const { return m_fallBackPhoneNumberHasBeenSet; }
69 inline void SetFallBackPhoneNumber(const Aws::String& value) { m_fallBackPhoneNumberHasBeenSet = true; m_fallBackPhoneNumber = value; }
70 inline void SetFallBackPhoneNumber(Aws::String&& value) { m_fallBackPhoneNumberHasBeenSet = true; m_fallBackPhoneNumber = std::move(value); }
71 inline void SetFallBackPhoneNumber(const char* value) { m_fallBackPhoneNumberHasBeenSet = true; m_fallBackPhoneNumber.assign(value); }
72 inline Proxy& WithFallBackPhoneNumber(const Aws::String& value) { SetFallBackPhoneNumber(value); return *this;}
73 inline Proxy& WithFallBackPhoneNumber(Aws::String&& value) { SetFallBackPhoneNumber(std::move(value)); return *this;}
74 inline Proxy& WithFallBackPhoneNumber(const char* value) { SetFallBackPhoneNumber(value); return *this;}
76
78
81 inline const Aws::Vector<Aws::String>& GetPhoneNumberCountries() const{ return m_phoneNumberCountries; }
82 inline bool PhoneNumberCountriesHasBeenSet() const { return m_phoneNumberCountriesHasBeenSet; }
83 inline void SetPhoneNumberCountries(const Aws::Vector<Aws::String>& value) { m_phoneNumberCountriesHasBeenSet = true; m_phoneNumberCountries = value; }
84 inline void SetPhoneNumberCountries(Aws::Vector<Aws::String>&& value) { m_phoneNumberCountriesHasBeenSet = true; m_phoneNumberCountries = std::move(value); }
86 inline Proxy& WithPhoneNumberCountries(Aws::Vector<Aws::String>&& value) { SetPhoneNumberCountries(std::move(value)); return *this;}
87 inline Proxy& AddPhoneNumberCountries(const Aws::String& value) { m_phoneNumberCountriesHasBeenSet = true; m_phoneNumberCountries.push_back(value); return *this; }
88 inline Proxy& AddPhoneNumberCountries(Aws::String&& value) { m_phoneNumberCountriesHasBeenSet = true; m_phoneNumberCountries.push_back(std::move(value)); return *this; }
89 inline Proxy& AddPhoneNumberCountries(const char* value) { m_phoneNumberCountriesHasBeenSet = true; m_phoneNumberCountries.push_back(value); return *this; }
91 private:
92
93 int m_defaultSessionExpiryMinutes;
94 bool m_defaultSessionExpiryMinutesHasBeenSet = false;
95
96 bool m_disabled;
97 bool m_disabledHasBeenSet = false;
98
99 Aws::String m_fallBackPhoneNumber;
100 bool m_fallBackPhoneNumberHasBeenSet = false;
101
102 Aws::Vector<Aws::String> m_phoneNumberCountries;
103 bool m_phoneNumberCountriesHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace Chime
108} // namespace Aws
void SetPhoneNumberCountries(const Aws::Vector< Aws::String > &value)
Definition Proxy.h:83
Proxy & AddPhoneNumberCountries(const Aws::String &value)
Definition Proxy.h:87
int GetDefaultSessionExpiryMinutes() const
Definition Proxy.h:46
AWS_CHIME_API Proxy()
bool DefaultSessionExpiryMinutesHasBeenSet() const
Definition Proxy.h:47
Proxy & WithPhoneNumberCountries(const Aws::Vector< Aws::String > &value)
Definition Proxy.h:85
const Aws::Vector< Aws::String > & GetPhoneNumberCountries() const
Definition Proxy.h:81
Proxy & WithDisabled(bool value)
Definition Proxy.h:60
bool FallBackPhoneNumberHasBeenSet() const
Definition Proxy.h:68
Proxy & WithFallBackPhoneNumber(Aws::String &&value)
Definition Proxy.h:73
Proxy & AddPhoneNumberCountries(const char *value)
Definition Proxy.h:89
Proxy & WithFallBackPhoneNumber(const char *value)
Definition Proxy.h:74
void SetFallBackPhoneNumber(const Aws::String &value)
Definition Proxy.h:69
Proxy & WithFallBackPhoneNumber(const Aws::String &value)
Definition Proxy.h:72
void SetDisabled(bool value)
Definition Proxy.h:59
Proxy & AddPhoneNumberCountries(Aws::String &&value)
Definition Proxy.h:88
AWS_CHIME_API Proxy(Aws::Utils::Json::JsonView jsonValue)
void SetDefaultSessionExpiryMinutes(int value)
Definition Proxy.h:48
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CHIME_API Proxy & operator=(Aws::Utils::Json::JsonView jsonValue)
Proxy & WithPhoneNumberCountries(Aws::Vector< Aws::String > &&value)
Definition Proxy.h:86
const Aws::String & GetFallBackPhoneNumber() const
Definition Proxy.h:67
void SetPhoneNumberCountries(Aws::Vector< Aws::String > &&value)
Definition Proxy.h:84
void SetFallBackPhoneNumber(const char *value)
Definition Proxy.h:71
bool GetDisabled() const
Definition Proxy.h:57
bool PhoneNumberCountriesHasBeenSet() const
Definition Proxy.h:82
Proxy & WithDefaultSessionExpiryMinutes(int value)
Definition Proxy.h:49
bool DisabledHasBeenSet() const
Definition Proxy.h:58
void SetFallBackPhoneNumber(Aws::String &&value)
Definition Proxy.h:70
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue