AWS SDK for C++  1.9.155
AWS SDK for C++
ContactListDestination.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SESV2
23 {
24 namespace Model
25 {
26 
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 ContactListDestination& WithContactListName(const Aws::String& value) { SetContactListName(value); return *this;}
71 
75  inline ContactListDestination& WithContactListName(Aws::String&& value) { SetContactListName(std::move(value)); return *this;}
76 
80  inline ContactListDestination& WithContactListName(const char* value) { SetContactListName(value); return *this;}
81 
82 
89  inline const ContactListImportAction& GetContactListImportAction() const{ return m_contactListImportAction; }
90 
97  inline bool ContactListImportActionHasBeenSet() const { return m_contactListImportActionHasBeenSet; }
98 
105  inline void SetContactListImportAction(const ContactListImportAction& value) { m_contactListImportActionHasBeenSet = true; m_contactListImportAction = value; }
106 
113  inline void SetContactListImportAction(ContactListImportAction&& value) { m_contactListImportActionHasBeenSet = true; m_contactListImportAction = std::move(value); }
114 
121  inline ContactListDestination& WithContactListImportAction(const ContactListImportAction& value) { SetContactListImportAction(value); return *this;}
122 
129  inline ContactListDestination& WithContactListImportAction(ContactListImportAction&& value) { SetContactListImportAction(std::move(value)); return *this;}
130 
131  private:
132 
133  Aws::String m_contactListName;
134  bool m_contactListNameHasBeenSet;
135 
136  ContactListImportAction m_contactListImportAction;
137  bool m_contactListImportActionHasBeenSet;
138  };
139 
140 } // namespace Model
141 } // namespace SESV2
142 } // namespace Aws
Aws::SESV2::Model::ContactListDestination
Definition: ContactListDestination.h:34
Aws::SESV2::Model::ContactListDestination::WithContactListImportAction
ContactListDestination & WithContactListImportAction(ContactListImportAction &&value)
Definition: ContactListDestination.h:129
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::ContactListDestination::ContactListDestination
ContactListDestination()
Aws::SESV2::Model::ContactListDestination::WithContactListName
ContactListDestination & WithContactListName(const Aws::String &value)
Definition: ContactListDestination.h:70
Aws::SESV2::Model::ContactListDestination::SetContactListImportAction
void SetContactListImportAction(ContactListImportAction &&value)
Definition: ContactListDestination.h:113
Aws::SESV2::Model::ContactListDestination::WithContactListImportAction
ContactListDestination & WithContactListImportAction(const ContactListImportAction &value)
Definition: ContactListDestination.h:121
Aws::SESV2::Model::ContactListDestination::SetContactListName
void SetContactListName(Aws::String &&value)
Definition: ContactListDestination.h:60
Aws::SESV2::Model::ContactListDestination::ContactListDestination
ContactListDestination(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::ContactListImportAction
ContactListImportAction
Definition: ContactListImportAction.h:17
ContactListImportAction.h
Aws::SESV2::Model::ContactListDestination::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SESV2::Model::ContactListDestination::GetContactListName
const Aws::String & GetContactListName() const
Definition: ContactListDestination.h:45
Aws::SESV2::Model::ContactListDestination::ContactListNameHasBeenSet
bool ContactListNameHasBeenSet() const
Definition: ContactListDestination.h:50
Aws::SESV2::Model::ContactListDestination::WithContactListName
ContactListDestination & WithContactListName(const char *value)
Definition: ContactListDestination.h:80
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
SESV2_EXPORTS.h
Aws::SESV2::Model::ContactListDestination::ContactListImportActionHasBeenSet
bool ContactListImportActionHasBeenSet() const
Definition: ContactListDestination.h:97
Aws::SESV2::Model::ContactListDestination::WithContactListName
ContactListDestination & WithContactListName(Aws::String &&value)
Definition: ContactListDestination.h:75
Aws::SESV2::Model::ContactListDestination::operator=
ContactListDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::ContactListDestination::SetContactListName
void SetContactListName(const Aws::String &value)
Definition: ContactListDestination.h:55
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::ContactListDestination::SetContactListImportAction
void SetContactListImportAction(const ContactListImportAction &value)
Definition: ContactListDestination.h:105
Aws::SESV2::Model::ContactListDestination::SetContactListName
void SetContactListName(const char *value)
Definition: ContactListDestination.h:65
Aws::SESV2::Model::ContactListDestination::GetContactListImportAction
const ContactListImportAction & GetContactListImportAction() const
Definition: ContactListDestination.h:89