AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
SnsDestination.h
1
6#pragma once
7#include <aws/pinpoint-email/PinpointEmail_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 PinpointEmail
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_PINPOINTEMAIL_API SnsDestination() = default;
37 AWS_PINPOINTEMAIL_API SnsDestination(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PINPOINTEMAIL_API SnsDestination& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline const Aws::String& GetTopicArn() const { return m_topicArn; }
50 inline bool TopicArnHasBeenSet() const { return m_topicArnHasBeenSet; }
51 template<typename TopicArnT = Aws::String>
52 void SetTopicArn(TopicArnT&& value) { m_topicArnHasBeenSet = true; m_topicArn = std::forward<TopicArnT>(value); }
53 template<typename TopicArnT = Aws::String>
54 SnsDestination& WithTopicArn(TopicArnT&& value) { SetTopicArn(std::forward<TopicArnT>(value)); return *this;}
56 private:
57
58 Aws::String m_topicArn;
59 bool m_topicArnHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace PinpointEmail
64} // namespace Aws
AWS_PINPOINTEMAIL_API SnsDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetTopicArn() const
AWS_PINPOINTEMAIL_API SnsDestination(Aws::Utils::Json::JsonView jsonValue)
SnsDestination & WithTopicArn(TopicArnT &&value)
AWS_PINPOINTEMAIL_API SnsDestination()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue