AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListManagementOptions.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 ListManagementOptions();
39 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetContactListName() const{ return m_contactListName; }
47 inline bool ContactListNameHasBeenSet() const { return m_contactListNameHasBeenSet; }
48 inline void SetContactListName(const Aws::String& value) { m_contactListNameHasBeenSet = true; m_contactListName = value; }
49 inline void SetContactListName(Aws::String&& value) { m_contactListNameHasBeenSet = true; m_contactListName = std::move(value); }
50 inline void SetContactListName(const char* value) { m_contactListNameHasBeenSet = true; m_contactListName.assign(value); }
51 inline ListManagementOptions& WithContactListName(const Aws::String& value) { SetContactListName(value); return *this;}
52 inline ListManagementOptions& WithContactListName(Aws::String&& value) { SetContactListName(std::move(value)); return *this;}
53 inline ListManagementOptions& WithContactListName(const char* value) { SetContactListName(value); return *this;}
55
57
60 inline const Aws::String& GetTopicName() const{ return m_topicName; }
61 inline bool TopicNameHasBeenSet() const { return m_topicNameHasBeenSet; }
62 inline void SetTopicName(const Aws::String& value) { m_topicNameHasBeenSet = true; m_topicName = value; }
63 inline void SetTopicName(Aws::String&& value) { m_topicNameHasBeenSet = true; m_topicName = std::move(value); }
64 inline void SetTopicName(const char* value) { m_topicNameHasBeenSet = true; m_topicName.assign(value); }
65 inline ListManagementOptions& WithTopicName(const Aws::String& value) { SetTopicName(value); return *this;}
66 inline ListManagementOptions& WithTopicName(Aws::String&& value) { SetTopicName(std::move(value)); return *this;}
67 inline ListManagementOptions& WithTopicName(const char* value) { SetTopicName(value); return *this;}
69 private:
70
71 Aws::String m_contactListName;
72 bool m_contactListNameHasBeenSet = false;
73
74 Aws::String m_topicName;
75 bool m_topicNameHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace SESV2
80} // namespace Aws
AWS_SESV2_API ListManagementOptions(Aws::Utils::Json::JsonView jsonValue)
ListManagementOptions & WithTopicName(const Aws::String &value)
ListManagementOptions & WithContactListName(Aws::String &&value)
ListManagementOptions & WithTopicName(const char *value)
AWS_SESV2_API ListManagementOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTopicName(const Aws::String &value)
ListManagementOptions & WithTopicName(Aws::String &&value)
ListManagementOptions & WithContactListName(const char *value)
void SetContactListName(const Aws::String &value)
ListManagementOptions & WithContactListName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue