AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListPhoneNumbersSummary.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
35 {
36 public:
37 AWS_CONNECT_API ListPhoneNumbersSummary();
40 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetPhoneNumberId() const{ return m_phoneNumberId; }
48 inline bool PhoneNumberIdHasBeenSet() const { return m_phoneNumberIdHasBeenSet; }
49 inline void SetPhoneNumberId(const Aws::String& value) { m_phoneNumberIdHasBeenSet = true; m_phoneNumberId = value; }
50 inline void SetPhoneNumberId(Aws::String&& value) { m_phoneNumberIdHasBeenSet = true; m_phoneNumberId = std::move(value); }
51 inline void SetPhoneNumberId(const char* value) { m_phoneNumberIdHasBeenSet = true; m_phoneNumberId.assign(value); }
52 inline ListPhoneNumbersSummary& WithPhoneNumberId(const Aws::String& value) { SetPhoneNumberId(value); return *this;}
53 inline ListPhoneNumbersSummary& WithPhoneNumberId(Aws::String&& value) { SetPhoneNumberId(std::move(value)); return *this;}
54 inline ListPhoneNumbersSummary& WithPhoneNumberId(const char* value) { SetPhoneNumberId(value); return *this;}
56
58
61 inline const Aws::String& GetPhoneNumberArn() const{ return m_phoneNumberArn; }
62 inline bool PhoneNumberArnHasBeenSet() const { return m_phoneNumberArnHasBeenSet; }
63 inline void SetPhoneNumberArn(const Aws::String& value) { m_phoneNumberArnHasBeenSet = true; m_phoneNumberArn = value; }
64 inline void SetPhoneNumberArn(Aws::String&& value) { m_phoneNumberArnHasBeenSet = true; m_phoneNumberArn = std::move(value); }
65 inline void SetPhoneNumberArn(const char* value) { m_phoneNumberArnHasBeenSet = true; m_phoneNumberArn.assign(value); }
66 inline ListPhoneNumbersSummary& WithPhoneNumberArn(const Aws::String& value) { SetPhoneNumberArn(value); return *this;}
67 inline ListPhoneNumbersSummary& WithPhoneNumberArn(Aws::String&& value) { SetPhoneNumberArn(std::move(value)); return *this;}
68 inline ListPhoneNumbersSummary& WithPhoneNumberArn(const char* value) { SetPhoneNumberArn(value); return *this;}
70
72
76 inline const Aws::String& GetPhoneNumber() const{ return m_phoneNumber; }
77 inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; }
78 inline void SetPhoneNumber(const Aws::String& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = value; }
79 inline void SetPhoneNumber(Aws::String&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::move(value); }
80 inline void SetPhoneNumber(const char* value) { m_phoneNumberHasBeenSet = true; m_phoneNumber.assign(value); }
81 inline ListPhoneNumbersSummary& WithPhoneNumber(const Aws::String& value) { SetPhoneNumber(value); return *this;}
82 inline ListPhoneNumbersSummary& WithPhoneNumber(Aws::String&& value) { SetPhoneNumber(std::move(value)); return *this;}
83 inline ListPhoneNumbersSummary& WithPhoneNumber(const char* value) { SetPhoneNumber(value); return *this;}
85
87
90 inline const PhoneNumberCountryCode& GetPhoneNumberCountryCode() const{ return m_phoneNumberCountryCode; }
91 inline bool PhoneNumberCountryCodeHasBeenSet() const { return m_phoneNumberCountryCodeHasBeenSet; }
92 inline void SetPhoneNumberCountryCode(const PhoneNumberCountryCode& value) { m_phoneNumberCountryCodeHasBeenSet = true; m_phoneNumberCountryCode = value; }
93 inline void SetPhoneNumberCountryCode(PhoneNumberCountryCode&& value) { m_phoneNumberCountryCodeHasBeenSet = true; m_phoneNumberCountryCode = std::move(value); }
97
99
102 inline const PhoneNumberType& GetPhoneNumberType() const{ return m_phoneNumberType; }
103 inline bool PhoneNumberTypeHasBeenSet() const { return m_phoneNumberTypeHasBeenSet; }
104 inline void SetPhoneNumberType(const PhoneNumberType& value) { m_phoneNumberTypeHasBeenSet = true; m_phoneNumberType = value; }
105 inline void SetPhoneNumberType(PhoneNumberType&& value) { m_phoneNumberTypeHasBeenSet = true; m_phoneNumberType = std::move(value); }
107 inline ListPhoneNumbersSummary& WithPhoneNumberType(PhoneNumberType&& value) { SetPhoneNumberType(std::move(value)); return *this;}
109
111
115 inline const Aws::String& GetTargetArn() const{ return m_targetArn; }
116 inline bool TargetArnHasBeenSet() const { return m_targetArnHasBeenSet; }
117 inline void SetTargetArn(const Aws::String& value) { m_targetArnHasBeenSet = true; m_targetArn = value; }
118 inline void SetTargetArn(Aws::String&& value) { m_targetArnHasBeenSet = true; m_targetArn = std::move(value); }
119 inline void SetTargetArn(const char* value) { m_targetArnHasBeenSet = true; m_targetArn.assign(value); }
120 inline ListPhoneNumbersSummary& WithTargetArn(const Aws::String& value) { SetTargetArn(value); return *this;}
121 inline ListPhoneNumbersSummary& WithTargetArn(Aws::String&& value) { SetTargetArn(std::move(value)); return *this;}
122 inline ListPhoneNumbersSummary& WithTargetArn(const char* value) { SetTargetArn(value); return *this;}
124
126
132 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
133 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
134 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
135 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
136 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
137 inline ListPhoneNumbersSummary& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
138 inline ListPhoneNumbersSummary& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
139 inline ListPhoneNumbersSummary& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
141
143
146 inline const Aws::String& GetPhoneNumberDescription() const{ return m_phoneNumberDescription; }
147 inline bool PhoneNumberDescriptionHasBeenSet() const { return m_phoneNumberDescriptionHasBeenSet; }
148 inline void SetPhoneNumberDescription(const Aws::String& value) { m_phoneNumberDescriptionHasBeenSet = true; m_phoneNumberDescription = value; }
149 inline void SetPhoneNumberDescription(Aws::String&& value) { m_phoneNumberDescriptionHasBeenSet = true; m_phoneNumberDescription = std::move(value); }
150 inline void SetPhoneNumberDescription(const char* value) { m_phoneNumberDescriptionHasBeenSet = true; m_phoneNumberDescription.assign(value); }
153 inline ListPhoneNumbersSummary& WithPhoneNumberDescription(const char* value) { SetPhoneNumberDescription(value); return *this;}
155
157
162 inline const Aws::String& GetSourcePhoneNumberArn() const{ return m_sourcePhoneNumberArn; }
163 inline bool SourcePhoneNumberArnHasBeenSet() const { return m_sourcePhoneNumberArnHasBeenSet; }
164 inline void SetSourcePhoneNumberArn(const Aws::String& value) { m_sourcePhoneNumberArnHasBeenSet = true; m_sourcePhoneNumberArn = value; }
165 inline void SetSourcePhoneNumberArn(Aws::String&& value) { m_sourcePhoneNumberArnHasBeenSet = true; m_sourcePhoneNumberArn = std::move(value); }
166 inline void SetSourcePhoneNumberArn(const char* value) { m_sourcePhoneNumberArnHasBeenSet = true; m_sourcePhoneNumberArn.assign(value); }
168 inline ListPhoneNumbersSummary& WithSourcePhoneNumberArn(Aws::String&& value) { SetSourcePhoneNumberArn(std::move(value)); return *this;}
169 inline ListPhoneNumbersSummary& WithSourcePhoneNumberArn(const char* value) { SetSourcePhoneNumberArn(value); return *this;}
171 private:
172
173 Aws::String m_phoneNumberId;
174 bool m_phoneNumberIdHasBeenSet = false;
175
176 Aws::String m_phoneNumberArn;
177 bool m_phoneNumberArnHasBeenSet = false;
178
179 Aws::String m_phoneNumber;
180 bool m_phoneNumberHasBeenSet = false;
181
182 PhoneNumberCountryCode m_phoneNumberCountryCode;
183 bool m_phoneNumberCountryCodeHasBeenSet = false;
184
185 PhoneNumberType m_phoneNumberType;
186 bool m_phoneNumberTypeHasBeenSet = false;
187
188 Aws::String m_targetArn;
189 bool m_targetArnHasBeenSet = false;
190
191 Aws::String m_instanceId;
192 bool m_instanceIdHasBeenSet = false;
193
194 Aws::String m_phoneNumberDescription;
195 bool m_phoneNumberDescriptionHasBeenSet = false;
196
197 Aws::String m_sourcePhoneNumberArn;
198 bool m_sourcePhoneNumberArnHasBeenSet = false;
199 };
200
201} // namespace Model
202} // namespace Connect
203} // namespace Aws
ListPhoneNumbersSummary & WithPhoneNumber(const char *value)
ListPhoneNumbersSummary & WithTargetArn(const Aws::String &value)
ListPhoneNumbersSummary & WithPhoneNumber(const Aws::String &value)
ListPhoneNumbersSummary & WithPhoneNumberCountryCode(PhoneNumberCountryCode &&value)
ListPhoneNumbersSummary & WithPhoneNumberType(const PhoneNumberType &value)
ListPhoneNumbersSummary & WithInstanceId(Aws::String &&value)
AWS_CONNECT_API ListPhoneNumbersSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ListPhoneNumbersSummary & WithInstanceId(const Aws::String &value)
void SetPhoneNumberDescription(const Aws::String &value)
ListPhoneNumbersSummary & WithSourcePhoneNumberArn(const char *value)
ListPhoneNumbersSummary & WithPhoneNumberDescription(const char *value)
const PhoneNumberCountryCode & GetPhoneNumberCountryCode() const
ListPhoneNumbersSummary & WithTargetArn(Aws::String &&value)
ListPhoneNumbersSummary & WithPhoneNumberDescription(const Aws::String &value)
ListPhoneNumbersSummary & WithPhoneNumberCountryCode(const PhoneNumberCountryCode &value)
AWS_CONNECT_API ListPhoneNumbersSummary(Aws::Utils::Json::JsonView jsonValue)
ListPhoneNumbersSummary & WithPhoneNumberType(PhoneNumberType &&value)
ListPhoneNumbersSummary & WithPhoneNumberDescription(Aws::String &&value)
ListPhoneNumbersSummary & WithPhoneNumberId(Aws::String &&value)
ListPhoneNumbersSummary & WithPhoneNumber(Aws::String &&value)
ListPhoneNumbersSummary & WithTargetArn(const char *value)
ListPhoneNumbersSummary & WithPhoneNumberArn(const Aws::String &value)
void SetPhoneNumberCountryCode(PhoneNumberCountryCode &&value)
ListPhoneNumbersSummary & WithPhoneNumberId(const Aws::String &value)
void SetPhoneNumberCountryCode(const PhoneNumberCountryCode &value)
void SetPhoneNumberType(const PhoneNumberType &value)
ListPhoneNumbersSummary & WithSourcePhoneNumberArn(Aws::String &&value)
ListPhoneNumbersSummary & WithPhoneNumberId(const char *value)
ListPhoneNumbersSummary & WithInstanceId(const char *value)
ListPhoneNumbersSummary & WithSourcePhoneNumberArn(const Aws::String &value)
ListPhoneNumbersSummary & WithPhoneNumberArn(Aws::String &&value)
ListPhoneNumbersSummary & WithPhoneNumberArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue