AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ContactList.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 ContactList();
37 AWS_SESV2_API ContactList(Aws::Utils::Json::JsonView jsonValue);
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 ContactList& WithContactListName(const Aws::String& value) { SetContactListName(value); return *this;}
52 inline ContactList& WithContactListName(Aws::String&& value) { SetContactListName(std::move(value)); return *this;}
53 inline ContactList& WithContactListName(const char* value) { SetContactListName(value); return *this;}
55
57
60 inline const Aws::Utils::DateTime& GetLastUpdatedTimestamp() const{ return m_lastUpdatedTimestamp; }
61 inline bool LastUpdatedTimestampHasBeenSet() const { return m_lastUpdatedTimestampHasBeenSet; }
62 inline void SetLastUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = value; }
63 inline void SetLastUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = std::move(value); }
65 inline ContactList& WithLastUpdatedTimestamp(Aws::Utils::DateTime&& value) { SetLastUpdatedTimestamp(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_contactListName;
70 bool m_contactListNameHasBeenSet = false;
71
72 Aws::Utils::DateTime m_lastUpdatedTimestamp;
73 bool m_lastUpdatedTimestampHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace SESV2
78} // namespace Aws
ContactList & WithLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
Definition ContactList.h:65
AWS_SESV2_API ContactList & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetContactListName(Aws::String &&value)
Definition ContactList.h:49
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
ContactList & WithContactListName(const char *value)
Definition ContactList.h:53
bool ContactListNameHasBeenSet() const
Definition ContactList.h:47
AWS_SESV2_API ContactList(Aws::Utils::Json::JsonView jsonValue)
ContactList & WithContactListName(Aws::String &&value)
Definition ContactList.h:52
void SetLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
Definition ContactList.h:62
ContactList & WithLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
Definition ContactList.h:64
void SetContactListName(const char *value)
Definition ContactList.h:50
void SetLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
Definition ContactList.h:63
const Aws::String & GetContactListName() const
Definition ContactList.h:46
const Aws::Utils::DateTime & GetLastUpdatedTimestamp() const
Definition ContactList.h:60
ContactList & WithContactListName(const Aws::String &value)
Definition ContactList.h:51
bool LastUpdatedTimestampHasBeenSet() const
Definition ContactList.h:61
void SetContactListName(const Aws::String &value)
Definition ContactList.h:48
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue