AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
ContactListDestination.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sesv2/SESV2_EXPORTS.h>
9#include <aws/sesv2/model/ContactListImportAction.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SESV2 {
21namespace Model {
22
30 public:
31 AWS_SESV2_API ContactListDestination() = 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 ContactListDestination& WithContactListName(ContactListNameT&& value) {
49 SetContactListName(std::forward<ContactListNameT>(value));
50 return *this;
51 }
53
55
61 inline ContactListImportAction GetContactListImportAction() const { return m_contactListImportAction; }
62 inline bool ContactListImportActionHasBeenSet() const { return m_contactListImportActionHasBeenSet; }
64 m_contactListImportActionHasBeenSet = true;
65 m_contactListImportAction = value;
66 }
72 private:
73 Aws::String m_contactListName;
74
76 bool m_contactListNameHasBeenSet = false;
77 bool m_contactListImportActionHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace SESV2
82} // namespace Aws
void SetContactListName(ContactListNameT &&value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
ContactListImportAction GetContactListImportAction() const
ContactListDestination & WithContactListImportAction(ContactListImportAction value)
void SetContactListImportAction(ContactListImportAction value)
AWS_SESV2_API ContactListDestination()=default
ContactListDestination & WithContactListName(ContactListNameT &&value)
AWS_SESV2_API ContactListDestination(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API ContactListDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue