AWS SDK for C++  1.9.153
AWS SDK for C++
PhoneNumberQuickConnectConfig.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Connect
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetPhoneNumber() const{ return m_phoneNumber; }
45 
49  inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; }
50 
54  inline void SetPhoneNumber(const Aws::String& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = value; }
55 
59  inline void SetPhoneNumber(Aws::String&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::move(value); }
60 
64  inline void SetPhoneNumber(const char* value) { m_phoneNumberHasBeenSet = true; m_phoneNumber.assign(value); }
65 
69  inline PhoneNumberQuickConnectConfig& WithPhoneNumber(const Aws::String& value) { SetPhoneNumber(value); return *this;}
70 
74  inline PhoneNumberQuickConnectConfig& WithPhoneNumber(Aws::String&& value) { SetPhoneNumber(std::move(value)); return *this;}
75 
79  inline PhoneNumberQuickConnectConfig& WithPhoneNumber(const char* value) { SetPhoneNumber(value); return *this;}
80 
81  private:
82 
83  Aws::String m_phoneNumber;
84  bool m_phoneNumberHasBeenSet;
85  };
86 
87 } // namespace Model
88 } // namespace Connect
89 } // namespace Aws
Aws::Connect::Model::PhoneNumberQuickConnectConfig::PhoneNumberHasBeenSet
bool PhoneNumberHasBeenSet() const
Definition: PhoneNumberQuickConnectConfig.h:49
Aws::Connect::Model::PhoneNumberQuickConnectConfig::SetPhoneNumber
void SetPhoneNumber(Aws::String &&value)
Definition: PhoneNumberQuickConnectConfig.h:59
Aws::Connect::Model::PhoneNumberQuickConnectConfig::operator=
PhoneNumberQuickConnectConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::PhoneNumberQuickConnectConfig::PhoneNumberQuickConnectConfig
PhoneNumberQuickConnectConfig()
Aws::Connect::Model::PhoneNumberQuickConnectConfig::WithPhoneNumber
PhoneNumberQuickConnectConfig & WithPhoneNumber(const char *value)
Definition: PhoneNumberQuickConnectConfig.h:79
Aws::Connect::Model::PhoneNumberQuickConnectConfig::WithPhoneNumber
PhoneNumberQuickConnectConfig & WithPhoneNumber(Aws::String &&value)
Definition: PhoneNumberQuickConnectConfig.h:74
Aws::Connect::Model::PhoneNumberQuickConnectConfig::GetPhoneNumber
const Aws::String & GetPhoneNumber() const
Definition: PhoneNumberQuickConnectConfig.h:44
Aws::Connect::Model::PhoneNumberQuickConnectConfig::SetPhoneNumber
void SetPhoneNumber(const char *value)
Definition: PhoneNumberQuickConnectConfig.h:64
Aws::Connect::Model::PhoneNumberQuickConnectConfig::SetPhoneNumber
void SetPhoneNumber(const Aws::String &value)
Definition: PhoneNumberQuickConnectConfig.h:54
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::PhoneNumberQuickConnectConfig::PhoneNumberQuickConnectConfig
PhoneNumberQuickConnectConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h
Aws::Connect::Model::PhoneNumberQuickConnectConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Connect::Model::PhoneNumberQuickConnectConfig::WithPhoneNumber
PhoneNumberQuickConnectConfig & WithPhoneNumber(const Aws::String &value)
Definition: PhoneNumberQuickConnectConfig.h:69
Aws::Connect::Model::PhoneNumberQuickConnectConfig
Definition: PhoneNumberQuickConnectConfig.h:33