AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
WhatsAppBusinessAccountEventDestination.h
1
6#pragma once
7#include <aws/socialmessaging/SocialMessaging_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SocialMessaging
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_SOCIALMESSAGING_API WhatsAppBusinessAccountEventDestination() = default;
37 AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetEventDestinationArn() const { return m_eventDestinationArn; }
45 inline bool EventDestinationArnHasBeenSet() const { return m_eventDestinationArnHasBeenSet; }
46 template<typename EventDestinationArnT = Aws::String>
47 void SetEventDestinationArn(EventDestinationArnT&& value) { m_eventDestinationArnHasBeenSet = true; m_eventDestinationArn = std::forward<EventDestinationArnT>(value); }
48 template<typename EventDestinationArnT = Aws::String>
49 WhatsAppBusinessAccountEventDestination& WithEventDestinationArn(EventDestinationArnT&& value) { SetEventDestinationArn(std::forward<EventDestinationArnT>(value)); return *this;}
51
53
57 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
58 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
59 template<typename RoleArnT = Aws::String>
60 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
61 template<typename RoleArnT = Aws::String>
62 WhatsAppBusinessAccountEventDestination& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
64 private:
65
66 Aws::String m_eventDestinationArn;
67 bool m_eventDestinationArnHasBeenSet = false;
68
69 Aws::String m_roleArn;
70 bool m_roleArnHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace SocialMessaging
75} // namespace Aws
AWS_SOCIALMESSAGING_API WhatsAppBusinessAccountEventDestination()=default
AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const
WhatsAppBusinessAccountEventDestination & WithEventDestinationArn(EventDestinationArnT &&value)
AWS_SOCIALMESSAGING_API WhatsAppBusinessAccountEventDestination(Aws::Utils::Json::JsonView jsonValue)
AWS_SOCIALMESSAGING_API WhatsAppBusinessAccountEventDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue