AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WabaSetupFinalization.h
1
6#pragma once
7#include <aws/socialmessaging/SocialMessaging_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/socialmessaging/model/WhatsAppBusinessAccountEventDestination.h>
11#include <aws/socialmessaging/model/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SocialMessaging
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_SOCIALMESSAGING_API WabaSetupFinalization();
39 AWS_SOCIALMESSAGING_API WabaSetupFinalization(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SOCIALMESSAGING_API WabaSetupFinalization& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetId() const{ return m_id; }
50 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
52 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
53 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
54 inline WabaSetupFinalization& WithId(const Aws::String& value) { SetId(value); return *this;}
55 inline WabaSetupFinalization& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
56 inline WabaSetupFinalization& WithId(const char* value) { SetId(value); return *this;}
58
60
63 inline const Aws::Vector<WhatsAppBusinessAccountEventDestination>& GetEventDestinations() const{ return m_eventDestinations; }
64 inline bool EventDestinationsHasBeenSet() const { return m_eventDestinationsHasBeenSet; }
65 inline void SetEventDestinations(const Aws::Vector<WhatsAppBusinessAccountEventDestination>& value) { m_eventDestinationsHasBeenSet = true; m_eventDestinations = value; }
66 inline void SetEventDestinations(Aws::Vector<WhatsAppBusinessAccountEventDestination>&& value) { m_eventDestinationsHasBeenSet = true; m_eventDestinations = std::move(value); }
69 inline WabaSetupFinalization& AddEventDestinations(const WhatsAppBusinessAccountEventDestination& value) { m_eventDestinationsHasBeenSet = true; m_eventDestinations.push_back(value); return *this; }
70 inline WabaSetupFinalization& AddEventDestinations(WhatsAppBusinessAccountEventDestination&& value) { m_eventDestinationsHasBeenSet = true; m_eventDestinations.push_back(std::move(value)); return *this; }
72
74
77 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
78 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
79 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
80 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
81 inline WabaSetupFinalization& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
82 inline WabaSetupFinalization& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
83 inline WabaSetupFinalization& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
84 inline WabaSetupFinalization& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
86 private:
87
88 Aws::String m_id;
89 bool m_idHasBeenSet = false;
90
92 bool m_eventDestinationsHasBeenSet = false;
93
94 Aws::Vector<Tag> m_tags;
95 bool m_tagsHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace SocialMessaging
100} // namespace Aws
WabaSetupFinalization & WithTags(const Aws::Vector< Tag > &value)
AWS_SOCIALMESSAGING_API WabaSetupFinalization(Aws::Utils::Json::JsonView jsonValue)
WabaSetupFinalization & WithId(const char *value)
void SetEventDestinations(Aws::Vector< WhatsAppBusinessAccountEventDestination > &&value)
void SetEventDestinations(const Aws::Vector< WhatsAppBusinessAccountEventDestination > &value)
AWS_SOCIALMESSAGING_API WabaSetupFinalization & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< WhatsAppBusinessAccountEventDestination > & GetEventDestinations() const
WabaSetupFinalization & AddTags(const Tag &value)
WabaSetupFinalization & WithId(const Aws::String &value)
WabaSetupFinalization & WithEventDestinations(const Aws::Vector< WhatsAppBusinessAccountEventDestination > &value)
WabaSetupFinalization & WithEventDestinations(Aws::Vector< WhatsAppBusinessAccountEventDestination > &&value)
WabaSetupFinalization & WithId(Aws::String &&value)
AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const
WabaSetupFinalization & AddEventDestinations(WhatsAppBusinessAccountEventDestination &&value)
WabaSetupFinalization & WithTags(Aws::Vector< Tag > &&value)
WabaSetupFinalization & AddEventDestinations(const 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