7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/model/ThreatEntitySetFormat.h>
10#include <aws/guardduty/model/ThreatEntitySetStatus.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;
void SetCreatedAt(CreatedAtT &&value)
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