AWS SDK for C++  1.9.159
AWS SDK for C++
ListManagementOptions.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SESV2
22 {
23 namespace Model
24 {
25 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetContactListName() const{ return m_contactListName; }
46 
50  inline bool ContactListNameHasBeenSet() const { return m_contactListNameHasBeenSet; }
51 
55  inline void SetContactListName(const Aws::String& value) { m_contactListNameHasBeenSet = true; m_contactListName = value; }
56 
60  inline void SetContactListName(Aws::String&& value) { m_contactListNameHasBeenSet = true; m_contactListName = std::move(value); }
61 
65  inline void SetContactListName(const char* value) { m_contactListNameHasBeenSet = true; m_contactListName.assign(value); }
66 
70  inline ListManagementOptions& WithContactListName(const Aws::String& value) { SetContactListName(value); return *this;}
71 
75  inline ListManagementOptions& WithContactListName(Aws::String&& value) { SetContactListName(std::move(value)); return *this;}
76 
80  inline ListManagementOptions& WithContactListName(const char* value) { SetContactListName(value); return *this;}
81 
82 
86  inline const Aws::String& GetTopicName() const{ return m_topicName; }
87 
91  inline bool TopicNameHasBeenSet() const { return m_topicNameHasBeenSet; }
92 
96  inline void SetTopicName(const Aws::String& value) { m_topicNameHasBeenSet = true; m_topicName = value; }
97 
101  inline void SetTopicName(Aws::String&& value) { m_topicNameHasBeenSet = true; m_topicName = std::move(value); }
102 
106  inline void SetTopicName(const char* value) { m_topicNameHasBeenSet = true; m_topicName.assign(value); }
107 
111  inline ListManagementOptions& WithTopicName(const Aws::String& value) { SetTopicName(value); return *this;}
112 
116  inline ListManagementOptions& WithTopicName(Aws::String&& value) { SetTopicName(std::move(value)); return *this;}
117 
121  inline ListManagementOptions& WithTopicName(const char* value) { SetTopicName(value); return *this;}
122 
123  private:
124 
125  Aws::String m_contactListName;
126  bool m_contactListNameHasBeenSet;
127 
128  Aws::String m_topicName;
129  bool m_topicNameHasBeenSet;
130  };
131 
132 } // namespace Model
133 } // namespace SESV2
134 } // namespace Aws
Aws::SESV2::Model::ListManagementOptions::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SESV2::Model::ListManagementOptions::TopicNameHasBeenSet
bool TopicNameHasBeenSet() const
Definition: ListManagementOptions.h:91
Aws::SESV2::Model::ListManagementOptions::WithTopicName
ListManagementOptions & WithTopicName(const char *value)
Definition: ListManagementOptions.h:121
Aws::SESV2::Model::ListManagementOptions::ListManagementOptions
ListManagementOptions(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::ListManagementOptions::WithContactListName
ListManagementOptions & WithContactListName(Aws::String &&value)
Definition: ListManagementOptions.h:75
Aws::SESV2::Model::ListManagementOptions::ContactListNameHasBeenSet
bool ContactListNameHasBeenSet() const
Definition: ListManagementOptions.h:50
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::ListManagementOptions::GetContactListName
const Aws::String & GetContactListName() const
Definition: ListManagementOptions.h:45
Aws::SESV2::Model::ListManagementOptions::WithContactListName
ListManagementOptions & WithContactListName(const char *value)
Definition: ListManagementOptions.h:80
Aws::SESV2::Model::ListManagementOptions::SetContactListName
void SetContactListName(Aws::String &&value)
Definition: ListManagementOptions.h:60
Aws::SESV2::Model::ListManagementOptions::SetTopicName
void SetTopicName(const char *value)
Definition: ListManagementOptions.h:106
Aws::SESV2::Model::ListManagementOptions::WithTopicName
ListManagementOptions & WithTopicName(const Aws::String &value)
Definition: ListManagementOptions.h:111
Aws::SESV2::Model::ListManagementOptions::WithContactListName
ListManagementOptions & WithContactListName(const Aws::String &value)
Definition: ListManagementOptions.h:70
Aws::SESV2::Model::ListManagementOptions
Definition: ListManagementOptions.h:34
Aws::SESV2::Model::ListManagementOptions::SetContactListName
void SetContactListName(const char *value)
Definition: ListManagementOptions.h:65
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
SESV2_EXPORTS.h
Aws::SESV2::Model::ListManagementOptions::SetContactListName
void SetContactListName(const Aws::String &value)
Definition: ListManagementOptions.h:55
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::ListManagementOptions::GetTopicName
const Aws::String & GetTopicName() const
Definition: ListManagementOptions.h:86
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::ListManagementOptions::operator=
ListManagementOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::ListManagementOptions::SetTopicName
void SetTopicName(const Aws::String &value)
Definition: ListManagementOptions.h:96
Aws::SESV2::Model::ListManagementOptions::WithTopicName
ListManagementOptions & WithTopicName(Aws::String &&value)
Definition: ListManagementOptions.h:116
Aws::SESV2::Model::ListManagementOptions::ListManagementOptions
ListManagementOptions()
Aws::SESV2::Model::ListManagementOptions::SetTopicName
void SetTopicName(Aws::String &&value)
Definition: ListManagementOptions.h:101