7#include <aws/socialmessaging/SocialMessaging_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/socialmessaging/model/RegistrationStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/socialmessaging/model/WhatsAppBusinessAccountEventDestination.h>
13#include <aws/socialmessaging/model/WhatsAppPhoneNumberSummary.h>
26namespace SocialMessaging
52 template<
typename ArnT = Aws::String>
53 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
54 template<
typename ArnT = Aws::String>
65 template<
typename IdT = Aws::String>
66 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
67 template<
typename IdT = Aws::String>
77 template<
typename WabaIdT = Aws::String>
78 void SetWabaId(WabaIdT&& value) { m_wabaIdHasBeenSet =
true; m_wabaId = std::forward<WabaIdT>(value); }
79 template<
typename WabaIdT = Aws::String>
99 template<
typename LinkDateT = Aws::Utils::DateTime>
100 void SetLinkDate(LinkDateT&& value) { m_linkDateHasBeenSet =
true; m_linkDate = std::forward<LinkDateT>(value); }
101 template<
typename LinkDateT = Aws::Utils::DateTime>
111 template<
typename WabaNameT = Aws::String>
112 void SetWabaName(WabaNameT&& value) { m_wabaNameHasBeenSet =
true; m_wabaName = std::forward<WabaNameT>(value); }
113 template<
typename WabaNameT = Aws::String>
123 template<
typename EventDestinationsT = Aws::Vector<WhatsAppBusinessAccountEventDestination>>
124 void SetEventDestinations(EventDestinationsT&& value) { m_eventDestinationsHasBeenSet =
true; m_eventDestinations = std::forward<EventDestinationsT>(value); }
125 template<
typename EventDestinationsT = Aws::Vector<WhatsAppBusinessAccountEventDestination>>
127 template<
typename EventDestinationsT = WhatsAppBusinessAccountEventDestination>
137 template<
typename PhoneNumbersT = Aws::Vector<WhatsAppPhoneNumberSummary>>
138 void SetPhoneNumbers(PhoneNumbersT&& value) { m_phoneNumbersHasBeenSet =
true; m_phoneNumbers = std::forward<PhoneNumbersT>(value); }
139 template<
typename PhoneNumbersT = Aws::Vector<WhatsAppPhoneNumberSummary>>
141 template<
typename PhoneNumbersT = WhatsAppPhoneNumberSummary>
147 bool m_arnHasBeenSet =
false;
150 bool m_idHasBeenSet =
false;
153 bool m_wabaIdHasBeenSet =
false;
156 bool m_registrationStatusHasBeenSet =
false;
159 bool m_linkDateHasBeenSet =
false;
162 bool m_wabaNameHasBeenSet =
false;
165 bool m_eventDestinationsHasBeenSet =
false;
168 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