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/sesv2/SESV2_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 SESV2
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_SESV2_API SnsDestination();
39 AWS_SESV2_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 SESV2
66} // namespace Aws
void SetTopicArn(const char *value)
SnsDestination & WithTopicArn(Aws::String &&value)
const Aws::String & GetTopicArn() const
void SetTopicArn(const Aws::String &value)
SnsDestination & WithTopicArn(const char *value)
SnsDestination & WithTopicArn(const Aws::String &value)
AWS_SESV2_API SnsDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTopicArn(Aws::String &&value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SESV2_API SnsDestination(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue