7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/guardduty/GuardDuty_EXPORTS.h>
11#include <aws/guardduty/model/TrustedEntitySetFormat.h>
12#include <aws/guardduty/model/TrustedEntitySetStatus.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
39 template <
typename NameT = Aws::String>
41 m_nameHasBeenSet =
true;
42 m_name = std::forward<NameT>(value);
44 template <
typename NameT = Aws::String>
46 SetName(std::forward<NameT>(value));
57 m_formatHasBeenSet =
true;
71 template <
typename LocationT = Aws::String>
73 m_locationHasBeenSet =
true;
74 m_location = std::forward<LocationT>(value);
76 template <
typename LocationT = Aws::String>
89 template <
typename ExpectedBucketOwnerT = Aws::String>
91 m_expectedBucketOwnerHasBeenSet =
true;
92 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
94 template <
typename ExpectedBucketOwnerT = Aws::String>
107 m_statusHasBeenSet =
true;
121 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
123 m_tagsHasBeenSet =
true;
124 m_tags = std::forward<TagsT>(value);
126 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
128 SetTags(std::forward<TagsT>(value));
131 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
133 m_tagsHasBeenSet =
true;
134 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
144 template <
typename CreatedAtT = Aws::Utils::DateTime>
146 m_createdAtHasBeenSet =
true;
147 m_createdAt = std::forward<CreatedAtT>(value);
149 template <
typename CreatedAtT = Aws::Utils::DateTime>
161 template <
typename UpdatedAtT = Aws::Utils::DateTime>
163 m_updatedAtHasBeenSet =
true;
164 m_updatedAt = std::forward<UpdatedAtT>(value);
166 template <
typename UpdatedAtT = Aws::Utils::DateTime>
178 template <
typename ErrorDetailsT = Aws::String>
180 m_errorDetailsHasBeenSet =
true;
181 m_errorDetails = std::forward<ErrorDetailsT>(value);
183 template <
typename ErrorDetailsT = Aws::String>
193 template <
typename RequestIdT = Aws::String>
195 m_requestIdHasBeenSet =
true;
196 m_requestId = std::forward<RequestIdT>(value);
198 template <
typename RequestIdT = Aws::String>
224 bool m_nameHasBeenSet =
false;
225 bool m_formatHasBeenSet =
false;
226 bool m_locationHasBeenSet =
false;
227 bool m_expectedBucketOwnerHasBeenSet =
false;
228 bool m_statusHasBeenSet =
false;
229 bool m_tagsHasBeenSet =
false;
230 bool m_createdAtHasBeenSet =
false;
231 bool m_updatedAtHasBeenSet =
false;
232 bool m_errorDetailsHasBeenSet =
false;
233 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)
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