AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AvailableNumberSummary.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/PhoneNumberCountryCode.h>
10#include <aws/connect/model/PhoneNumberType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Connect
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_CONNECT_API AvailableNumberSummary();
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetPhoneNumber() const{ return m_phoneNumber; }
48 inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; }
49 inline void SetPhoneNumber(const Aws::String& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = value; }
50 inline void SetPhoneNumber(Aws::String&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::move(value); }
51 inline void SetPhoneNumber(const char* value) { m_phoneNumberHasBeenSet = true; m_phoneNumber.assign(value); }
52 inline AvailableNumberSummary& WithPhoneNumber(const Aws::String& value) { SetPhoneNumber(value); return *this;}
53 inline AvailableNumberSummary& WithPhoneNumber(Aws::String&& value) { SetPhoneNumber(std::move(value)); return *this;}
54 inline AvailableNumberSummary& WithPhoneNumber(const char* value) { SetPhoneNumber(value); return *this;}
56
58
61 inline const PhoneNumberCountryCode& GetPhoneNumberCountryCode() const{ return m_phoneNumberCountryCode; }
62 inline bool PhoneNumberCountryCodeHasBeenSet() const { return m_phoneNumberCountryCodeHasBeenSet; }
63 inline void SetPhoneNumberCountryCode(const PhoneNumberCountryCode& value) { m_phoneNumberCountryCodeHasBeenSet = true; m_phoneNumberCountryCode = value; }
64 inline void SetPhoneNumberCountryCode(PhoneNumberCountryCode&& value) { m_phoneNumberCountryCodeHasBeenSet = true; m_phoneNumberCountryCode = std::move(value); }
68
70
73 inline const PhoneNumberType& GetPhoneNumberType() const{ return m_phoneNumberType; }
74 inline bool PhoneNumberTypeHasBeenSet() const { return m_phoneNumberTypeHasBeenSet; }
75 inline void SetPhoneNumberType(const PhoneNumberType& value) { m_phoneNumberTypeHasBeenSet = true; m_phoneNumberType = value; }
76 inline void SetPhoneNumberType(PhoneNumberType&& value) { m_phoneNumberTypeHasBeenSet = true; m_phoneNumberType = std::move(value); }
78 inline AvailableNumberSummary& WithPhoneNumberType(PhoneNumberType&& value) { SetPhoneNumberType(std::move(value)); return *this;}
80 private:
81
82 Aws::String m_phoneNumber;
83 bool m_phoneNumberHasBeenSet = false;
84
85 PhoneNumberCountryCode m_phoneNumberCountryCode;
86 bool m_phoneNumberCountryCodeHasBeenSet = false;
87
88 PhoneNumberType m_phoneNumberType;
89 bool m_phoneNumberTypeHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Connect
94} // namespace Aws
AvailableNumberSummary & WithPhoneNumberType(PhoneNumberType &&value)
void SetPhoneNumberType(const PhoneNumberType &value)
AWS_CONNECT_API AvailableNumberSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPhoneNumberCountryCode(const PhoneNumberCountryCode &value)
AvailableNumberSummary & WithPhoneNumber(Aws::String &&value)
AvailableNumberSummary & WithPhoneNumberType(const PhoneNumberType &value)
AWS_CONNECT_API AvailableNumberSummary(Aws::Utils::Json::JsonView jsonValue)
void SetPhoneNumberCountryCode(PhoneNumberCountryCode &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AvailableNumberSummary & WithPhoneNumber(const Aws::String &value)
AvailableNumberSummary & WithPhoneNumberCountryCode(PhoneNumberCountryCode &&value)
const PhoneNumberType & GetPhoneNumberType() const
const PhoneNumberCountryCode & GetPhoneNumberCountryCode() const
AvailableNumberSummary & WithPhoneNumber(const char *value)
AvailableNumberSummary & WithPhoneNumberCountryCode(const PhoneNumberCountryCode &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue