AWS SDK for C++  1.9.155
AWS SDK for C++
Topic.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SESV2
23 {
24 namespace Model
25 {
26 
34  {
35  public:
36  Topic();
40 
41 
45  inline const Aws::String& GetTopicName() const{ return m_topicName; }
46 
50  inline bool TopicNameHasBeenSet() const { return m_topicNameHasBeenSet; }
51 
55  inline void SetTopicName(const Aws::String& value) { m_topicNameHasBeenSet = true; m_topicName = value; }
56 
60  inline void SetTopicName(Aws::String&& value) { m_topicNameHasBeenSet = true; m_topicName = std::move(value); }
61 
65  inline void SetTopicName(const char* value) { m_topicNameHasBeenSet = true; m_topicName.assign(value); }
66 
70  inline Topic& WithTopicName(const Aws::String& value) { SetTopicName(value); return *this;}
71 
75  inline Topic& WithTopicName(Aws::String&& value) { SetTopicName(std::move(value)); return *this;}
76 
80  inline Topic& WithTopicName(const char* value) { SetTopicName(value); return *this;}
81 
82 
86  inline const Aws::String& GetDisplayName() const{ return m_displayName; }
87 
91  inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
92 
96  inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
97 
101  inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
102 
106  inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
107 
111  inline Topic& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
112 
116  inline Topic& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
117 
121  inline Topic& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
122 
123 
127  inline const Aws::String& GetDescription() const{ return m_description; }
128 
132  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
133 
137  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
138 
142  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
143 
147  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
148 
152  inline Topic& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
153 
157  inline Topic& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
158 
162  inline Topic& WithDescription(const char* value) { SetDescription(value); return *this;}
163 
164 
169  inline const SubscriptionStatus& GetDefaultSubscriptionStatus() const{ return m_defaultSubscriptionStatus; }
170 
175  inline bool DefaultSubscriptionStatusHasBeenSet() const { return m_defaultSubscriptionStatusHasBeenSet; }
176 
181  inline void SetDefaultSubscriptionStatus(const SubscriptionStatus& value) { m_defaultSubscriptionStatusHasBeenSet = true; m_defaultSubscriptionStatus = value; }
182 
187  inline void SetDefaultSubscriptionStatus(SubscriptionStatus&& value) { m_defaultSubscriptionStatusHasBeenSet = true; m_defaultSubscriptionStatus = std::move(value); }
188 
193  inline Topic& WithDefaultSubscriptionStatus(const SubscriptionStatus& value) { SetDefaultSubscriptionStatus(value); return *this;}
194 
199  inline Topic& WithDefaultSubscriptionStatus(SubscriptionStatus&& value) { SetDefaultSubscriptionStatus(std::move(value)); return *this;}
200 
201  private:
202 
203  Aws::String m_topicName;
204  bool m_topicNameHasBeenSet;
205 
206  Aws::String m_displayName;
207  bool m_displayNameHasBeenSet;
208 
209  Aws::String m_description;
210  bool m_descriptionHasBeenSet;
211 
212  SubscriptionStatus m_defaultSubscriptionStatus;
213  bool m_defaultSubscriptionStatusHasBeenSet;
214  };
215 
216 } // namespace Model
217 } // namespace SESV2
218 } // namespace Aws
Aws::SESV2::Model::Topic::SetDefaultSubscriptionStatus
void SetDefaultSubscriptionStatus(SubscriptionStatus &&value)
Definition: Topic.h:187
Aws::SESV2::Model::Topic::WithDisplayName
Topic & WithDisplayName(const char *value)
Definition: Topic.h:121
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::Topic::Topic
Topic()
Aws::SESV2::Model::Topic::WithDisplayName
Topic & WithDisplayName(Aws::String &&value)
Definition: Topic.h:116
Aws::SESV2::Model::Topic::SetDescription
void SetDescription(Aws::String &&value)
Definition: Topic.h:142
Aws::SESV2::Model::Topic::GetDisplayName
const Aws::String & GetDisplayName() const
Definition: Topic.h:86
Aws::SESV2::Model::Topic::SetDisplayName
void SetDisplayName(const char *value)
Definition: Topic.h:106
Aws::SESV2::Model::SubscriptionStatus
SubscriptionStatus
Definition: SubscriptionStatus.h:17
Aws::SESV2::Model::Topic
Definition: Topic.h:34
Aws::SESV2::Model::Topic::SetDescription
void SetDescription(const char *value)
Definition: Topic.h:147
Aws::SESV2::Model::Topic::SetDefaultSubscriptionStatus
void SetDefaultSubscriptionStatus(const SubscriptionStatus &value)
Definition: Topic.h:181
Aws::SESV2::Model::Topic::WithDisplayName
Topic & WithDisplayName(const Aws::String &value)
Definition: Topic.h:111
Aws::SESV2::Model::Topic::GetTopicName
const Aws::String & GetTopicName() const
Definition: Topic.h:45
Aws::SESV2::Model::Topic::SetTopicName
void SetTopicName(const char *value)
Definition: Topic.h:65
Aws::SESV2::Model::Topic::TopicNameHasBeenSet
bool TopicNameHasBeenSet() const
Definition: Topic.h:50
Aws::SESV2::Model::Topic::SetDisplayName
void SetDisplayName(const Aws::String &value)
Definition: Topic.h:96
Aws::SESV2::Model::Topic::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: Topic.h:132
Aws::SESV2::Model::Topic::Topic
Topic(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::Topic::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SESV2::Model::Topic::WithDescription
Topic & WithDescription(const Aws::String &value)
Definition: Topic.h:152
Aws::SESV2::Model::Topic::SetTopicName
void SetTopicName(const Aws::String &value)
Definition: Topic.h:55
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SESV2::Model::Topic::WithDefaultSubscriptionStatus
Topic & WithDefaultSubscriptionStatus(SubscriptionStatus &&value)
Definition: Topic.h:199
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SESV2::Model::Topic::WithTopicName
Topic & WithTopicName(Aws::String &&value)
Definition: Topic.h:75
SESV2_EXPORTS.h
Aws::SESV2::Model::Topic::WithTopicName
Topic & WithTopicName(const Aws::String &value)
Definition: Topic.h:70
Aws::SESV2::Model::Topic::operator=
Topic & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::Topic::WithTopicName
Topic & WithTopicName(const char *value)
Definition: Topic.h:80
SubscriptionStatus.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::Topic::WithDescription
Topic & WithDescription(const char *value)
Definition: Topic.h:162
Aws::SESV2::Model::Topic::WithDefaultSubscriptionStatus
Topic & WithDefaultSubscriptionStatus(const SubscriptionStatus &value)
Definition: Topic.h:193
Aws::SESV2::Model::Topic::DisplayNameHasBeenSet
bool DisplayNameHasBeenSet() const
Definition: Topic.h:91
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::Topic::GetDescription
const Aws::String & GetDescription() const
Definition: Topic.h:127
Aws::SESV2::Model::Topic::SetDisplayName
void SetDisplayName(Aws::String &&value)
Definition: Topic.h:101
Aws::SESV2::Model::Topic::WithDescription
Topic & WithDescription(Aws::String &&value)
Definition: Topic.h:157
Aws::SESV2::Model::Topic::DefaultSubscriptionStatusHasBeenSet
bool DefaultSubscriptionStatusHasBeenSet() const
Definition: Topic.h:175
Aws::SESV2::Model::Topic::SetTopicName
void SetTopicName(Aws::String &&value)
Definition: Topic.h:60
Aws::SESV2::Model::Topic::SetDescription
void SetDescription(const Aws::String &value)
Definition: Topic.h:137
Aws::SESV2::Model::Topic::GetDefaultSubscriptionStatus
const SubscriptionStatus & GetDefaultSubscriptionStatus() const
Definition: Topic.h:169