AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetContactListResult.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/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/sesv2/model/Topic.h>
12#include <aws/sesv2/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace SESV2
28{
29namespace Model
30{
32 {
33 public:
34 AWS_SESV2_API GetContactListResult();
37
38
40
43 inline const Aws::String& GetContactListName() const{ return m_contactListName; }
44 inline void SetContactListName(const Aws::String& value) { m_contactListName = value; }
45 inline void SetContactListName(Aws::String&& value) { m_contactListName = std::move(value); }
46 inline void SetContactListName(const char* value) { m_contactListName.assign(value); }
47 inline GetContactListResult& WithContactListName(const Aws::String& value) { SetContactListName(value); return *this;}
48 inline GetContactListResult& WithContactListName(Aws::String&& value) { SetContactListName(std::move(value)); return *this;}
49 inline GetContactListResult& WithContactListName(const char* value) { SetContactListName(value); return *this;}
51
53
57 inline const Aws::Vector<Topic>& GetTopics() const{ return m_topics; }
58 inline void SetTopics(const Aws::Vector<Topic>& value) { m_topics = value; }
59 inline void SetTopics(Aws::Vector<Topic>&& value) { m_topics = std::move(value); }
60 inline GetContactListResult& WithTopics(const Aws::Vector<Topic>& value) { SetTopics(value); return *this;}
61 inline GetContactListResult& WithTopics(Aws::Vector<Topic>&& value) { SetTopics(std::move(value)); return *this;}
62 inline GetContactListResult& AddTopics(const Topic& value) { m_topics.push_back(value); return *this; }
63 inline GetContactListResult& AddTopics(Topic&& value) { m_topics.push_back(std::move(value)); return *this; }
65
67
70 inline const Aws::String& GetDescription() const{ return m_description; }
71 inline void SetDescription(const Aws::String& value) { m_description = value; }
72 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
73 inline void SetDescription(const char* value) { m_description.assign(value); }
74 inline GetContactListResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
75 inline GetContactListResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
76 inline GetContactListResult& WithDescription(const char* value) { SetDescription(value); return *this;}
78
80
83 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
84 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestamp = value; }
85 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestamp = std::move(value); }
87 inline GetContactListResult& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
89
91
94 inline const Aws::Utils::DateTime& GetLastUpdatedTimestamp() const{ return m_lastUpdatedTimestamp; }
95 inline void SetLastUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_lastUpdatedTimestamp = value; }
96 inline void SetLastUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_lastUpdatedTimestamp = std::move(value); }
100
102
105 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
106 inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
107 inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
108 inline GetContactListResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
109 inline GetContactListResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
110 inline GetContactListResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
111 inline GetContactListResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
113
115
116 inline const Aws::String& GetRequestId() const{ return m_requestId; }
117 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
118 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
119 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
120 inline GetContactListResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
121 inline GetContactListResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
122 inline GetContactListResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
124 private:
125
126 Aws::String m_contactListName;
127
128 Aws::Vector<Topic> m_topics;
129
130 Aws::String m_description;
131
132 Aws::Utils::DateTime m_createdTimestamp;
133
134 Aws::Utils::DateTime m_lastUpdatedTimestamp;
135
136 Aws::Vector<Tag> m_tags;
137
138 Aws::String m_requestId;
139 };
140
141} // namespace Model
142} // namespace SESV2
143} // namespace Aws
const Aws::Vector< Tag > & GetTags() const
const Aws::Vector< Topic > & GetTopics() const
void SetDescription(const Aws::String &value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
GetContactListResult & WithContactListName(Aws::String &&value)
GetContactListResult & AddTopics(Topic &&value)
GetContactListResult & WithContactListName(const Aws::String &value)
GetContactListResult & WithDescription(const char *value)
GetContactListResult & AddTopics(const Topic &value)
AWS_SESV2_API GetContactListResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetContactListResult & WithRequestId(const char *value)
void SetTopics(const Aws::Vector< Topic > &value)
const Aws::String & GetContactListName() const
void SetLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
GetContactListResult & WithTopics(Aws::Vector< Topic > &&value)
void SetLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
void SetContactListName(const Aws::String &value)
GetContactListResult & WithContactListName(const char *value)
GetContactListResult & WithDescription(Aws::String &&value)
GetContactListResult & AddTags(Tag &&value)
void SetTopics(Aws::Vector< Topic > &&value)
AWS_SESV2_API GetContactListResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetContactListResult & WithLastUpdatedTimestamp(Aws::Utils::DateTime &&value)
GetContactListResult & WithLastUpdatedTimestamp(const Aws::Utils::DateTime &value)
GetContactListResult & WithRequestId(Aws::String &&value)
GetContactListResult & WithTags(Aws::Vector< Tag > &&value)
GetContactListResult & WithTopics(const Aws::Vector< Topic > &value)
void SetTags(Aws::Vector< Tag > &&value)
void SetRequestId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
GetContactListResult & WithDescription(const Aws::String &value)
GetContactListResult & WithTags(const Aws::Vector< Tag > &value)
const Aws::Utils::DateTime & GetLastUpdatedTimestamp() const
GetContactListResult & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
GetContactListResult & WithRequestId(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
GetContactListResult & AddTags(const Tag &value)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
GetContactListResult & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue