AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WhatsAppPhoneNumberDetail.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 WhatsAppPhoneNumberDetail();
35 AWS_SOCIALMESSAGING_API WhatsAppPhoneNumberDetail(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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
47 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
48 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
49 inline WhatsAppPhoneNumberDetail& WithArn(const Aws::String& value) { SetArn(value); return *this;}
50 inline WhatsAppPhoneNumberDetail& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
51 inline WhatsAppPhoneNumberDetail& WithArn(const char* value) { SetArn(value); return *this;}
53
55
58 inline const Aws::String& GetPhoneNumber() const{ return m_phoneNumber; }
59 inline bool PhoneNumberHasBeenSet() const { return m_phoneNumberHasBeenSet; }
60 inline void SetPhoneNumber(const Aws::String& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = value; }
61 inline void SetPhoneNumber(Aws::String&& value) { m_phoneNumberHasBeenSet = true; m_phoneNumber = std::move(value); }
62 inline void SetPhoneNumber(const char* value) { m_phoneNumberHasBeenSet = true; m_phoneNumber.assign(value); }
63 inline WhatsAppPhoneNumberDetail& WithPhoneNumber(const Aws::String& value) { SetPhoneNumber(value); return *this;}
64 inline WhatsAppPhoneNumberDetail& WithPhoneNumber(Aws::String&& value) { SetPhoneNumber(std::move(value)); return *this;}
65 inline WhatsAppPhoneNumberDetail& WithPhoneNumber(const char* value) { SetPhoneNumber(value); return *this;}
67
69
73 inline const Aws::String& GetPhoneNumberId() const{ return m_phoneNumberId; }
74 inline bool PhoneNumberIdHasBeenSet() const { return m_phoneNumberIdHasBeenSet; }
75 inline void SetPhoneNumberId(const Aws::String& value) { m_phoneNumberIdHasBeenSet = true; m_phoneNumberId = value; }
76 inline void SetPhoneNumberId(Aws::String&& value) { m_phoneNumberIdHasBeenSet = true; m_phoneNumberId = std::move(value); }
77 inline void SetPhoneNumberId(const char* value) { m_phoneNumberIdHasBeenSet = true; m_phoneNumberId.assign(value); }
78 inline WhatsAppPhoneNumberDetail& WithPhoneNumberId(const Aws::String& value) { SetPhoneNumberId(value); return *this;}
79 inline WhatsAppPhoneNumberDetail& WithPhoneNumberId(Aws::String&& value) { SetPhoneNumberId(std::move(value)); return *this;}
80 inline WhatsAppPhoneNumberDetail& WithPhoneNumberId(const char* value) { SetPhoneNumberId(value); return *this;}
82
84
87 inline const Aws::String& GetMetaPhoneNumberId() const{ return m_metaPhoneNumberId; }
88 inline bool MetaPhoneNumberIdHasBeenSet() const { return m_metaPhoneNumberIdHasBeenSet; }
89 inline void SetMetaPhoneNumberId(const Aws::String& value) { m_metaPhoneNumberIdHasBeenSet = true; m_metaPhoneNumberId = value; }
90 inline void SetMetaPhoneNumberId(Aws::String&& value) { m_metaPhoneNumberIdHasBeenSet = true; m_metaPhoneNumberId = std::move(value); }
91 inline void SetMetaPhoneNumberId(const char* value) { m_metaPhoneNumberIdHasBeenSet = true; m_metaPhoneNumberId.assign(value); }
93 inline WhatsAppPhoneNumberDetail& WithMetaPhoneNumberId(Aws::String&& value) { SetMetaPhoneNumberId(std::move(value)); return *this;}
94 inline WhatsAppPhoneNumberDetail& WithMetaPhoneNumberId(const char* value) { SetMetaPhoneNumberId(value); return *this;}
96
98
101 inline const Aws::String& GetDisplayPhoneNumberName() const{ return m_displayPhoneNumberName; }
102 inline bool DisplayPhoneNumberNameHasBeenSet() const { return m_displayPhoneNumberNameHasBeenSet; }
103 inline void SetDisplayPhoneNumberName(const Aws::String& value) { m_displayPhoneNumberNameHasBeenSet = true; m_displayPhoneNumberName = value; }
104 inline void SetDisplayPhoneNumberName(Aws::String&& value) { m_displayPhoneNumberNameHasBeenSet = true; m_displayPhoneNumberName = std::move(value); }
105 inline void SetDisplayPhoneNumberName(const char* value) { m_displayPhoneNumberNameHasBeenSet = true; m_displayPhoneNumberName.assign(value); }
108 inline WhatsAppPhoneNumberDetail& WithDisplayPhoneNumberName(const char* value) { SetDisplayPhoneNumberName(value); return *this;}
110
112
115 inline const Aws::String& GetDisplayPhoneNumber() const{ return m_displayPhoneNumber; }
116 inline bool DisplayPhoneNumberHasBeenSet() const { return m_displayPhoneNumberHasBeenSet; }
117 inline void SetDisplayPhoneNumber(const Aws::String& value) { m_displayPhoneNumberHasBeenSet = true; m_displayPhoneNumber = value; }
118 inline void SetDisplayPhoneNumber(Aws::String&& value) { m_displayPhoneNumberHasBeenSet = true; m_displayPhoneNumber = std::move(value); }
119 inline void SetDisplayPhoneNumber(const char* value) { m_displayPhoneNumberHasBeenSet = true; m_displayPhoneNumber.assign(value); }
121 inline WhatsAppPhoneNumberDetail& WithDisplayPhoneNumber(Aws::String&& value) { SetDisplayPhoneNumber(std::move(value)); return *this;}
122 inline WhatsAppPhoneNumberDetail& WithDisplayPhoneNumber(const char* value) { SetDisplayPhoneNumber(value); return *this;}
124
126
129 inline const Aws::String& GetQualityRating() const{ return m_qualityRating; }
130 inline bool QualityRatingHasBeenSet() const { return m_qualityRatingHasBeenSet; }
131 inline void SetQualityRating(const Aws::String& value) { m_qualityRatingHasBeenSet = true; m_qualityRating = value; }
132 inline void SetQualityRating(Aws::String&& value) { m_qualityRatingHasBeenSet = true; m_qualityRating = std::move(value); }
133 inline void SetQualityRating(const char* value) { m_qualityRatingHasBeenSet = true; m_qualityRating.assign(value); }
134 inline WhatsAppPhoneNumberDetail& WithQualityRating(const Aws::String& value) { SetQualityRating(value); return *this;}
135 inline WhatsAppPhoneNumberDetail& WithQualityRating(Aws::String&& value) { SetQualityRating(std::move(value)); return *this;}
136 inline WhatsAppPhoneNumberDetail& WithQualityRating(const char* value) { SetQualityRating(value); return *this;}
138 private:
139
140 Aws::String m_arn;
141 bool m_arnHasBeenSet = false;
142
143 Aws::String m_phoneNumber;
144 bool m_phoneNumberHasBeenSet = false;
145
146 Aws::String m_phoneNumberId;
147 bool m_phoneNumberIdHasBeenSet = false;
148
149 Aws::String m_metaPhoneNumberId;
150 bool m_metaPhoneNumberIdHasBeenSet = false;
151
152 Aws::String m_displayPhoneNumberName;
153 bool m_displayPhoneNumberNameHasBeenSet = false;
154
155 Aws::String m_displayPhoneNumber;
156 bool m_displayPhoneNumberHasBeenSet = false;
157
158 Aws::String m_qualityRating;
159 bool m_qualityRatingHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace SocialMessaging
164} // namespace Aws
WhatsAppPhoneNumberDetail & WithQualityRating(const Aws::String &value)
WhatsAppPhoneNumberDetail & WithPhoneNumberId(const char *value)
WhatsAppPhoneNumberDetail & WithDisplayPhoneNumber(const char *value)
AWS_SOCIALMESSAGING_API WhatsAppPhoneNumberDetail(Aws::Utils::Json::JsonView jsonValue)
WhatsAppPhoneNumberDetail & WithDisplayPhoneNumberName(const char *value)
WhatsAppPhoneNumberDetail & WithDisplayPhoneNumber(Aws::String &&value)
WhatsAppPhoneNumberDetail & WithPhoneNumber(const Aws::String &value)
WhatsAppPhoneNumberDetail & WithMetaPhoneNumberId(Aws::String &&value)
AWS_SOCIALMESSAGING_API WhatsAppPhoneNumberDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
WhatsAppPhoneNumberDetail & WithDisplayPhoneNumberName(const Aws::String &value)
WhatsAppPhoneNumberDetail & WithDisplayPhoneNumber(const Aws::String &value)
WhatsAppPhoneNumberDetail & WithPhoneNumberId(const Aws::String &value)
WhatsAppPhoneNumberDetail & WithPhoneNumberId(Aws::String &&value)
WhatsAppPhoneNumberDetail & WithQualityRating(Aws::String &&value)
WhatsAppPhoneNumberDetail & WithPhoneNumber(const char *value)
WhatsAppPhoneNumberDetail & WithPhoneNumber(Aws::String &&value)
WhatsAppPhoneNumberDetail & WithArn(Aws::String &&value)
WhatsAppPhoneNumberDetail & WithDisplayPhoneNumberName(Aws::String &&value)
WhatsAppPhoneNumberDetail & WithQualityRating(const char *value)
WhatsAppPhoneNumberDetail & WithMetaPhoneNumberId(const Aws::String &value)
WhatsAppPhoneNumberDetail & WithArn(const Aws::String &value)
WhatsAppPhoneNumberDetail & WithMetaPhoneNumberId(const char *value)
AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const
WhatsAppPhoneNumberDetail & WithArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue