AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
WhatsAppPhoneNumberSummary.h
1
6#pragma once
7#include <aws/socialmessaging/SocialMessaging_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SocialMessaging
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_SOCIALMESSAGING_API WhatsAppPhoneNumberSummary() = default;
35 AWS_SOCIALMESSAGING_API WhatsAppPhoneNumberSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetArn() const { return m_arn; }
45 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
46 template<typename ArnT = Aws::String>
47 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
48 template<typename ArnT = Aws::String>
49 WhatsAppPhoneNumberSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
51
53
56 inline const Aws::String& GetPhoneNumber() const { return m_phoneNumber; }
57 inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; }
58 template<typename PhoneNumberT = Aws::String>
59 void SetPhoneNumber(PhoneNumberT&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::forward<PhoneNumberT>(value); }
60 template<typename PhoneNumberT = Aws::String>
61 WhatsAppPhoneNumberSummary& WithPhoneNumber(PhoneNumberT&& value) { SetPhoneNumber(std::forward<PhoneNumberT>(value)); return *this;}
63
65
69 inline const Aws::String& GetPhoneNumberId() const { return m_phoneNumberId; }
70 inline bool PhoneNumberIdHasBeenSet() const { return m_phoneNumberIdHasBeenSet; }
71 template<typename PhoneNumberIdT = Aws::String>
72 void SetPhoneNumberId(PhoneNumberIdT&& value) { m_phoneNumberIdHasBeenSet = true; m_phoneNumberId = std::forward<PhoneNumberIdT>(value); }
73 template<typename PhoneNumberIdT = Aws::String>
74 WhatsAppPhoneNumberSummary& WithPhoneNumberId(PhoneNumberIdT&& value) { SetPhoneNumberId(std::forward<PhoneNumberIdT>(value)); return *this;}
76
78
81 inline const Aws::String& GetMetaPhoneNumberId() const { return m_metaPhoneNumberId; }
82 inline bool MetaPhoneNumberIdHasBeenSet() const { return m_metaPhoneNumberIdHasBeenSet; }
83 template<typename MetaPhoneNumberIdT = Aws::String>
84 void SetMetaPhoneNumberId(MetaPhoneNumberIdT&& value) { m_metaPhoneNumberIdHasBeenSet = true; m_metaPhoneNumberId = std::forward<MetaPhoneNumberIdT>(value); }
85 template<typename MetaPhoneNumberIdT = Aws::String>
86 WhatsAppPhoneNumberSummary& WithMetaPhoneNumberId(MetaPhoneNumberIdT&& value) { SetMetaPhoneNumberId(std::forward<MetaPhoneNumberIdT>(value)); return *this;}
88
90
93 inline const Aws::String& GetDisplayPhoneNumberName() const { return m_displayPhoneNumberName; }
94 inline bool DisplayPhoneNumberNameHasBeenSet() const { return m_displayPhoneNumberNameHasBeenSet; }
95 template<typename DisplayPhoneNumberNameT = Aws::String>
96 void SetDisplayPhoneNumberName(DisplayPhoneNumberNameT&& value) { m_displayPhoneNumberNameHasBeenSet = true; m_displayPhoneNumberName = std::forward<DisplayPhoneNumberNameT>(value); }
97 template<typename DisplayPhoneNumberNameT = Aws::String>
98 WhatsAppPhoneNumberSummary& WithDisplayPhoneNumberName(DisplayPhoneNumberNameT&& value) { SetDisplayPhoneNumberName(std::forward<DisplayPhoneNumberNameT>(value)); return *this;}
100
102
105 inline const Aws::String& GetDisplayPhoneNumber() const { return m_displayPhoneNumber; }
106 inline bool DisplayPhoneNumberHasBeenSet() const { return m_displayPhoneNumberHasBeenSet; }
107 template<typename DisplayPhoneNumberT = Aws::String>
108 void SetDisplayPhoneNumber(DisplayPhoneNumberT&& value) { m_displayPhoneNumberHasBeenSet = true; m_displayPhoneNumber = std::forward<DisplayPhoneNumberT>(value); }
109 template<typename DisplayPhoneNumberT = Aws::String>
110 WhatsAppPhoneNumberSummary& WithDisplayPhoneNumber(DisplayPhoneNumberT&& value) { SetDisplayPhoneNumber(std::forward<DisplayPhoneNumberT>(value)); return *this;}
112
114
117 inline const Aws::String& GetQualityRating() const { return m_qualityRating; }
118 inline bool QualityRatingHasBeenSet() const { return m_qualityRatingHasBeenSet; }
119 template<typename QualityRatingT = Aws::String>
120 void SetQualityRating(QualityRatingT&& value) { m_qualityRatingHasBeenSet = true; m_qualityRating = std::forward<QualityRatingT>(value); }
121 template<typename QualityRatingT = Aws::String>
122 WhatsAppPhoneNumberSummary& WithQualityRating(QualityRatingT&& value) { SetQualityRating(std::forward<QualityRatingT>(value)); return *this;}
124 private:
125
126 Aws::String m_arn;
127 bool m_arnHasBeenSet = false;
128
129 Aws::String m_phoneNumber;
130 bool m_phoneNumberHasBeenSet = false;
131
132 Aws::String m_phoneNumberId;
133 bool m_phoneNumberIdHasBeenSet = false;
134
135 Aws::String m_metaPhoneNumberId;
136 bool m_metaPhoneNumberIdHasBeenSet = false;
137
138 Aws::String m_displayPhoneNumberName;
139 bool m_displayPhoneNumberNameHasBeenSet = false;
140
141 Aws::String m_displayPhoneNumber;
142 bool m_displayPhoneNumberHasBeenSet = false;
143
144 Aws::String m_qualityRating;
145 bool m_qualityRatingHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace SocialMessaging
150} // namespace Aws
WhatsAppPhoneNumberSummary & WithDisplayPhoneNumber(DisplayPhoneNumberT &&value)
WhatsAppPhoneNumberSummary & WithDisplayPhoneNumberName(DisplayPhoneNumberNameT &&value)
AWS_SOCIALMESSAGING_API WhatsAppPhoneNumberSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
WhatsAppPhoneNumberSummary & WithMetaPhoneNumberId(MetaPhoneNumberIdT &&value)
WhatsAppPhoneNumberSummary & WithPhoneNumberId(PhoneNumberIdT &&value)
AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SOCIALMESSAGING_API WhatsAppPhoneNumberSummary()=default
WhatsAppPhoneNumberSummary & WithPhoneNumber(PhoneNumberT &&value)
AWS_SOCIALMESSAGING_API WhatsAppPhoneNumberSummary(Aws::Utils::Json::JsonView jsonValue)
WhatsAppPhoneNumberSummary & WithQualityRating(QualityRatingT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue