AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
WabaSetupFinalization.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/socialmessaging/SocialMessaging_EXPORTS.h>
10#include <aws/socialmessaging/model/Tag.h>
11#include <aws/socialmessaging/model/WhatsAppBusinessAccountEventDestination.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SocialMessaging {
23namespace Model {
24
32 public:
33 AWS_SOCIALMESSAGING_API WabaSetupFinalization() = default;
34 AWS_SOCIALMESSAGING_API WabaSetupFinalization(Aws::Utils::Json::JsonView jsonValue);
35 AWS_SOCIALMESSAGING_API WabaSetupFinalization& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Aws::String& GetId() const { return m_id; }
44 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
45 template <typename IdT = Aws::String>
46 void SetId(IdT&& value) {
47 m_idHasBeenSet = true;
48 m_id = std::forward<IdT>(value);
49 }
50 template <typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::Vector<WhatsAppBusinessAccountEventDestination>& GetEventDestinations() const { return m_eventDestinations; }
62 inline bool EventDestinationsHasBeenSet() const { return m_eventDestinationsHasBeenSet; }
63 template <typename EventDestinationsT = Aws::Vector<WhatsAppBusinessAccountEventDestination>>
64 void SetEventDestinations(EventDestinationsT&& value) {
65 m_eventDestinationsHasBeenSet = true;
66 m_eventDestinations = std::forward<EventDestinationsT>(value);
67 }
68 template <typename EventDestinationsT = Aws::Vector<WhatsAppBusinessAccountEventDestination>>
69 WabaSetupFinalization& WithEventDestinations(EventDestinationsT&& value) {
70 SetEventDestinations(std::forward<EventDestinationsT>(value));
71 return *this;
72 }
73 template <typename EventDestinationsT = WhatsAppBusinessAccountEventDestination>
74 WabaSetupFinalization& AddEventDestinations(EventDestinationsT&& value) {
75 m_eventDestinationsHasBeenSet = true;
76 m_eventDestinations.emplace_back(std::forward<EventDestinationsT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
86 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
87 template <typename TagsT = Aws::Vector<Tag>>
88 void SetTags(TagsT&& value) {
89 m_tagsHasBeenSet = true;
90 m_tags = std::forward<TagsT>(value);
91 }
92 template <typename TagsT = Aws::Vector<Tag>>
94 SetTags(std::forward<TagsT>(value));
95 return *this;
96 }
97 template <typename TagsT = Tag>
99 m_tagsHasBeenSet = true;
100 m_tags.emplace_back(std::forward<TagsT>(value));
101 return *this;
102 }
104 private:
105 Aws::String m_id;
106
108
109 Aws::Vector<Tag> m_tags;
110 bool m_idHasBeenSet = false;
111 bool m_eventDestinationsHasBeenSet = false;
112 bool m_tagsHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace SocialMessaging
117} // namespace Aws
AWS_SOCIALMESSAGING_API WabaSetupFinalization(Aws::Utils::Json::JsonView jsonValue)
AWS_SOCIALMESSAGING_API WabaSetupFinalization & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< WhatsAppBusinessAccountEventDestination > & GetEventDestinations() const
WabaSetupFinalization & WithTags(TagsT &&value)
AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const
WabaSetupFinalization & AddEventDestinations(EventDestinationsT &&value)
WabaSetupFinalization & AddTags(TagsT &&value)
WabaSetupFinalization & WithEventDestinations(EventDestinationsT &&value)
AWS_SOCIALMESSAGING_API WabaSetupFinalization()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue