AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename IdT = Aws::String>
52 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
53 template<typename IdT = Aws::String>
54 WabaSetupFinalization& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
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) { m_eventDestinationsHasBeenSet = true; m_eventDestinations = std::forward<EventDestinationsT>(value); }
65 template<typename EventDestinationsT = Aws::Vector<WhatsAppBusinessAccountEventDestination>>
66 WabaSetupFinalization& WithEventDestinations(EventDestinationsT&& value) { SetEventDestinations(std::forward<EventDestinationsT>(value)); return *this;}
67 template<typename EventDestinationsT = WhatsAppBusinessAccountEventDestination>
68 WabaSetupFinalization& AddEventDestinations(EventDestinationsT&& value) { m_eventDestinationsHasBeenSet = true; m_eventDestinations.emplace_back(std::forward<EventDestinationsT>(value)); return *this; }
70
72
75 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
76 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
77 template<typename TagsT = Aws::Vector<Tag>>
78 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
79 template<typename TagsT = Aws::Vector<Tag>>
80 WabaSetupFinalization& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
81 template<typename TagsT = Tag>
82 WabaSetupFinalization& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
84 private:
85
86 Aws::String m_id;
87 bool m_idHasBeenSet = false;
88
90 bool m_eventDestinationsHasBeenSet = false;
91
92 Aws::Vector<Tag> m_tags;
93 bool m_tagsHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace SocialMessaging
98} // 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