AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
WabaPhoneNumberSetupFinalization.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
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SocialMessaging {
22namespace Model {
23
31 public:
32 AWS_SOCIALMESSAGING_API WabaPhoneNumberSetupFinalization() = default;
35 AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
45 inline const Aws::String& GetId() const { return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 template <typename IdT = Aws::String>
48 void SetId(IdT&& value) {
49 m_idHasBeenSet = true;
50 m_id = std::forward<IdT>(value);
51 }
52 template <typename IdT = Aws::String>
54 SetId(std::forward<IdT>(value));
55 return *this;
56 }
58
60
66 inline const Aws::String& GetTwoFactorPin() const { return m_twoFactorPin; }
67 inline bool TwoFactorPinHasBeenSet() const { return m_twoFactorPinHasBeenSet; }
68 template <typename TwoFactorPinT = Aws::String>
69 void SetTwoFactorPin(TwoFactorPinT&& value) {
70 m_twoFactorPinHasBeenSet = true;
71 m_twoFactorPin = std::forward<TwoFactorPinT>(value);
72 }
73 template <typename TwoFactorPinT = Aws::String>
75 SetTwoFactorPin(std::forward<TwoFactorPinT>(value));
76 return *this;
77 }
79
81
96 inline const Aws::String& GetDataLocalizationRegion() const { return m_dataLocalizationRegion; }
97 inline bool DataLocalizationRegionHasBeenSet() const { return m_dataLocalizationRegionHasBeenSet; }
98 template <typename DataLocalizationRegionT = Aws::String>
99 void SetDataLocalizationRegion(DataLocalizationRegionT&& value) {
100 m_dataLocalizationRegionHasBeenSet = true;
101 m_dataLocalizationRegion = std::forward<DataLocalizationRegionT>(value);
102 }
103 template <typename DataLocalizationRegionT = Aws::String>
105 SetDataLocalizationRegion(std::forward<DataLocalizationRegionT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
115 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
116 template <typename TagsT = Aws::Vector<Tag>>
117 void SetTags(TagsT&& value) {
118 m_tagsHasBeenSet = true;
119 m_tags = std::forward<TagsT>(value);
120 }
121 template <typename TagsT = Aws::Vector<Tag>>
123 SetTags(std::forward<TagsT>(value));
124 return *this;
125 }
126 template <typename TagsT = Tag>
128 m_tagsHasBeenSet = true;
129 m_tags.emplace_back(std::forward<TagsT>(value));
130 return *this;
131 }
133 private:
134 Aws::String m_id;
135
136 Aws::String m_twoFactorPin;
137
138 Aws::String m_dataLocalizationRegion;
139
140 Aws::Vector<Tag> m_tags;
141 bool m_idHasBeenSet = false;
142 bool m_twoFactorPinHasBeenSet = false;
143 bool m_dataLocalizationRegionHasBeenSet = false;
144 bool m_tagsHasBeenSet = false;
145};
146
147} // namespace Model
148} // namespace SocialMessaging
149} // namespace Aws
AWS_SOCIALMESSAGING_API WabaPhoneNumberSetupFinalization(Aws::Utils::Json::JsonView jsonValue)
WabaPhoneNumberSetupFinalization & WithTwoFactorPin(TwoFactorPinT &&value)
WabaPhoneNumberSetupFinalization & WithDataLocalizationRegion(DataLocalizationRegionT &&value)
AWS_SOCIALMESSAGING_API WabaPhoneNumberSetupFinalization & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SOCIALMESSAGING_API WabaPhoneNumberSetupFinalization()=default
AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue