AWS SDK for C++  1.9.155
AWS SDK for C++
ContactList.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 ContactList& WithContactListName(const Aws::String& value) { SetContactListName(value); return *this;}
71 
75  inline ContactList& WithContactListName(Aws::String&& value) { SetContactListName(std::move(value)); return *this;}
76 
80  inline ContactList& WithContactListName(const char* value) { SetContactListName(value); return *this;}
81 
82 
86  inline const Aws::Utils::DateTime& GetLastUpdatedTimestamp() const{ return m_lastUpdatedTimestamp; }
87 
91  inline bool LastUpdatedTimestampHasBeenSet() const { return m_lastUpdatedTimestampHasBeenSet; }
92 
96  inline void SetLastUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = value; }
97 
101  inline void SetLastUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = std::move(value); }
102 
106  inline ContactList& WithLastUpdatedTimestamp(const Aws::Utils::DateTime& value) { SetLastUpdatedTimestamp(value); return *this;}
107 
111  inline ContactList& WithLastUpdatedTimestamp(Aws::Utils::DateTime&& value) { SetLastUpdatedTimestamp(std::move(value)); return *this;}
112 
113  private:
114 
115  Aws::String m_contactListName;
116  bool m_contactListNameHasBeenSet;
117 
118  Aws::Utils::DateTime m_lastUpdatedTimestamp;
119  bool m_lastUpdatedTimestampHasBeenSet;
120  };
121 
122 } // namespace Model
123 } // namespace SESV2
124 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SESV2::Model::ContactList::operator=
ContactList & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::ContactList::SetContactListName
void SetContactListName(Aws::String &&value)
Definition: ContactList.h:60
Aws::SESV2::Model::ContactList::SetLastUpdatedTimestamp
void SetLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
Definition: ContactList.h:101
DateTime.h
Aws::SESV2::Model::ContactList::WithContactListName
ContactList & WithContactListName(Aws::String &&value)
Definition: ContactList.h:75
Aws::SESV2::Model::ContactList::WithLastUpdatedTimestamp
ContactList & WithLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
Definition: ContactList.h:111
Aws::SESV2::Model::ContactList::WithLastUpdatedTimestamp
ContactList & WithLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
Definition: ContactList.h:106
Aws::SESV2::Model::ContactList::GetLastUpdatedTimestamp
const Aws::Utils::DateTime & GetLastUpdatedTimestamp() const
Definition: ContactList.h:86
Aws::SESV2::Model::ContactList
Definition: ContactList.h:34
Aws::SESV2::Model::ContactList::ContactListNameHasBeenSet
bool ContactListNameHasBeenSet() const
Definition: ContactList.h:50
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SESV2::Model::ContactList::SetContactListName
void SetContactListName(const char *value)
Definition: ContactList.h:65
SESV2_EXPORTS.h
Aws::SESV2::Model::ContactList::LastUpdatedTimestampHasBeenSet
bool LastUpdatedTimestampHasBeenSet() const
Definition: ContactList.h:91
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::ContactList::GetContactListName
const Aws::String & GetContactListName() const
Definition: ContactList.h:45
Aws::SESV2::Model::ContactList::WithContactListName
ContactList & WithContactListName(const Aws::String &value)
Definition: ContactList.h:70
Aws::SESV2::Model::ContactList::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SESV2::Model::ContactList::SetContactListName
void SetContactListName(const Aws::String &value)
Definition: ContactList.h:55
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::ContactList::WithContactListName
ContactList & WithContactListName(const char *value)
Definition: ContactList.h:80
Aws::SESV2::Model::ContactList::ContactList
ContactList()
Aws::SESV2::Model::ContactList::SetLastUpdatedTimestamp
void SetLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
Definition: ContactList.h:96
Aws::SESV2::Model::ContactList::ContactList
ContactList(Aws::Utils::Json::JsonView jsonValue)