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/TrustedEntitySetFormat.h>
13#include <aws/guardduty/model/TrustedEntitySetStatus.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;
GetTrustedEntitySetResult & WithStatus(TrustedEntitySetStatus value)
GetTrustedEntitySetResult & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
GetTrustedEntitySetResult & WithRequestId(RequestIdT &&value)
AWS_GUARDDUTY_API GetTrustedEntitySetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLocation(LocationT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
TrustedEntitySetStatus GetStatus() const
TrustedEntitySetFormat GetFormat() const
const Aws::String & GetExpectedBucketOwner() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetFormat(TrustedEntitySetFormat value)
const Aws::String & GetErrorDetails() const
const Aws::String & GetName() const
GetTrustedEntitySetResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetLocation() const
void SetRequestId(RequestIdT &&value)
GetTrustedEntitySetResult & WithUpdatedAt(UpdatedAtT &&value)
AWS_GUARDDUTY_API GetTrustedEntitySetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetTrustedEntitySetResult & WithErrorDetails(ErrorDetailsT &&value)
GetTrustedEntitySetResult & WithCreatedAt(CreatedAtT &&value)
void SetName(NameT &&value)
GetTrustedEntitySetResult & WithLocation(LocationT &&value)
const Aws::String & GetRequestId() const
void SetStatus(TrustedEntitySetStatus value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetErrorDetails(ErrorDetailsT &&value)
GetTrustedEntitySetResult & WithName(NameT &&value)
GetTrustedEntitySetResult & WithTags(TagsT &&value)
AWS_GUARDDUTY_API GetTrustedEntitySetResult()=default
void SetTags(TagsT &&value)
GetTrustedEntitySetResult & WithFormat(TrustedEntitySetFormat value)
void SetCreatedAt(CreatedAtT &&value)
void SetUpdatedAt(UpdatedAtT &&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