AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateWhatsAppBusinessAccountRequest.h
1
6#pragma once
7#include <aws/socialmessaging/SocialMessaging_EXPORTS.h>
8#include <aws/socialmessaging/SocialMessagingRequest.h>
9#include <aws/socialmessaging/model/WhatsAppSignupCallback.h>
10#include <aws/socialmessaging/model/WhatsAppSetupFinalization.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SocialMessaging
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SOCIALMESSAGING_API AssociateWhatsAppBusinessAccountRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "AssociateWhatsAppBusinessAccount"; }
32
33 AWS_SOCIALMESSAGING_API Aws::String SerializePayload() const override;
34
35
37
40 inline const WhatsAppSignupCallback& GetSignupCallback() const{ return m_signupCallback; }
41 inline bool SignupCallbackHasBeenSet() const { return m_signupCallbackHasBeenSet; }
42 inline void SetSignupCallback(const WhatsAppSignupCallback& value) { m_signupCallbackHasBeenSet = true; m_signupCallback = value; }
43 inline void SetSignupCallback(WhatsAppSignupCallback&& value) { m_signupCallbackHasBeenSet = true; m_signupCallback = std::move(value); }
47
49
53 inline const WhatsAppSetupFinalization& GetSetupFinalization() const{ return m_setupFinalization; }
54 inline bool SetupFinalizationHasBeenSet() const { return m_setupFinalizationHasBeenSet; }
55 inline void SetSetupFinalization(const WhatsAppSetupFinalization& value) { m_setupFinalizationHasBeenSet = true; m_setupFinalization = value; }
56 inline void SetSetupFinalization(WhatsAppSetupFinalization&& value) { m_setupFinalizationHasBeenSet = true; m_setupFinalization = std::move(value); }
60 private:
61
62 WhatsAppSignupCallback m_signupCallback;
63 bool m_signupCallbackHasBeenSet = false;
64
65 WhatsAppSetupFinalization m_setupFinalization;
66 bool m_setupFinalizationHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace SocialMessaging
71} // namespace Aws
AssociateWhatsAppBusinessAccountRequest & WithSignupCallback(const WhatsAppSignupCallback &value)
AWS_SOCIALMESSAGING_API Aws::String SerializePayload() const override
AssociateWhatsAppBusinessAccountRequest & WithSetupFinalization(WhatsAppSetupFinalization &&value)
AssociateWhatsAppBusinessAccountRequest & WithSetupFinalization(const WhatsAppSetupFinalization &value)
AssociateWhatsAppBusinessAccountRequest & WithSignupCallback(WhatsAppSignupCallback &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String