AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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