AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline PhoneNumberSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline PhoneNumberSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline PhoneNumberSummary& WithId(const char* value) { SetId(value); return *this;}
56
58
61 inline const Aws::String& GetArn() const{ return m_arn; }
62 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
63 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
64 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
65 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
66 inline PhoneNumberSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
67 inline PhoneNumberSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
68 inline PhoneNumberSummary& WithArn(const char* value) { SetArn(value); return *this;}
70
72
75 inline const Aws::String& GetPhoneNumber() const{ return m_phoneNumber; }
76 inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; }
77 inline void SetPhoneNumber(const Aws::String& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = value; }
78 inline void SetPhoneNumber(Aws::String&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::move(value); }
79 inline void SetPhoneNumber(const char* value) { m_phoneNumberHasBeenSet = true; m_phoneNumber.assign(value); }
80 inline PhoneNumberSummary& WithPhoneNumber(const Aws::String& value) { SetPhoneNumber(value); return *this;}
81 inline PhoneNumberSummary& WithPhoneNumber(Aws::String&& value) { SetPhoneNumber(std::move(value)); return *this;}
82 inline PhoneNumberSummary& WithPhoneNumber(const char* value) { SetPhoneNumber(value); return *this;}
84
86
89 inline const PhoneNumberType& GetPhoneNumberType() const{ return m_phoneNumberType; }
90 inline bool PhoneNumberTypeHasBeenSet() const { return m_phoneNumberTypeHasBeenSet; }
91 inline void SetPhoneNumberType(const PhoneNumberType& value) { m_phoneNumberTypeHasBeenSet = true; m_phoneNumberType = value; }
92 inline void SetPhoneNumberType(PhoneNumberType&& value) { m_phoneNumberTypeHasBeenSet = true; m_phoneNumberType = std::move(value); }
93 inline PhoneNumberSummary& WithPhoneNumberType(const PhoneNumberType& value) { SetPhoneNumberType(value); return *this;}
94 inline PhoneNumberSummary& WithPhoneNumberType(PhoneNumberType&& value) { SetPhoneNumberType(std::move(value)); return *this;}
96
98
101 inline const PhoneNumberCountryCode& GetPhoneNumberCountryCode() const{ return m_phoneNumberCountryCode; }
102 inline bool PhoneNumberCountryCodeHasBeenSet() const { return m_phoneNumberCountryCodeHasBeenSet; }
103 inline void SetPhoneNumberCountryCode(const PhoneNumberCountryCode& value) { m_phoneNumberCountryCodeHasBeenSet = true; m_phoneNumberCountryCode = value; }
104 inline void SetPhoneNumberCountryCode(PhoneNumberCountryCode&& value) { m_phoneNumberCountryCodeHasBeenSet = true; m_phoneNumberCountryCode = std::move(value); }
108 private:
109
110 Aws::String m_id;
111 bool m_idHasBeenSet = false;
112
113 Aws::String m_arn;
114 bool m_arnHasBeenSet = false;
115
116 Aws::String m_phoneNumber;
117 bool m_phoneNumberHasBeenSet = false;
118
119 PhoneNumberType m_phoneNumberType;
120 bool m_phoneNumberTypeHasBeenSet = false;
121
122 PhoneNumberCountryCode m_phoneNumberCountryCode;
123 bool m_phoneNumberCountryCodeHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace Connect
128} // namespace Aws
PhoneNumberSummary & WithId(Aws::String &&value)
const PhoneNumberCountryCode & GetPhoneNumberCountryCode() const
PhoneNumberSummary & WithArn(Aws::String &&value)
PhoneNumberSummary & WithPhoneNumberType(PhoneNumberType &&value)
void SetPhoneNumberCountryCode(const PhoneNumberCountryCode &value)
void SetPhoneNumberType(PhoneNumberType &&value)
AWS_CONNECT_API PhoneNumberSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPhoneNumberCountryCode(PhoneNumberCountryCode &&value)
PhoneNumberSummary & WithPhoneNumber(const Aws::String &value)
PhoneNumberSummary & WithPhoneNumberCountryCode(PhoneNumberCountryCode &&value)
void SetArn(const Aws::String &value)
PhoneNumberSummary & WithArn(const Aws::String &value)
AWS_CONNECT_API PhoneNumberSummary(Aws::Utils::Json::JsonView jsonValue)
PhoneNumberSummary & WithId(const char *value)
PhoneNumberSummary & WithId(const Aws::String &value)
void SetId(const Aws::String &value)
const Aws::String & GetPhoneNumber() const
const PhoneNumberType & GetPhoneNumberType() const
PhoneNumberSummary & WithPhoneNumber(const char *value)
PhoneNumberSummary & WithPhoneNumber(Aws::String &&value)
void SetPhoneNumberType(const PhoneNumberType &value)
PhoneNumberSummary & WithPhoneNumberCountryCode(const PhoneNumberCountryCode &value)
PhoneNumberSummary & WithPhoneNumberType(const PhoneNumberType &value)
PhoneNumberSummary & WithArn(const char *value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPhoneNumber(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue