AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WhatsAppSetupFinalization.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/WabaSetupFinalization.h>
11#include <aws/socialmessaging/model/WabaPhoneNumberSetupFinalization.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 WhatsAppSetupFinalization();
39 AWS_SOCIALMESSAGING_API WhatsAppSetupFinalization(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::String& GetAssociateInProgressToken() const{ return m_associateInProgressToken; }
51 inline bool AssociateInProgressTokenHasBeenSet() const { return m_associateInProgressTokenHasBeenSet; }
52 inline void SetAssociateInProgressToken(const Aws::String& value) { m_associateInProgressTokenHasBeenSet = true; m_associateInProgressToken = value; }
53 inline void SetAssociateInProgressToken(Aws::String&& value) { m_associateInProgressTokenHasBeenSet = true; m_associateInProgressToken = std::move(value); }
54 inline void SetAssociateInProgressToken(const char* value) { m_associateInProgressTokenHasBeenSet = true; m_associateInProgressToken.assign(value); }
59
61
65 inline const Aws::Vector<WabaPhoneNumberSetupFinalization>& GetPhoneNumbers() const{ return m_phoneNumbers; }
66 inline bool PhoneNumbersHasBeenSet() const { return m_phoneNumbersHasBeenSet; }
67 inline void SetPhoneNumbers(const Aws::Vector<WabaPhoneNumberSetupFinalization>& value) { m_phoneNumbersHasBeenSet = true; m_phoneNumbers = value; }
68 inline void SetPhoneNumbers(Aws::Vector<WabaPhoneNumberSetupFinalization>&& value) { m_phoneNumbersHasBeenSet = true; m_phoneNumbers = std::move(value); }
71 inline WhatsAppSetupFinalization& AddPhoneNumbers(const WabaPhoneNumberSetupFinalization& value) { m_phoneNumbersHasBeenSet = true; m_phoneNumbers.push_back(value); return *this; }
72 inline WhatsAppSetupFinalization& AddPhoneNumbers(WabaPhoneNumberSetupFinalization&& value) { m_phoneNumbersHasBeenSet = true; m_phoneNumbers.push_back(std::move(value)); return *this; }
74
76
80 inline const Aws::String& GetPhoneNumberParent() const{ return m_phoneNumberParent; }
81 inline bool PhoneNumberParentHasBeenSet() const { return m_phoneNumberParentHasBeenSet; }
82 inline void SetPhoneNumberParent(const Aws::String& value) { m_phoneNumberParentHasBeenSet = true; m_phoneNumberParent = value; }
83 inline void SetPhoneNumberParent(Aws::String&& value) { m_phoneNumberParentHasBeenSet = true; m_phoneNumberParent = std::move(value); }
84 inline void SetPhoneNumberParent(const char* value) { m_phoneNumberParentHasBeenSet = true; m_phoneNumberParent.assign(value); }
86 inline WhatsAppSetupFinalization& WithPhoneNumberParent(Aws::String&& value) { SetPhoneNumberParent(std::move(value)); return *this;}
87 inline WhatsAppSetupFinalization& WithPhoneNumberParent(const char* value) { SetPhoneNumberParent(value); return *this;}
89
91
96 inline const WabaSetupFinalization& GetWaba() const{ return m_waba; }
97 inline bool WabaHasBeenSet() const { return m_wabaHasBeenSet; }
98 inline void SetWaba(const WabaSetupFinalization& value) { m_wabaHasBeenSet = true; m_waba = value; }
99 inline void SetWaba(WabaSetupFinalization&& value) { m_wabaHasBeenSet = true; m_waba = std::move(value); }
100 inline WhatsAppSetupFinalization& WithWaba(const WabaSetupFinalization& value) { SetWaba(value); return *this;}
101 inline WhatsAppSetupFinalization& WithWaba(WabaSetupFinalization&& value) { SetWaba(std::move(value)); return *this;}
103 private:
104
105 Aws::String m_associateInProgressToken;
106 bool m_associateInProgressTokenHasBeenSet = false;
107
109 bool m_phoneNumbersHasBeenSet = false;
110
111 Aws::String m_phoneNumberParent;
112 bool m_phoneNumberParentHasBeenSet = false;
113
115 bool m_wabaHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace SocialMessaging
120} // namespace Aws
AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const
WhatsAppSetupFinalization & WithWaba(WabaSetupFinalization &&value)
WhatsAppSetupFinalization & WithPhoneNumbers(const Aws::Vector< WabaPhoneNumberSetupFinalization > &value)
WhatsAppSetupFinalization & WithAssociateInProgressToken(Aws::String &&value)
AWS_SOCIALMESSAGING_API WhatsAppSetupFinalization & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< WabaPhoneNumberSetupFinalization > & GetPhoneNumbers() const
WhatsAppSetupFinalization & WithWaba(const WabaSetupFinalization &value)
WhatsAppSetupFinalization & WithPhoneNumberParent(const char *value)
void SetPhoneNumbers(Aws::Vector< WabaPhoneNumberSetupFinalization > &&value)
void SetPhoneNumbers(const Aws::Vector< WabaPhoneNumberSetupFinalization > &value)
WhatsAppSetupFinalization & WithPhoneNumbers(Aws::Vector< WabaPhoneNumberSetupFinalization > &&value)
AWS_SOCIALMESSAGING_API WhatsAppSetupFinalization(Aws::Utils::Json::JsonView jsonValue)
WhatsAppSetupFinalization & AddPhoneNumbers(const WabaPhoneNumberSetupFinalization &value)
WhatsAppSetupFinalization & AddPhoneNumbers(WabaPhoneNumberSetupFinalization &&value)
WhatsAppSetupFinalization & WithAssociateInProgressToken(const Aws::String &value)
WhatsAppSetupFinalization & WithAssociateInProgressToken(const char *value)
WhatsAppSetupFinalization & WithPhoneNumberParent(Aws::String &&value)
WhatsAppSetupFinalization & WithPhoneNumberParent(const 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