AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
WhatsAppSignupCallbackResult.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/AWSMap.h>
10#include <aws/socialmessaging/model/LinkedWhatsAppBusinessAccountIdMetaData.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
34 {
35 public:
36 AWS_SOCIALMESSAGING_API WhatsAppSignupCallbackResult() = default;
37 AWS_SOCIALMESSAGING_API WhatsAppSignupCallbackResult(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::String& GetAssociateInProgressToken() const { return m_associateInProgressToken; }
49 inline bool AssociateInProgressTokenHasBeenSet() const { return m_associateInProgressTokenHasBeenSet; }
50 template<typename AssociateInProgressTokenT = Aws::String>
51 void SetAssociateInProgressToken(AssociateInProgressTokenT&& value) { m_associateInProgressTokenHasBeenSet = true; m_associateInProgressToken = std::forward<AssociateInProgressTokenT>(value); }
52 template<typename AssociateInProgressTokenT = Aws::String>
53 WhatsAppSignupCallbackResult& WithAssociateInProgressToken(AssociateInProgressTokenT&& value) { SetAssociateInProgressToken(std::forward<AssociateInProgressTokenT>(value)); return *this;}
55
57
61 inline const Aws::Map<Aws::String, LinkedWhatsAppBusinessAccountIdMetaData>& GetLinkedAccountsWithIncompleteSetup() const { return m_linkedAccountsWithIncompleteSetup; }
62 inline bool LinkedAccountsWithIncompleteSetupHasBeenSet() const { return m_linkedAccountsWithIncompleteSetupHasBeenSet; }
63 template<typename LinkedAccountsWithIncompleteSetupT = Aws::Map<Aws::String, LinkedWhatsAppBusinessAccountIdMetaData>>
64 void SetLinkedAccountsWithIncompleteSetup(LinkedAccountsWithIncompleteSetupT&& value) { m_linkedAccountsWithIncompleteSetupHasBeenSet = true; m_linkedAccountsWithIncompleteSetup = std::forward<LinkedAccountsWithIncompleteSetupT>(value); }
65 template<typename LinkedAccountsWithIncompleteSetupT = Aws::Map<Aws::String, LinkedWhatsAppBusinessAccountIdMetaData>>
66 WhatsAppSignupCallbackResult& WithLinkedAccountsWithIncompleteSetup(LinkedAccountsWithIncompleteSetupT&& value) { SetLinkedAccountsWithIncompleteSetup(std::forward<LinkedAccountsWithIncompleteSetupT>(value)); return *this;}
67 template<typename LinkedAccountsWithIncompleteSetupKeyT = Aws::String, typename LinkedAccountsWithIncompleteSetupValueT = LinkedWhatsAppBusinessAccountIdMetaData>
68 WhatsAppSignupCallbackResult& AddLinkedAccountsWithIncompleteSetup(LinkedAccountsWithIncompleteSetupKeyT&& key, LinkedAccountsWithIncompleteSetupValueT&& value) {
69 m_linkedAccountsWithIncompleteSetupHasBeenSet = true; m_linkedAccountsWithIncompleteSetup.emplace(std::forward<LinkedAccountsWithIncompleteSetupKeyT>(key), std::forward<LinkedAccountsWithIncompleteSetupValueT>(value)); return *this;
70 }
72 private:
73
74 Aws::String m_associateInProgressToken;
75 bool m_associateInProgressTokenHasBeenSet = false;
76
78 bool m_linkedAccountsWithIncompleteSetupHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace SocialMessaging
83} // 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