AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PhoneNumberSummary.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/PhoneNumberType.h>
10#include <aws/connect/model/PhoneNumberCountryCode.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
35 {
36 public:
37 AWS_CONNECT_API PhoneNumberSummary() = default;
40 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetId() const { return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 template<typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
51 template<typename IdT = Aws::String>
52 PhoneNumberSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetArn() const { return m_arn; }
60 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
61 template<typename ArnT = Aws::String>
62 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
63 template<typename ArnT = Aws::String>
64 PhoneNumberSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
66
68
71 inline const Aws::String& GetPhoneNumber() const { return m_phoneNumber; }
72 inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; }
73 template<typename PhoneNumberT = Aws::String>
74 void SetPhoneNumber(PhoneNumberT&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::forward<PhoneNumberT>(value); }
75 template<typename PhoneNumberT = Aws::String>
76 PhoneNumberSummary& WithPhoneNumber(PhoneNumberT&& value) { SetPhoneNumber(std::forward<PhoneNumberT>(value)); return *this;}
78
80
83 inline PhoneNumberType GetPhoneNumberType() const { return m_phoneNumberType; }
84 inline bool PhoneNumberTypeHasBeenSet() const { return m_phoneNumberTypeHasBeenSet; }
85 inline void SetPhoneNumberType(PhoneNumberType value) { m_phoneNumberTypeHasBeenSet = true; m_phoneNumberType = value; }
88
90
93 inline PhoneNumberCountryCode GetPhoneNumberCountryCode() const { return m_phoneNumberCountryCode; }
94 inline bool PhoneNumberCountryCodeHasBeenSet() const { return m_phoneNumberCountryCodeHasBeenSet; }
95 inline void SetPhoneNumberCountryCode(PhoneNumberCountryCode value) { m_phoneNumberCountryCodeHasBeenSet = true; m_phoneNumberCountryCode = value; }
98 private:
99
100 Aws::String m_id;
101 bool m_idHasBeenSet = false;
102
103 Aws::String m_arn;
104 bool m_arnHasBeenSet = false;
105
106 Aws::String m_phoneNumber;
107 bool m_phoneNumberHasBeenSet = false;
108
109 PhoneNumberType m_phoneNumberType{PhoneNumberType::NOT_SET};
110 bool m_phoneNumberTypeHasBeenSet = false;
111
113 bool m_phoneNumberCountryCodeHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace Connect
118} // namespace Aws
PhoneNumberSummary & WithPhoneNumberType(PhoneNumberType value)
PhoneNumberCountryCode GetPhoneNumberCountryCode() const
AWS_CONNECT_API PhoneNumberSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
PhoneNumberSummary & WithPhoneNumberCountryCode(PhoneNumberCountryCode value)
PhoneNumberSummary & WithId(IdT &&value)
AWS_CONNECT_API PhoneNumberSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API PhoneNumberSummary()=default
void SetPhoneNumberCountryCode(PhoneNumberCountryCode value)
void SetPhoneNumber(PhoneNumberT &&value)
const Aws::String & GetPhoneNumber() const
PhoneNumberSummary & WithArn(ArnT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPhoneNumberType(PhoneNumberType value)
PhoneNumberSummary & WithPhoneNumber(PhoneNumberT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue