AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Participant.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 Participant();
36 AWS_CHIME_API Participant(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetPhoneNumber() const{ return m_phoneNumber; }
46 inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; }
47 inline void SetPhoneNumber(const Aws::String& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = value; }
48 inline void SetPhoneNumber(Aws::String&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::move(value); }
49 inline void SetPhoneNumber(const char* value) { m_phoneNumberHasBeenSet = true; m_phoneNumber.assign(value); }
50 inline Participant& WithPhoneNumber(const Aws::String& value) { SetPhoneNumber(value); return *this;}
51 inline Participant& WithPhoneNumber(Aws::String&& value) { SetPhoneNumber(std::move(value)); return *this;}
52 inline Participant& WithPhoneNumber(const char* value) { SetPhoneNumber(value); return *this;}
54
56
59 inline const Aws::String& GetProxyPhoneNumber() const{ return m_proxyPhoneNumber; }
60 inline bool ProxyPhoneNumberHasBeenSet() const { return m_proxyPhoneNumberHasBeenSet; }
61 inline void SetProxyPhoneNumber(const Aws::String& value) { m_proxyPhoneNumberHasBeenSet = true; m_proxyPhoneNumber = value; }
62 inline void SetProxyPhoneNumber(Aws::String&& value) { m_proxyPhoneNumberHasBeenSet = true; m_proxyPhoneNumber = std::move(value); }
63 inline void SetProxyPhoneNumber(const char* value) { m_proxyPhoneNumberHasBeenSet = true; m_proxyPhoneNumber.assign(value); }
64 inline Participant& WithProxyPhoneNumber(const Aws::String& value) { SetProxyPhoneNumber(value); return *this;}
65 inline Participant& WithProxyPhoneNumber(Aws::String&& value) { SetProxyPhoneNumber(std::move(value)); return *this;}
66 inline Participant& WithProxyPhoneNumber(const char* value) { SetProxyPhoneNumber(value); return *this;}
68 private:
69
70 Aws::String m_phoneNumber;
71 bool m_phoneNumberHasBeenSet = false;
72
73 Aws::String m_proxyPhoneNumber;
74 bool m_proxyPhoneNumberHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Chime
79} // namespace Aws
Participant & WithProxyPhoneNumber(const char *value)
Definition Participant.h:66
void SetProxyPhoneNumber(Aws::String &&value)
Definition Participant.h:62
AWS_CHIME_API Participant & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetProxyPhoneNumber(const char *value)
Definition Participant.h:63
void SetPhoneNumber(const Aws::String &value)
Definition Participant.h:47
void SetPhoneNumber(Aws::String &&value)
Definition Participant.h:48
Participant & WithPhoneNumber(const char *value)
Definition Participant.h:52
void SetPhoneNumber(const char *value)
Definition Participant.h:49
void SetProxyPhoneNumber(const Aws::String &value)
Definition Participant.h:61
AWS_CHIME_API Participant(Aws::Utils::Json::JsonView jsonValue)
Participant & WithProxyPhoneNumber(const Aws::String &value)
Definition Participant.h:64
Participant & WithPhoneNumber(const Aws::String &value)
Definition Participant.h:50
const Aws::String & GetProxyPhoneNumber() const
Definition Participant.h:59
bool ProxyPhoneNumberHasBeenSet() const
Definition Participant.h:60
Participant & WithPhoneNumber(Aws::String &&value)
Definition Participant.h:51
Participant & WithProxyPhoneNumber(Aws::String &&value)
Definition Participant.h:65
const Aws::String & GetPhoneNumber() const
Definition Participant.h:45
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue