AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LinkedWhatsAppBusinessAccountSummary.h
1
6#pragma once
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 <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SocialMessaging
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_SOCIALMESSAGING_API LinkedWhatsAppBusinessAccountSummary();
42 AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetArn() const{ return m_arn; }
50 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
52 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
53 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
54 inline LinkedWhatsAppBusinessAccountSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
55 inline LinkedWhatsAppBusinessAccountSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
56 inline LinkedWhatsAppBusinessAccountSummary& WithArn(const char* value) { SetArn(value); return *this;}
58
60
64 inline const Aws::String& GetId() const{ return m_id; }
65 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
66 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
67 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
68 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
69 inline LinkedWhatsAppBusinessAccountSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
70 inline LinkedWhatsAppBusinessAccountSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
71 inline LinkedWhatsAppBusinessAccountSummary& WithId(const char* value) { SetId(value); return *this;}
73
75
78 inline const Aws::String& GetWabaId() const{ return m_wabaId; }
79 inline bool WabaIdHasBeenSet() const { return m_wabaIdHasBeenSet; }
80 inline void SetWabaId(const Aws::String& value) { m_wabaIdHasBeenSet = true; m_wabaId = value; }
81 inline void SetWabaId(Aws::String&& value) { m_wabaIdHasBeenSet = true; m_wabaId = std::move(value); }
82 inline void SetWabaId(const char* value) { m_wabaIdHasBeenSet = true; m_wabaId.assign(value); }
83 inline LinkedWhatsAppBusinessAccountSummary& WithWabaId(const Aws::String& value) { SetWabaId(value); return *this;}
84 inline LinkedWhatsAppBusinessAccountSummary& WithWabaId(Aws::String&& value) { SetWabaId(std::move(value)); return *this;}
85 inline LinkedWhatsAppBusinessAccountSummary& WithWabaId(const char* value) { SetWabaId(value); return *this;}
87
89
92 inline const RegistrationStatus& GetRegistrationStatus() const{ return m_registrationStatus; }
93 inline bool RegistrationStatusHasBeenSet() const { return m_registrationStatusHasBeenSet; }
94 inline void SetRegistrationStatus(const RegistrationStatus& value) { m_registrationStatusHasBeenSet = true; m_registrationStatus = value; }
95 inline void SetRegistrationStatus(RegistrationStatus&& value) { m_registrationStatusHasBeenSet = true; m_registrationStatus = std::move(value); }
99
101
104 inline const Aws::Utils::DateTime& GetLinkDate() const{ return m_linkDate; }
105 inline bool LinkDateHasBeenSet() const { return m_linkDateHasBeenSet; }
106 inline void SetLinkDate(const Aws::Utils::DateTime& value) { m_linkDateHasBeenSet = true; m_linkDate = value; }
107 inline void SetLinkDate(Aws::Utils::DateTime&& value) { m_linkDateHasBeenSet = true; m_linkDate = std::move(value); }
109 inline LinkedWhatsAppBusinessAccountSummary& WithLinkDate(Aws::Utils::DateTime&& value) { SetLinkDate(std::move(value)); return *this;}
111
113
116 inline const Aws::String& GetWabaName() const{ return m_wabaName; }
117 inline bool WabaNameHasBeenSet() const { return m_wabaNameHasBeenSet; }
118 inline void SetWabaName(const Aws::String& value) { m_wabaNameHasBeenSet = true; m_wabaName = value; }
119 inline void SetWabaName(Aws::String&& value) { m_wabaNameHasBeenSet = true; m_wabaName = std::move(value); }
120 inline void SetWabaName(const char* value) { m_wabaNameHasBeenSet = true; m_wabaName.assign(value); }
121 inline LinkedWhatsAppBusinessAccountSummary& WithWabaName(const Aws::String& value) { SetWabaName(value); return *this;}
122 inline LinkedWhatsAppBusinessAccountSummary& WithWabaName(Aws::String&& value) { SetWabaName(std::move(value)); return *this;}
123 inline LinkedWhatsAppBusinessAccountSummary& WithWabaName(const char* value) { SetWabaName(value); return *this;}
125
127
130 inline const Aws::Vector<WhatsAppBusinessAccountEventDestination>& GetEventDestinations() const{ return m_eventDestinations; }
131 inline bool EventDestinationsHasBeenSet() const { return m_eventDestinationsHasBeenSet; }
132 inline void SetEventDestinations(const Aws::Vector<WhatsAppBusinessAccountEventDestination>& value) { m_eventDestinationsHasBeenSet = true; m_eventDestinations = value; }
133 inline void SetEventDestinations(Aws::Vector<WhatsAppBusinessAccountEventDestination>&& value) { m_eventDestinationsHasBeenSet = true; m_eventDestinations = std::move(value); }
136 inline LinkedWhatsAppBusinessAccountSummary& AddEventDestinations(const WhatsAppBusinessAccountEventDestination& value) { m_eventDestinationsHasBeenSet = true; m_eventDestinations.push_back(value); return *this; }
137 inline LinkedWhatsAppBusinessAccountSummary& AddEventDestinations(WhatsAppBusinessAccountEventDestination&& value) { m_eventDestinationsHasBeenSet = true; m_eventDestinations.push_back(std::move(value)); return *this; }
139 private:
140
141 Aws::String m_arn;
142 bool m_arnHasBeenSet = false;
143
144 Aws::String m_id;
145 bool m_idHasBeenSet = false;
146
147 Aws::String m_wabaId;
148 bool m_wabaIdHasBeenSet = false;
149
150 RegistrationStatus m_registrationStatus;
151 bool m_registrationStatusHasBeenSet = false;
152
153 Aws::Utils::DateTime m_linkDate;
154 bool m_linkDateHasBeenSet = false;
155
156 Aws::String m_wabaName;
157 bool m_wabaNameHasBeenSet = false;
158
160 bool m_eventDestinationsHasBeenSet = false;
161 };
162
163} // namespace Model
164} // namespace SocialMessaging
165} // namespace Aws
LinkedWhatsAppBusinessAccountSummary & WithArn(Aws::String &&value)
AWS_SOCIALMESSAGING_API LinkedWhatsAppBusinessAccountSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
LinkedWhatsAppBusinessAccountSummary & WithRegistrationStatus(RegistrationStatus &&value)
void SetEventDestinations(Aws::Vector< WhatsAppBusinessAccountEventDestination > &&value)
LinkedWhatsAppBusinessAccountSummary & WithId(Aws::String &&value)
LinkedWhatsAppBusinessAccountSummary & WithWabaId(Aws::String &&value)
LinkedWhatsAppBusinessAccountSummary & WithArn(const Aws::String &value)
void SetEventDestinations(const Aws::Vector< WhatsAppBusinessAccountEventDestination > &value)
AWS_SOCIALMESSAGING_API LinkedWhatsAppBusinessAccountSummary(Aws::Utils::Json::JsonView jsonValue)
LinkedWhatsAppBusinessAccountSummary & WithId(const Aws::String &value)
LinkedWhatsAppBusinessAccountSummary & WithWabaName(Aws::String &&value)
LinkedWhatsAppBusinessAccountSummary & AddEventDestinations(WhatsAppBusinessAccountEventDestination &&value)
LinkedWhatsAppBusinessAccountSummary & AddEventDestinations(const WhatsAppBusinessAccountEventDestination &value)
LinkedWhatsAppBusinessAccountSummary & WithRegistrationStatus(const RegistrationStatus &value)
const Aws::Vector< WhatsAppBusinessAccountEventDestination > & GetEventDestinations() const
AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const
LinkedWhatsAppBusinessAccountSummary & WithEventDestinations(const Aws::Vector< WhatsAppBusinessAccountEventDestination > &value)
LinkedWhatsAppBusinessAccountSummary & WithLinkDate(Aws::Utils::DateTime &&value)
LinkedWhatsAppBusinessAccountSummary & WithLinkDate(const Aws::Utils::DateTime &value)
LinkedWhatsAppBusinessAccountSummary & WithWabaId(const char *value)
LinkedWhatsAppBusinessAccountSummary & WithWabaName(const Aws::String &value)
LinkedWhatsAppBusinessAccountSummary & WithWabaName(const char *value)
LinkedWhatsAppBusinessAccountSummary & WithWabaId(const Aws::String &value)
LinkedWhatsAppBusinessAccountSummary & WithEventDestinations(Aws::Vector< WhatsAppBusinessAccountEventDestination > &&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