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
53 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
54 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
68 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
69 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
83 inline void SetWabaId(
const char* value) { m_wabaIdHasBeenSet =
true; m_wabaId.assign(value); }
121 inline void SetWabaName(
const char* value) { m_wabaNameHasBeenSet =
true; m_wabaName.assign(value); }
157 bool m_arnHasBeenSet =
false;
160 bool m_idHasBeenSet =
false;
163 bool m_wabaIdHasBeenSet =
false;
166 bool m_registrationStatusHasBeenSet =
false;
169 bool m_linkDateHasBeenSet =
false;
172 bool m_wabaNameHasBeenSet =
false;
175 bool m_eventDestinationsHasBeenSet =
false;
178 bool m_phoneNumbersHasBeenSet =
false;
void SetWabaName(const char *value)
void SetLinkDate(const Aws::Utils::DateTime &value)
void SetRegistrationStatus(RegistrationStatus &&value)
LinkedWhatsAppBusinessAccount & WithArn(const char *value)
void SetEventDestinations(Aws::Vector< WhatsAppBusinessAccountEventDestination > &&value)
AWS_SOCIALMESSAGING_API LinkedWhatsAppBusinessAccount()
LinkedWhatsAppBusinessAccount & AddPhoneNumbers(const WhatsAppPhoneNumberSummary &value)
void SetArn(Aws::String &&value)
bool ArnHasBeenSet() const
void SetRegistrationStatus(const RegistrationStatus &value)
void SetWabaName(Aws::String &&value)
void SetWabaName(const Aws::String &value)
void SetId(const char *value)
AWS_SOCIALMESSAGING_API LinkedWhatsAppBusinessAccount(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetWabaName() const
void SetPhoneNumbers(Aws::Vector< WhatsAppPhoneNumberSummary > &&value)
LinkedWhatsAppBusinessAccount & AddEventDestinations(WhatsAppBusinessAccountEventDestination &&value)
void SetPhoneNumbers(const Aws::Vector< WhatsAppPhoneNumberSummary > &value)
bool LinkDateHasBeenSet() const
const Aws::Utils::DateTime & GetLinkDate() const
LinkedWhatsAppBusinessAccount & WithWabaId(const Aws::String &value)
LinkedWhatsAppBusinessAccount & WithRegistrationStatus(RegistrationStatus &&value)
LinkedWhatsAppBusinessAccount & WithWabaId(const char *value)
void SetArn(const Aws::String &value)
LinkedWhatsAppBusinessAccount & WithArn(const Aws::String &value)
void SetWabaId(Aws::String &&value)
LinkedWhatsAppBusinessAccount & WithWabaId(Aws::String &&value)
LinkedWhatsAppBusinessAccount & WithLinkDate(Aws::Utils::DateTime &&value)
void SetWabaId(const Aws::String &value)
void SetArn(const char *value)
void SetWabaId(const char *value)
void SetEventDestinations(const Aws::Vector< WhatsAppBusinessAccountEventDestination > &value)
bool WabaIdHasBeenSet() const
void SetLinkDate(Aws::Utils::DateTime &&value)
LinkedWhatsAppBusinessAccount & WithPhoneNumbers(Aws::Vector< WhatsAppPhoneNumberSummary > &&value)
LinkedWhatsAppBusinessAccount & WithId(Aws::String &&value)
LinkedWhatsAppBusinessAccount & WithWabaName(Aws::String &&value)
AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const
LinkedWhatsAppBusinessAccount & WithId(const Aws::String &value)
void SetId(const Aws::String &value)
bool WabaNameHasBeenSet() const
bool IdHasBeenSet() const
const RegistrationStatus & GetRegistrationStatus() const
const Aws::Vector< WhatsAppBusinessAccountEventDestination > & GetEventDestinations() const
LinkedWhatsAppBusinessAccount & WithArn(Aws::String &&value)
LinkedWhatsAppBusinessAccount & WithWabaName(const Aws::String &value)
LinkedWhatsAppBusinessAccount & WithEventDestinations(const Aws::Vector< WhatsAppBusinessAccountEventDestination > &value)
LinkedWhatsAppBusinessAccount & WithEventDestinations(Aws::Vector< WhatsAppBusinessAccountEventDestination > &&value)
const Aws::String & GetArn() const
LinkedWhatsAppBusinessAccount & WithId(const char *value)
bool PhoneNumbersHasBeenSet() const
const Aws::Vector< WhatsAppPhoneNumberSummary > & GetPhoneNumbers() const
AWS_SOCIALMESSAGING_API LinkedWhatsAppBusinessAccount & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetId(Aws::String &&value)
LinkedWhatsAppBusinessAccount & AddEventDestinations(const WhatsAppBusinessAccountEventDestination &value)
LinkedWhatsAppBusinessAccount & WithPhoneNumbers(const Aws::Vector< WhatsAppPhoneNumberSummary > &value)
LinkedWhatsAppBusinessAccount & AddPhoneNumbers(WhatsAppPhoneNumberSummary &&value)
const Aws::String & GetWabaId() const
bool EventDestinationsHasBeenSet() const
const Aws::String & GetId() const
LinkedWhatsAppBusinessAccount & WithRegistrationStatus(const RegistrationStatus &value)
LinkedWhatsAppBusinessAccount & WithWabaName(const char *value)
LinkedWhatsAppBusinessAccount & WithLinkDate(const Aws::Utils::DateTime &value)
bool RegistrationStatusHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue