AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAllowListResult.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/macie2/model/AllowListCriteria.h>
11#include <aws/macie2/model/AllowListStatus.h>
12#include <aws/core/utils/memory/stl/AWSMap.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 Macie2
28{
29namespace Model
30{
32 {
33 public:
34 AWS_MACIE2_API GetAllowListResult();
37
38
40
43 inline const Aws::String& GetArn() const{ return m_arn; }
44 inline void SetArn(const Aws::String& value) { m_arn = value; }
45 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
46 inline void SetArn(const char* value) { m_arn.assign(value); }
47 inline GetAllowListResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
48 inline GetAllowListResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
49 inline GetAllowListResult& WithArn(const char* value) { SetArn(value); return *this;}
51
53
57 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
58 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
59 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
60 inline GetAllowListResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
61 inline GetAllowListResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
63
65
71 inline const AllowListCriteria& GetCriteria() const{ return m_criteria; }
72 inline void SetCriteria(const AllowListCriteria& value) { m_criteria = value; }
73 inline void SetCriteria(AllowListCriteria&& value) { m_criteria = std::move(value); }
74 inline GetAllowListResult& WithCriteria(const AllowListCriteria& value) { SetCriteria(value); return *this;}
75 inline GetAllowListResult& WithCriteria(AllowListCriteria&& value) { SetCriteria(std::move(value)); return *this;}
77
79
82 inline const Aws::String& GetDescription() const{ return m_description; }
83 inline void SetDescription(const Aws::String& value) { m_description = value; }
84 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
85 inline void SetDescription(const char* value) { m_description.assign(value); }
86 inline GetAllowListResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
87 inline GetAllowListResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
88 inline GetAllowListResult& WithDescription(const char* value) { SetDescription(value); return *this;}
90
92
95 inline const Aws::String& GetId() const{ return m_id; }
96 inline void SetId(const Aws::String& value) { m_id = value; }
97 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
98 inline void SetId(const char* value) { m_id.assign(value); }
99 inline GetAllowListResult& WithId(const Aws::String& value) { SetId(value); return *this;}
100 inline GetAllowListResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
101 inline GetAllowListResult& WithId(const char* value) { SetId(value); return *this;}
103
105
108 inline const Aws::String& GetName() const{ return m_name; }
109 inline void SetName(const Aws::String& value) { m_name = value; }
110 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
111 inline void SetName(const char* value) { m_name.assign(value); }
112 inline GetAllowListResult& WithName(const Aws::String& value) { SetName(value); return *this;}
113 inline GetAllowListResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
114 inline GetAllowListResult& WithName(const char* value) { SetName(value); return *this;}
116
118
122 inline const AllowListStatus& GetStatus() const{ return m_status; }
123 inline void SetStatus(const AllowListStatus& value) { m_status = value; }
124 inline void SetStatus(AllowListStatus&& value) { m_status = std::move(value); }
125 inline GetAllowListResult& WithStatus(const AllowListStatus& value) { SetStatus(value); return *this;}
126 inline GetAllowListResult& WithStatus(AllowListStatus&& value) { SetStatus(std::move(value)); return *this;}
128
130
134 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
135 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
136 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
137 inline GetAllowListResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
138 inline GetAllowListResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
139 inline GetAllowListResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
140 inline GetAllowListResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
141 inline GetAllowListResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
142 inline GetAllowListResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
143 inline GetAllowListResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
144 inline GetAllowListResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
145 inline GetAllowListResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
147
149
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 GetAllowListResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
157 inline GetAllowListResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
159
161
162 inline const Aws::String& GetRequestId() const{ return m_requestId; }
163 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
164 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
165 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
166 inline GetAllowListResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
167 inline GetAllowListResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
168 inline GetAllowListResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
170 private:
171
172 Aws::String m_arn;
173
174 Aws::Utils::DateTime m_createdAt;
175
176 AllowListCriteria m_criteria;
177
178 Aws::String m_description;
179
180 Aws::String m_id;
181
182 Aws::String m_name;
183
184 AllowListStatus m_status;
185
187
188 Aws::Utils::DateTime m_updatedAt;
189
190 Aws::String m_requestId;
191 };
192
193} // namespace Model
194} // namespace Macie2
195} // namespace Aws
const AllowListCriteria & GetCriteria() const
GetAllowListResult & WithCriteria(const AllowListCriteria &value)
GetAllowListResult & WithDescription(const char *value)
const Aws::String & GetDescription() const
GetAllowListResult & AddTags(Aws::String &&key, const Aws::String &value)
GetAllowListResult & AddTags(Aws::String &&key, const char *value)
GetAllowListResult & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetArn(const Aws::String &value)
GetAllowListResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
GetAllowListResult & WithName(Aws::String &&value)
GetAllowListResult & WithName(const Aws::String &value)
GetAllowListResult & WithName(const char *value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_MACIE2_API GetAllowListResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAllowListResult & WithDescription(Aws::String &&value)
GetAllowListResult & WithArn(const char *value)
void SetName(const Aws::String &value)
GetAllowListResult & WithId(const char *value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
void SetStatus(const AllowListStatus &value)
const Aws::String & GetRequestId() const
GetAllowListResult & AddTags(const char *key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetAllowListResult & WithRequestId(const Aws::String &value)
GetAllowListResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetAllowListResult & WithArn(Aws::String &&value)
void SetCriteria(const AllowListCriteria &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetAllowListResult & WithRequestId(Aws::String &&value)
void SetCriteria(AllowListCriteria &&value)
void SetStatus(AllowListStatus &&value)
GetAllowListResult & AddTags(const Aws::String &key, Aws::String &&value)
void SetDescription(const Aws::String &value)
GetAllowListResult & AddTags(const char *key, const char *value)
GetAllowListResult & AddTags(Aws::String &&key, Aws::String &&value)
GetAllowListResult & WithDescription(const Aws::String &value)
const AllowListStatus & GetStatus() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetAllowListResult & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetId(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetAllowListResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
GetAllowListResult & AddTags(const Aws::String &key, const Aws::String &value)
AWS_MACIE2_API GetAllowListResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
GetAllowListResult & WithId(const Aws::String &value)
GetAllowListResult & WithStatus(const AllowListStatus &value)
GetAllowListResult & WithCriteria(AllowListCriteria &&value)
void SetRequestId(const Aws::String &value)
GetAllowListResult & WithRequestId(const char *value)
GetAllowListResult & WithStatus(AllowListStatus &&value)
GetAllowListResult & WithArn(const Aws::String &value)
GetAllowListResult & WithId(Aws::String &&value)
GetAllowListResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue