AWS SDK for C++

AWS SDK for C++ Version 1.11.765

Loading...
Searching...
No Matches
WhatsAppSignupCallbackResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/socialmessaging/SocialMessaging_EXPORTS.h>
10#include <aws/socialmessaging/model/LinkedWhatsAppBusinessAccountIdMetaData.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
30 public:
31 AWS_SOCIALMESSAGING_API WhatsAppSignupCallbackResult() = default;
32 AWS_SOCIALMESSAGING_API WhatsAppSignupCallbackResult(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline const Aws::String& GetAssociateInProgressToken() const { return m_associateInProgressToken; }
43 inline bool AssociateInProgressTokenHasBeenSet() const { return m_associateInProgressTokenHasBeenSet; }
44 template <typename AssociateInProgressTokenT = Aws::String>
45 void SetAssociateInProgressToken(AssociateInProgressTokenT&& value) {
46 m_associateInProgressTokenHasBeenSet = true;
47 m_associateInProgressToken = std::forward<AssociateInProgressTokenT>(value);
48 }
49 template <typename AssociateInProgressTokenT = Aws::String>
50 WhatsAppSignupCallbackResult& WithAssociateInProgressToken(AssociateInProgressTokenT&& value) {
51 SetAssociateInProgressToken(std::forward<AssociateInProgressTokenT>(value));
52 return *this;
53 }
55
57
62 return m_linkedAccountsWithIncompleteSetup;
63 }
64 inline bool LinkedAccountsWithIncompleteSetupHasBeenSet() const { return m_linkedAccountsWithIncompleteSetupHasBeenSet; }
65 template <typename LinkedAccountsWithIncompleteSetupT = Aws::Map<Aws::String, LinkedWhatsAppBusinessAccountIdMetaData>>
66 void SetLinkedAccountsWithIncompleteSetup(LinkedAccountsWithIncompleteSetupT&& value) {
67 m_linkedAccountsWithIncompleteSetupHasBeenSet = true;
68 m_linkedAccountsWithIncompleteSetup = std::forward<LinkedAccountsWithIncompleteSetupT>(value);
69 }
70 template <typename LinkedAccountsWithIncompleteSetupT = Aws::Map<Aws::String, LinkedWhatsAppBusinessAccountIdMetaData>>
71 WhatsAppSignupCallbackResult& WithLinkedAccountsWithIncompleteSetup(LinkedAccountsWithIncompleteSetupT&& value) {
72 SetLinkedAccountsWithIncompleteSetup(std::forward<LinkedAccountsWithIncompleteSetupT>(value));
73 return *this;
74 }
75 template <typename LinkedAccountsWithIncompleteSetupKeyT = Aws::String,
76 typename LinkedAccountsWithIncompleteSetupValueT = LinkedWhatsAppBusinessAccountIdMetaData>
77 WhatsAppSignupCallbackResult& AddLinkedAccountsWithIncompleteSetup(LinkedAccountsWithIncompleteSetupKeyT&& key,
78 LinkedAccountsWithIncompleteSetupValueT&& value) {
79 m_linkedAccountsWithIncompleteSetupHasBeenSet = true;
80 m_linkedAccountsWithIncompleteSetup.emplace(std::forward<LinkedAccountsWithIncompleteSetupKeyT>(key),
81 std::forward<LinkedAccountsWithIncompleteSetupValueT>(value));
82 return *this;
83 }
85 private:
86 Aws::String m_associateInProgressToken;
87
89 bool m_associateInProgressTokenHasBeenSet = false;
90 bool m_linkedAccountsWithIncompleteSetupHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace SocialMessaging
95} // namespace Aws
AWS_SOCIALMESSAGING_API WhatsAppSignupCallbackResult(Aws::Utils::Json::JsonView jsonValue)
AWS_SOCIALMESSAGING_API WhatsAppSignupCallbackResult & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, LinkedWhatsAppBusinessAccountIdMetaData > & GetLinkedAccountsWithIncompleteSetup() const
AWS_SOCIALMESSAGING_API WhatsAppSignupCallbackResult()=default
WhatsAppSignupCallbackResult & WithAssociateInProgressToken(AssociateInProgressTokenT &&value)
WhatsAppSignupCallbackResult & AddLinkedAccountsWithIncompleteSetup(LinkedAccountsWithIncompleteSetupKeyT &&key, LinkedAccountsWithIncompleteSetupValueT &&value)
AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLinkedAccountsWithIncompleteSetup(LinkedAccountsWithIncompleteSetupT &&value)
WhatsAppSignupCallbackResult & WithLinkedAccountsWithIncompleteSetup(LinkedAccountsWithIncompleteSetupT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue