AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
ListManagementOptions.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sesv2/SESV2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SESV2 {
20namespace Model {
21
30 public:
31 AWS_SESV2_API ListManagementOptions() = default;
34 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetContactListName() const { return m_contactListName; }
41 inline bool ContactListNameHasBeenSet() const { return m_contactListNameHasBeenSet; }
42 template <typename ContactListNameT = Aws::String>
43 void SetContactListName(ContactListNameT&& value) {
44 m_contactListNameHasBeenSet = true;
45 m_contactListName = std::forward<ContactListNameT>(value);
46 }
47 template <typename ContactListNameT = Aws::String>
48 ListManagementOptions& WithContactListName(ContactListNameT&& value) {
49 SetContactListName(std::forward<ContactListNameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetTopicName() const { return m_topicName; }
59 inline bool TopicNameHasBeenSet() const { return m_topicNameHasBeenSet; }
60 template <typename TopicNameT = Aws::String>
61 void SetTopicName(TopicNameT&& value) {
62 m_topicNameHasBeenSet = true;
63 m_topicName = std::forward<TopicNameT>(value);
64 }
65 template <typename TopicNameT = Aws::String>
66 ListManagementOptions& WithTopicName(TopicNameT&& value) {
67 SetTopicName(std::forward<TopicNameT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_contactListName;
73
74 Aws::String m_topicName;
75 bool m_contactListNameHasBeenSet = false;
76 bool m_topicNameHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace SESV2
81} // namespace Aws
AWS_SESV2_API ListManagementOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API ListManagementOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
ListManagementOptions & WithTopicName(TopicNameT &&value)
AWS_SESV2_API ListManagementOptions()=default
void SetContactListName(ContactListNameT &&value)
ListManagementOptions & WithContactListName(ContactListNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue