AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename PhoneNumberT = Aws::String>
50 void SetPhoneNumber(PhoneNumberT&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::forward<PhoneNumberT>(value); }
51 template<typename PhoneNumberT = Aws::String>
52 AvailableNumberSummary& WithPhoneNumber(PhoneNumberT&& value) { SetPhoneNumber(std::forward<PhoneNumberT>(value)); return *this;}
54
56
59 inline PhoneNumberCountryCode GetPhoneNumberCountryCode() const { return m_phoneNumberCountryCode; }
60 inline bool PhoneNumberCountryCodeHasBeenSet() const { return m_phoneNumberCountryCodeHasBeenSet; }
61 inline void SetPhoneNumberCountryCode(PhoneNumberCountryCode value) { m_phoneNumberCountryCodeHasBeenSet = true; m_phoneNumberCountryCode = value; }
64
66
69 inline PhoneNumberType GetPhoneNumberType() const { return m_phoneNumberType; }
70 inline bool PhoneNumberTypeHasBeenSet() const { return m_phoneNumberTypeHasBeenSet; }
71 inline void SetPhoneNumberType(PhoneNumberType value) { m_phoneNumberTypeHasBeenSet = true; m_phoneNumberType = value; }
74 private:
75
76 Aws::String m_phoneNumber;
77 bool m_phoneNumberHasBeenSet = false;
78
80 bool m_phoneNumberCountryCodeHasBeenSet = false;
81
83 bool m_phoneNumberTypeHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace Connect
88} // namespace Aws
AWS_CONNECT_API AvailableNumberSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API AvailableNumberSummary()=default
void SetPhoneNumberCountryCode(PhoneNumberCountryCode value)
AWS_CONNECT_API AvailableNumberSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
PhoneNumberCountryCode GetPhoneNumberCountryCode() const
AvailableNumberSummary & WithPhoneNumberType(PhoneNumberType value)
AvailableNumberSummary & WithPhoneNumberCountryCode(PhoneNumberCountryCode value)
AvailableNumberSummary & WithPhoneNumber(PhoneNumberT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue