7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/socialmessaging/SocialMessaging_EXPORTS.h>
11#include <aws/socialmessaging/model/RegistrationStatus.h>
12#include <aws/socialmessaging/model/WhatsAppBusinessAccountEventDestination.h>
13#include <aws/socialmessaging/model/WhatsAppPhoneNumberSummary.h>
24namespace SocialMessaging {
46 template <
typename ArnT = Aws::String>
48 m_arnHasBeenSet =
true;
49 m_arn = std::forward<ArnT>(value);
51 template <
typename ArnT = Aws::String>
53 SetArn(std::forward<ArnT>(value));
65 template <
typename IdT = Aws::String>
67 m_idHasBeenSet =
true;
68 m_id = std::forward<IdT>(value);
70 template <
typename IdT = Aws::String>
72 SetId(std::forward<IdT>(value));
83 template <
typename WabaIdT = Aws::String>
85 m_wabaIdHasBeenSet =
true;
86 m_wabaId = std::forward<WabaIdT>(value);
88 template <
typename WabaIdT = Aws::String>
102 m_registrationStatusHasBeenSet =
true;
103 m_registrationStatus = value;
117 template <
typename LinkDateT = Aws::Utils::DateTime>
119 m_linkDateHasBeenSet =
true;
120 m_linkDate = std::forward<LinkDateT>(value);
122 template <
typename LinkDateT = Aws::Utils::DateTime>
135 template <
typename WabaNameT = Aws::String>
137 m_wabaNameHasBeenSet =
true;
138 m_wabaName = std::forward<WabaNameT>(value);
140 template <
typename WabaNameT = Aws::String>
153 template <
typename EventDestinationsT = Aws::Vector<WhatsAppBusinessAccountEventDestination>>
155 m_eventDestinationsHasBeenSet =
true;
156 m_eventDestinations = std::forward<EventDestinationsT>(value);
158 template <
typename EventDestinationsT = Aws::Vector<WhatsAppBusinessAccountEventDestination>>
163 template <
typename EventDestinationsT = WhatsAppBusinessAccountEventDestination>
165 m_eventDestinationsHasBeenSet =
true;
166 m_eventDestinations.emplace_back(std::forward<EventDestinationsT>(value));
177 template <
typename PhoneNumbersT = Aws::Vector<WhatsAppPhoneNumberSummary>>
179 m_phoneNumbersHasBeenSet =
true;
180 m_phoneNumbers = std::forward<PhoneNumbersT>(value);
182 template <
typename PhoneNumbersT = Aws::Vector<WhatsAppPhoneNumberSummary>>
187 template <
typename PhoneNumbersT = WhatsAppPhoneNumberSummary>
189 m_phoneNumbersHasBeenSet =
true;
190 m_phoneNumbers.emplace_back(std::forward<PhoneNumbersT>(value));
210 bool m_arnHasBeenSet =
false;
211 bool m_idHasBeenSet =
false;
212 bool m_wabaIdHasBeenSet =
false;
213 bool m_registrationStatusHasBeenSet =
false;
214 bool m_linkDateHasBeenSet =
false;
215 bool m_wabaNameHasBeenSet =
false;
216 bool m_eventDestinationsHasBeenSet =
false;
217 bool m_phoneNumbersHasBeenSet =
false;
LinkedWhatsAppBusinessAccount & WithWabaId(WabaIdT &&value)
RegistrationStatus GetRegistrationStatus() const
void SetEventDestinations(EventDestinationsT &&value)
void SetRegistrationStatus(RegistrationStatus value)
bool ArnHasBeenSet() const
void SetPhoneNumbers(PhoneNumbersT &&value)
LinkedWhatsAppBusinessAccount & AddPhoneNumbers(PhoneNumbersT &&value)
AWS_SOCIALMESSAGING_API LinkedWhatsAppBusinessAccount(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetWabaName() const
LinkedWhatsAppBusinessAccount & WithWabaName(WabaNameT &&value)
LinkedWhatsAppBusinessAccount & WithId(IdT &&value)
void SetLinkDate(LinkDateT &&value)
bool LinkDateHasBeenSet() const
const Aws::Utils::DateTime & GetLinkDate() const
LinkedWhatsAppBusinessAccount & WithEventDestinations(EventDestinationsT &&value)
LinkedWhatsAppBusinessAccount & WithArn(ArnT &&value)
bool WabaIdHasBeenSet() const
LinkedWhatsAppBusinessAccount & WithRegistrationStatus(RegistrationStatus value)
AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const
void SetWabaName(WabaNameT &&value)
bool WabaNameHasBeenSet() const
bool IdHasBeenSet() const
void SetArn(ArnT &&value)
const Aws::Vector< WhatsAppBusinessAccountEventDestination > & GetEventDestinations() const
LinkedWhatsAppBusinessAccount & WithLinkDate(LinkDateT &&value)
const Aws::String & GetArn() const
AWS_SOCIALMESSAGING_API LinkedWhatsAppBusinessAccount()=default
bool PhoneNumbersHasBeenSet() const
const Aws::Vector< WhatsAppPhoneNumberSummary > & GetPhoneNumbers() const
AWS_SOCIALMESSAGING_API LinkedWhatsAppBusinessAccount & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetWabaId(WabaIdT &&value)
LinkedWhatsAppBusinessAccount & WithPhoneNumbers(PhoneNumbersT &&value)
const Aws::String & GetWabaId() const
bool EventDestinationsHasBeenSet() const
const Aws::String & GetId() const
bool RegistrationStatusHasBeenSet() const
LinkedWhatsAppBusinessAccount & AddEventDestinations(EventDestinationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue