AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetListingResult.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/ListingItem.h>
11#include <aws/datazone/model/ListingStatus.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace DataZone
27{
28namespace Model
29{
31 {
32 public:
33 AWS_DATAZONE_API GetListingResult();
36
37
39
42 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
43 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
44 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
45 inline GetListingResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
46 inline GetListingResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
48
50
53 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
54 inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; }
55 inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); }
56 inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); }
57 inline GetListingResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
58 inline GetListingResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
59 inline GetListingResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
61
63
66 inline const Aws::String& GetDescription() const{ return m_description; }
67 inline void SetDescription(const Aws::String& value) { m_description = value; }
68 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
69 inline void SetDescription(const char* value) { m_description.assign(value); }
70 inline GetListingResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
71 inline GetListingResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
72 inline GetListingResult& WithDescription(const char* value) { SetDescription(value); return *this;}
74
76
79 inline const Aws::String& GetDomainId() const{ return m_domainId; }
80 inline void SetDomainId(const Aws::String& value) { m_domainId = value; }
81 inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); }
82 inline void SetDomainId(const char* value) { m_domainId.assign(value); }
83 inline GetListingResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
84 inline GetListingResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
85 inline GetListingResult& WithDomainId(const char* value) { SetDomainId(value); return *this;}
87
89
92 inline const Aws::String& GetId() const{ return m_id; }
93 inline void SetId(const Aws::String& value) { m_id = value; }
94 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
95 inline void SetId(const char* value) { m_id.assign(value); }
96 inline GetListingResult& WithId(const Aws::String& value) { SetId(value); return *this;}
97 inline GetListingResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
98 inline GetListingResult& WithId(const char* value) { SetId(value); return *this;}
100
102
105 inline const ListingItem& GetItem() const{ return m_item; }
106 inline void SetItem(const ListingItem& value) { m_item = value; }
107 inline void SetItem(ListingItem&& value) { m_item = std::move(value); }
108 inline GetListingResult& WithItem(const ListingItem& value) { SetItem(value); return *this;}
109 inline GetListingResult& WithItem(ListingItem&& value) { SetItem(std::move(value)); return *this;}
111
113
116 inline const Aws::String& GetListingRevision() const{ return m_listingRevision; }
117 inline void SetListingRevision(const Aws::String& value) { m_listingRevision = value; }
118 inline void SetListingRevision(Aws::String&& value) { m_listingRevision = std::move(value); }
119 inline void SetListingRevision(const char* value) { m_listingRevision.assign(value); }
120 inline GetListingResult& WithListingRevision(const Aws::String& value) { SetListingRevision(value); return *this;}
121 inline GetListingResult& WithListingRevision(Aws::String&& value) { SetListingRevision(std::move(value)); return *this;}
122 inline GetListingResult& WithListingRevision(const char* value) { SetListingRevision(value); return *this;}
124
126
129 inline const Aws::String& GetName() const{ return m_name; }
130 inline void SetName(const Aws::String& value) { m_name = value; }
131 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
132 inline void SetName(const char* value) { m_name.assign(value); }
133 inline GetListingResult& WithName(const Aws::String& value) { SetName(value); return *this;}
134 inline GetListingResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
135 inline GetListingResult& WithName(const char* value) { SetName(value); return *this;}
137
139
142 inline const ListingStatus& GetStatus() const{ return m_status; }
143 inline void SetStatus(const ListingStatus& value) { m_status = value; }
144 inline void SetStatus(ListingStatus&& value) { m_status = std::move(value); }
145 inline GetListingResult& WithStatus(const ListingStatus& value) { SetStatus(value); return *this;}
146 inline GetListingResult& WithStatus(ListingStatus&& value) { SetStatus(std::move(value)); return *this;}
148
150
153 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
154 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
155 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
156 inline GetListingResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
157 inline GetListingResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
159
161
164 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
165 inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; }
166 inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); }
167 inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); }
168 inline GetListingResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
169 inline GetListingResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
170 inline GetListingResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
172
174
175 inline const Aws::String& GetRequestId() const{ return m_requestId; }
176 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
177 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
178 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
179 inline GetListingResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
180 inline GetListingResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
181 inline GetListingResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
183 private:
184
185 Aws::Utils::DateTime m_createdAt;
186
187 Aws::String m_createdBy;
188
189 Aws::String m_description;
190
191 Aws::String m_domainId;
192
193 Aws::String m_id;
194
195 ListingItem m_item;
196
197 Aws::String m_listingRevision;
198
199 Aws::String m_name;
200
201 ListingStatus m_status;
202
203 Aws::Utils::DateTime m_updatedAt;
204
205 Aws::String m_updatedBy;
206
207 Aws::String m_requestId;
208 };
209
210} // namespace Model
211} // namespace DataZone
212} // namespace Aws
GetListingResult & WithStatus(const ListingStatus &value)
GetListingResult & WithId(const Aws::String &value)
GetListingResult & WithDomainId(const char *value)
GetListingResult & WithUpdatedBy(Aws::String &&value)
GetListingResult & WithDescription(Aws::String &&value)
const ListingItem & GetItem() const
GetListingResult & WithDomainId(const Aws::String &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
GetListingResult & WithUpdatedBy(const char *value)
const Aws::String & GetDescription() const
void SetCreatedBy(Aws::String &&value)
GetListingResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetRequestId(const Aws::String &value)
GetListingResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetListingResult & WithRequestId(Aws::String &&value)
void SetDomainId(Aws::String &&value)
void SetDescription(const Aws::String &value)
GetListingResult & WithListingRevision(const Aws::String &value)
GetListingResult & WithName(const char *value)
GetListingResult & WithRequestId(const Aws::String &value)
GetListingResult & WithCreatedBy(const Aws::String &value)
const Aws::String & GetUpdatedBy() const
void SetDescription(Aws::String &&value)
const Aws::String & GetListingRevision() const
GetListingResult & WithId(const char *value)
GetListingResult & WithId(Aws::String &&value)
const Aws::String & GetRequestId() const
void SetStatus(const ListingStatus &value)
const Aws::String & GetId() const
const ListingStatus & GetStatus() const
GetListingResult & WithListingRevision(const char *value)
GetListingResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
GetListingResult & WithItem(ListingItem &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetUpdatedBy(const Aws::String &value)
const Aws::String & GetDomainId() const
GetListingResult & WithDescription(const char *value)
GetListingResult & WithUpdatedBy(const Aws::String &value)
void SetId(const Aws::String &value)
void SetListingRevision(const Aws::String &value)
GetListingResult & WithStatus(ListingStatus &&value)
GetListingResult & WithListingRevision(Aws::String &&value)
void SetDomainId(const Aws::String &value)
void SetStatus(ListingStatus &&value)
AWS_DATAZONE_API GetListingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetListingResult & WithCreatedBy(const char *value)
void SetListingRevision(Aws::String &&value)
void SetName(const Aws::String &value)
GetListingResult & WithDescription(const Aws::String &value)
GetListingResult & WithDomainId(Aws::String &&value)
GetListingResult & WithName(const Aws::String &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetCreatedBy() const
const Aws::String & GetName() const
GetListingResult & WithName(Aws::String &&value)
GetListingResult & WithItem(const ListingItem &value)
void SetCreatedBy(const Aws::String &value)
AWS_DATAZONE_API GetListingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetListingResult & WithCreatedBy(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetListingResult & WithRequestId(const char *value)
GetListingResult & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetItem(const ListingItem &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue