AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
SnsDestination.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint-email/PinpointEmail_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace PinpointEmail {
20namespace Model {
21
30 public:
31 AWS_PINPOINTEMAIL_API SnsDestination() = default;
32 AWS_PINPOINTEMAIL_API SnsDestination(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PINPOINTEMAIL_API SnsDestination& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PINPOINTEMAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
43 inline const Aws::String& GetTopicArn() const { return m_topicArn; }
44 inline bool TopicArnHasBeenSet() const { return m_topicArnHasBeenSet; }
45 template <typename TopicArnT = Aws::String>
46 void SetTopicArn(TopicArnT&& value) {
47 m_topicArnHasBeenSet = true;
48 m_topicArn = std::forward<TopicArnT>(value);
49 }
50 template <typename TopicArnT = Aws::String>
51 SnsDestination& WithTopicArn(TopicArnT&& value) {
52 SetTopicArn(std::forward<TopicArnT>(value));
53 return *this;
54 }
56 private:
57 Aws::String m_topicArn;
58 bool m_topicArnHasBeenSet = false;
59};
60
61} // namespace Model
62} // namespace PinpointEmail
63} // 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