AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTopicArn(const Aws::String& value) { m_topicArnHasBeenSet = true; m_topicArn = value; }
52 inline void SetTopicArn(Aws::String&& value) { m_topicArnHasBeenSet = true; m_topicArn = std::move(value); }
53 inline void SetTopicArn(const char* value) { m_topicArnHasBeenSet = true; m_topicArn.assign(value); }
54 inline SnsDestination& WithTopicArn(const Aws::String& value) { SetTopicArn(value); return *this;}
55 inline SnsDestination& WithTopicArn(Aws::String&& value) { SetTopicArn(std::move(value)); return *this;}
56 inline SnsDestination& WithTopicArn(const char* value) { SetTopicArn(value); return *this;}
58 private:
59
60 Aws::String m_topicArn;
61 bool m_topicArnHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace PinpointEmail
66} // namespace Aws
AWS_PINPOINTEMAIL_API SnsDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
SnsDestination & WithTopicArn(Aws::String &&value)
SnsDestination & WithTopicArn(const Aws::String &value)
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(const char *value)
void SetTopicArn(const Aws::String &value)
AWS_PINPOINTEMAIL_API SnsDestination()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue