AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
WabaPhoneNumberSetupFinalization.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/Tag.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SocialMessaging
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SOCIALMESSAGING_API WabaPhoneNumberSetupFinalization() = default;
40 AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
51 inline const Aws::String& GetId() const { return m_id; }
52 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
53 template<typename IdT = Aws::String>
54 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
55 template<typename IdT = Aws::String>
56 WabaPhoneNumberSetupFinalization& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
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) { m_twoFactorPinHasBeenSet = true; m_twoFactorPin = std::forward<TwoFactorPinT>(value); }
70 template<typename TwoFactorPinT = Aws::String>
71 WabaPhoneNumberSetupFinalization& WithTwoFactorPin(TwoFactorPinT&& value) { SetTwoFactorPin(std::forward<TwoFactorPinT>(value)); return *this;}
73
75
90 inline const Aws::String& GetDataLocalizationRegion() const { return m_dataLocalizationRegion; }
91 inline bool DataLocalizationRegionHasBeenSet() const { return m_dataLocalizationRegionHasBeenSet; }
92 template<typename DataLocalizationRegionT = Aws::String>
93 void SetDataLocalizationRegion(DataLocalizationRegionT&& value) { m_dataLocalizationRegionHasBeenSet = true; m_dataLocalizationRegion = std::forward<DataLocalizationRegionT>(value); }
94 template<typename DataLocalizationRegionT = Aws::String>
95 WabaPhoneNumberSetupFinalization& WithDataLocalizationRegion(DataLocalizationRegionT&& value) { SetDataLocalizationRegion(std::forward<DataLocalizationRegionT>(value)); return *this;}
97
99
102 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
103 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
104 template<typename TagsT = Aws::Vector<Tag>>
105 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
106 template<typename TagsT = Aws::Vector<Tag>>
107 WabaPhoneNumberSetupFinalization& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
108 template<typename TagsT = Tag>
109 WabaPhoneNumberSetupFinalization& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
111 private:
112
113 Aws::String m_id;
114 bool m_idHasBeenSet = false;
115
116 Aws::String m_twoFactorPin;
117 bool m_twoFactorPinHasBeenSet = false;
118
119 Aws::String m_dataLocalizationRegion;
120 bool m_dataLocalizationRegionHasBeenSet = false;
121
122 Aws::Vector<Tag> m_tags;
123 bool m_tagsHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace SocialMessaging
128} // 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