7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/model/TrustedEntitySetFormat.h>
10#include <aws/guardduty/model/TrustedEntitySetStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/DateTime.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
45 template<
typename NameT = Aws::String>
46 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
47 template<
typename NameT = Aws::String>
65 template<
typename LocationT = Aws::String>
66 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
67 template<
typename LocationT = Aws::String>
77 template<
typename ExpectedBucketOwnerT = Aws::String>
78 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value); }
79 template<
typename ExpectedBucketOwnerT = Aws::String>
97 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
98 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
99 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
101 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
103 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
112 template<
typename CreatedAtT = Aws::Utils::DateTime>
113 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
114 template<
typename CreatedAtT = Aws::Utils::DateTime>
123 template<
typename UpdatedAtT = Aws::Utils::DateTime>
124 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
125 template<
typename UpdatedAtT = Aws::Utils::DateTime>
134 template<
typename ErrorDetailsT = Aws::String>
135 void SetErrorDetails(ErrorDetailsT&& value) { m_errorDetailsHasBeenSet =
true; m_errorDetails = std::forward<ErrorDetailsT>(value); }
136 template<
typename ErrorDetailsT = Aws::String>
143 template<
typename RequestIdT = Aws::String>
144 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
145 template<
typename RequestIdT = Aws::String>
151 bool m_nameHasBeenSet =
false;
154 bool m_formatHasBeenSet =
false;
157 bool m_locationHasBeenSet =
false;
160 bool m_expectedBucketOwnerHasBeenSet =
false;
163 bool m_statusHasBeenSet =
false;
166 bool m_tagsHasBeenSet =
false;
169 bool m_createdAtHasBeenSet =
false;
172 bool m_updatedAtHasBeenSet =
false;
175 bool m_errorDetailsHasBeenSet =
false;
178 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