AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
54 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
55 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
56 inline WabaPhoneNumberSetupFinalization& WithId(const Aws::String& value) { SetId(value); return *this;}
57 inline WabaPhoneNumberSetupFinalization& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
58 inline WabaPhoneNumberSetupFinalization& WithId(const char* value) { SetId(value); return *this;}
60
62
68 inline const Aws::String& GetTwoFactorPin() const{ return m_twoFactorPin; }
69 inline bool TwoFactorPinHasBeenSet() const { return m_twoFactorPinHasBeenSet; }
70 inline void SetTwoFactorPin(const Aws::String& value) { m_twoFactorPinHasBeenSet = true; m_twoFactorPin = value; }
71 inline void SetTwoFactorPin(Aws::String&& value) { m_twoFactorPinHasBeenSet = true; m_twoFactorPin = std::move(value); }
72 inline void SetTwoFactorPin(const char* value) { m_twoFactorPinHasBeenSet = true; m_twoFactorPin.assign(value); }
74 inline WabaPhoneNumberSetupFinalization& WithTwoFactorPin(Aws::String&& value) { SetTwoFactorPin(std::move(value)); return *this;}
75 inline WabaPhoneNumberSetupFinalization& WithTwoFactorPin(const char* value) { SetTwoFactorPin(value); return *this;}
77
79
94 inline const Aws::String& GetDataLocalizationRegion() const{ return m_dataLocalizationRegion; }
95 inline bool DataLocalizationRegionHasBeenSet() const { return m_dataLocalizationRegionHasBeenSet; }
96 inline void SetDataLocalizationRegion(const Aws::String& value) { m_dataLocalizationRegionHasBeenSet = true; m_dataLocalizationRegion = value; }
97 inline void SetDataLocalizationRegion(Aws::String&& value) { m_dataLocalizationRegionHasBeenSet = true; m_dataLocalizationRegion = std::move(value); }
98 inline void SetDataLocalizationRegion(const char* value) { m_dataLocalizationRegionHasBeenSet = true; m_dataLocalizationRegion.assign(value); }
103
105
108 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
109 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
110 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
111 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
112 inline WabaPhoneNumberSetupFinalization& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
113 inline WabaPhoneNumberSetupFinalization& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
114 inline WabaPhoneNumberSetupFinalization& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
115 inline WabaPhoneNumberSetupFinalization& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
117 private:
118
119 Aws::String m_id;
120 bool m_idHasBeenSet = false;
121
122 Aws::String m_twoFactorPin;
123 bool m_twoFactorPinHasBeenSet = false;
124
125 Aws::String m_dataLocalizationRegion;
126 bool m_dataLocalizationRegionHasBeenSet = false;
127
128 Aws::Vector<Tag> m_tags;
129 bool m_tagsHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace SocialMessaging
134} // namespace Aws
AWS_SOCIALMESSAGING_API WabaPhoneNumberSetupFinalization(Aws::Utils::Json::JsonView jsonValue)
WabaPhoneNumberSetupFinalization & WithTwoFactorPin(const Aws::String &value)
WabaPhoneNumberSetupFinalization & WithDataLocalizationRegion(const Aws::String &value)
WabaPhoneNumberSetupFinalization & WithId(const char *value)
WabaPhoneNumberSetupFinalization & WithId(const Aws::String &value)
AWS_SOCIALMESSAGING_API WabaPhoneNumberSetupFinalization & operator=(Aws::Utils::Json::JsonView jsonValue)
WabaPhoneNumberSetupFinalization & WithTwoFactorPin(Aws::String &&value)
WabaPhoneNumberSetupFinalization & WithId(Aws::String &&value)
WabaPhoneNumberSetupFinalization & WithTags(const Aws::Vector< Tag > &value)
WabaPhoneNumberSetupFinalization & WithTags(Aws::Vector< Tag > &&value)
WabaPhoneNumberSetupFinalization & WithTwoFactorPin(const char *value)
AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const
WabaPhoneNumberSetupFinalization & WithDataLocalizationRegion(const char *value)
WabaPhoneNumberSetupFinalization & WithDataLocalizationRegion(Aws::String &&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