AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Topic.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sesv2/model/SubscriptionStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SESV2
23{
24namespace Model
25{
26
33 class Topic
34 {
35 public:
36 AWS_SESV2_API Topic();
37 AWS_SESV2_API Topic(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SESV2_API Topic& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetTopicName() const{ return m_topicName; }
47 inline bool TopicNameHasBeenSet() const { return m_topicNameHasBeenSet; }
48 inline void SetTopicName(const Aws::String& value) { m_topicNameHasBeenSet = true; m_topicName = value; }
49 inline void SetTopicName(Aws::String&& value) { m_topicNameHasBeenSet = true; m_topicName = std::move(value); }
50 inline void SetTopicName(const char* value) { m_topicNameHasBeenSet = true; m_topicName.assign(value); }
51 inline Topic& WithTopicName(const Aws::String& value) { SetTopicName(value); return *this;}
52 inline Topic& WithTopicName(Aws::String&& value) { SetTopicName(std::move(value)); return *this;}
53 inline Topic& WithTopicName(const char* value) { SetTopicName(value); return *this;}
55
57
60 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
61 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
62 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
63 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
64 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
65 inline Topic& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
66 inline Topic& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
67 inline Topic& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
69
71
74 inline const Aws::String& GetDescription() const{ return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
77 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
78 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
79 inline Topic& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
80 inline Topic& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
81 inline Topic& WithDescription(const char* value) { SetDescription(value); return *this;}
83
85
89 inline const SubscriptionStatus& GetDefaultSubscriptionStatus() const{ return m_defaultSubscriptionStatus; }
90 inline bool DefaultSubscriptionStatusHasBeenSet() const { return m_defaultSubscriptionStatusHasBeenSet; }
91 inline void SetDefaultSubscriptionStatus(const SubscriptionStatus& value) { m_defaultSubscriptionStatusHasBeenSet = true; m_defaultSubscriptionStatus = value; }
92 inline void SetDefaultSubscriptionStatus(SubscriptionStatus&& value) { m_defaultSubscriptionStatusHasBeenSet = true; m_defaultSubscriptionStatus = std::move(value); }
94 inline Topic& WithDefaultSubscriptionStatus(SubscriptionStatus&& value) { SetDefaultSubscriptionStatus(std::move(value)); return *this;}
96 private:
97
98 Aws::String m_topicName;
99 bool m_topicNameHasBeenSet = false;
100
101 Aws::String m_displayName;
102 bool m_displayNameHasBeenSet = false;
103
104 Aws::String m_description;
105 bool m_descriptionHasBeenSet = false;
106
107 SubscriptionStatus m_defaultSubscriptionStatus;
108 bool m_defaultSubscriptionStatusHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace SESV2
113} // namespace Aws
Topic & WithDisplayName(const Aws::String &value)
Definition Topic.h:65
AWS_SESV2_API Topic()
bool DisplayNameHasBeenSet() const
Definition Topic.h:61
const SubscriptionStatus & GetDefaultSubscriptionStatus() const
Definition Topic.h:89
Topic & WithDescription(const char *value)
Definition Topic.h:81
bool TopicNameHasBeenSet() const
Definition Topic.h:47
const Aws::String & GetDisplayName() const
Definition Topic.h:60
Topic & WithTopicName(const char *value)
Definition Topic.h:53
Topic & WithDisplayName(Aws::String &&value)
Definition Topic.h:66
Topic & WithDefaultSubscriptionStatus(const SubscriptionStatus &value)
Definition Topic.h:93
bool DefaultSubscriptionStatusHasBeenSet() const
Definition Topic.h:90
bool DescriptionHasBeenSet() const
Definition Topic.h:75
Topic & WithTopicName(Aws::String &&value)
Definition Topic.h:52
void SetDefaultSubscriptionStatus(SubscriptionStatus &&value)
Definition Topic.h:92
void SetDisplayName(const char *value)
Definition Topic.h:64
const Aws::String & GetDescription() const
Definition Topic.h:74
AWS_SESV2_API Topic & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDisplayName(const Aws::String &value)
Definition Topic.h:62
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTopicName(const Aws::String &value)
Definition Topic.h:48
void SetTopicName(const char *value)
Definition Topic.h:50
Topic & WithDisplayName(const char *value)
Definition Topic.h:67
Topic & WithDescription(Aws::String &&value)
Definition Topic.h:80
AWS_SESV2_API Topic(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const Aws::String &value)
Definition Topic.h:76
Topic & WithTopicName(const Aws::String &value)
Definition Topic.h:51
Topic & WithDescription(const Aws::String &value)
Definition Topic.h:79
void SetDisplayName(Aws::String &&value)
Definition Topic.h:63
void SetDescription(Aws::String &&value)
Definition Topic.h:77
const Aws::String & GetTopicName() const
Definition Topic.h:46
Topic & WithDefaultSubscriptionStatus(SubscriptionStatus &&value)
Definition Topic.h:94
void SetDescription(const char *value)
Definition Topic.h:78
void SetTopicName(Aws::String &&value)
Definition Topic.h:49
void SetDefaultSubscriptionStatus(const SubscriptionStatus &value)
Definition Topic.h:91
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue