7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/guardduty/GuardDuty_EXPORTS.h>
12#include <aws/guardduty/model/ThreatEntitySetFormat.h>
13#include <aws/guardduty/model/ThreatEntitySetStatus.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
40 template <
typename NameT = Aws::String>
42 m_nameHasBeenSet =
true;
43 m_name = std::forward<NameT>(value);
45 template <
typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
58 m_formatHasBeenSet =
true;
72 template <
typename LocationT = Aws::String>
74 m_locationHasBeenSet =
true;
75 m_location = std::forward<LocationT>(value);
77 template <
typename LocationT = Aws::String>
90 template <
typename ExpectedBucketOwnerT = Aws::String>
92 m_expectedBucketOwnerHasBeenSet =
true;
93 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
95 template <
typename ExpectedBucketOwnerT = Aws::String>
108 m_statusHasBeenSet =
true;
122 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
124 m_tagsHasBeenSet =
true;
125 m_tags = std::forward<TagsT>(value);
127 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
129 SetTags(std::forward<TagsT>(value));
132 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
134 m_tagsHasBeenSet =
true;
135 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
145 template <
typename CreatedAtT = Aws::Utils::DateTime>
147 m_createdAtHasBeenSet =
true;
148 m_createdAt = std::forward<CreatedAtT>(value);
150 template <
typename CreatedAtT = Aws::Utils::DateTime>
162 template <
typename UpdatedAtT = Aws::Utils::DateTime>
164 m_updatedAtHasBeenSet =
true;
165 m_updatedAt = std::forward<UpdatedAtT>(value);
167 template <
typename UpdatedAtT = Aws::Utils::DateTime>
179 template <
typename ErrorDetailsT = Aws::String>
181 m_errorDetailsHasBeenSet =
true;
182 m_errorDetails = std::forward<ErrorDetailsT>(value);
184 template <
typename ErrorDetailsT = Aws::String>
194 template <
typename RequestIdT = Aws::String>
196 m_requestIdHasBeenSet =
true;
197 m_requestId = std::forward<RequestIdT>(value);
199 template <
typename RequestIdT = Aws::String>
228 bool m_nameHasBeenSet =
false;
229 bool m_formatHasBeenSet =
false;
230 bool m_locationHasBeenSet =
false;
231 bool m_expectedBucketOwnerHasBeenSet =
false;
232 bool m_statusHasBeenSet =
false;
233 bool m_tagsHasBeenSet =
false;
234 bool m_createdAtHasBeenSet =
false;
235 bool m_updatedAtHasBeenSet =
false;
236 bool m_errorDetailsHasBeenSet =
false;
237 bool m_requestIdHasBeenSet =
false;
void SetCreatedAt(CreatedAtT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetUpdatedAt(UpdatedAtT &&value)
GetThreatEntitySetResult & WithUpdatedAt(UpdatedAtT &&value)
void SetFormat(ThreatEntitySetFormat value)
const Aws::String & GetRequestId() const
void SetErrorDetails(ErrorDetailsT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetErrorDetails() const
GetThreatEntitySetResult & WithStatus(ThreatEntitySetStatus value)
GetThreatEntitySetResult & WithRequestId(RequestIdT &&value)
void SetName(NameT &&value)
const Aws::String & GetExpectedBucketOwner() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetThreatEntitySetResult & WithName(NameT &&value)
GetThreatEntitySetResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_GUARDDUTY_API GetThreatEntitySetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
ThreatEntitySetFormat GetFormat() const
GetThreatEntitySetResult & WithTags(TagsT &&value)
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetThreatEntitySetResult & WithCreatedAt(CreatedAtT &&value)
void SetStatus(ThreatEntitySetStatus value)
void SetTags(TagsT &&value)
AWS_GUARDDUTY_API GetThreatEntitySetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetName() const
GetThreatEntitySetResult & WithLocation(LocationT &&value)
GetThreatEntitySetResult & WithFormat(ThreatEntitySetFormat value)
const Aws::String & GetLocation() const
GetThreatEntitySetResult & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
ThreatEntitySetStatus GetStatus() const
void SetLocation(LocationT &&value)
GetThreatEntitySetResult & WithErrorDetails(ErrorDetailsT &&value)
AWS_GUARDDUTY_API GetThreatEntitySetResult()=default
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