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>
25namespace SocialMessaging
51 template<
typename ArnT = Aws::String>
52 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
53 template<
typename ArnT = Aws::String>
64 template<
typename IdT = Aws::String>
65 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
66 template<
typename IdT = Aws::String>
76 template<
typename WabaIdT = Aws::String>
77 void SetWabaId(WabaIdT&& value) { m_wabaIdHasBeenSet =
true; m_wabaId = std::forward<WabaIdT>(value); }
78 template<
typename WabaIdT = Aws::String>
98 template<
typename LinkDateT = Aws::Utils::DateTime>
99 void SetLinkDate(LinkDateT&& value) { m_linkDateHasBeenSet =
true; m_linkDate = std::forward<LinkDateT>(value); }
100 template<
typename LinkDateT = Aws::Utils::DateTime>
110 template<
typename WabaNameT = Aws::String>
111 void SetWabaName(WabaNameT&& value) { m_wabaNameHasBeenSet =
true; m_wabaName = std::forward<WabaNameT>(value); }
112 template<
typename WabaNameT = Aws::String>
122 template<
typename EventDestinationsT = Aws::Vector<WhatsAppBusinessAccountEventDestination>>
123 void SetEventDestinations(EventDestinationsT&& value) { m_eventDestinationsHasBeenSet =
true; m_eventDestinations = std::forward<EventDestinationsT>(value); }
124 template<
typename EventDestinationsT = Aws::Vector<WhatsAppBusinessAccountEventDestination>>
126 template<
typename EventDestinationsT = WhatsAppBusinessAccountEventDestination>
132 bool m_arnHasBeenSet =
false;
135 bool m_idHasBeenSet =
false;
138 bool m_wabaIdHasBeenSet =
false;
141 bool m_registrationStatusHasBeenSet =
false;
144 bool m_linkDateHasBeenSet =
false;
147 bool m_wabaNameHasBeenSet =
false;
150 bool m_eventDestinationsHasBeenSet =
false;
bool LinkDateHasBeenSet() const
AWS_SOCIALMESSAGING_API LinkedWhatsAppBusinessAccountSummary()=default
LinkedWhatsAppBusinessAccountSummary & WithId(IdT &&value)
AWS_SOCIALMESSAGING_API LinkedWhatsAppBusinessAccountSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetWabaId() const
void SetWabaName(WabaNameT &&value)
LinkedWhatsAppBusinessAccountSummary & WithArn(ArnT &&value)
void SetArn(ArnT &&value)
bool ArnHasBeenSet() const
LinkedWhatsAppBusinessAccountSummary & WithWabaId(WabaIdT &&value)
void SetRegistrationStatus(RegistrationStatus value)
AWS_SOCIALMESSAGING_API LinkedWhatsAppBusinessAccountSummary(Aws::Utils::Json::JsonView jsonValue)
LinkedWhatsAppBusinessAccountSummary & WithWabaName(WabaNameT &&value)
bool WabaNameHasBeenSet() const
LinkedWhatsAppBusinessAccountSummary & WithLinkDate(LinkDateT &&value)
const Aws::String & GetWabaName() const
void SetWabaId(WabaIdT &&value)
LinkedWhatsAppBusinessAccountSummary & WithEventDestinations(EventDestinationsT &&value)
const Aws::Vector< WhatsAppBusinessAccountEventDestination > & GetEventDestinations() const
AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEventDestinations(EventDestinationsT &&value)
RegistrationStatus GetRegistrationStatus() const
void SetLinkDate(LinkDateT &&value)
const Aws::Utils::DateTime & GetLinkDate() const
bool IdHasBeenSet() const
const Aws::String & GetId() const
bool RegistrationStatusHasBeenSet() const
bool WabaIdHasBeenSet() const
LinkedWhatsAppBusinessAccountSummary & AddEventDestinations(EventDestinationsT &&value)
bool EventDestinationsHasBeenSet() const
const Aws::String & GetArn() const
LinkedWhatsAppBusinessAccountSummary & WithRegistrationStatus(RegistrationStatus 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