7#include <aws/core/http/HttpResponse.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/ThreatIntelSetFormat.h>
12#include <aws/guardduty/model/ThreatIntelSetStatus.h>
17template <
typename RESULT_TYPE>
18class 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 m_statusHasBeenSet =
true;
104 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
106 m_tagsHasBeenSet =
true;
107 m_tags = std::forward<TagsT>(value);
109 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
111 SetTags(std::forward<TagsT>(value));
114 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
116 m_tagsHasBeenSet =
true;
117 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
129 template <
typename ExpectedBucketOwnerT = Aws::String>
131 m_expectedBucketOwnerHasBeenSet =
true;
132 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
134 template <
typename ExpectedBucketOwnerT = Aws::String>
144 template <
typename RequestIdT = Aws::String>
146 m_requestIdHasBeenSet =
true;
147 m_requestId = std::forward<RequestIdT>(value);
149 template <
typename RequestIdT = Aws::String>
172 bool m_nameHasBeenSet =
false;
173 bool m_formatHasBeenSet =
false;
174 bool m_locationHasBeenSet =
false;
175 bool m_statusHasBeenSet =
false;
176 bool m_tagsHasBeenSet =
false;
177 bool m_expectedBucketOwnerHasBeenSet =
false;
178 bool m_requestIdHasBeenSet =
false;
void SetLocation(LocationT &&value)
AWS_GUARDDUTY_API GetThreatIntelSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetName(NameT &&value)
ThreatIntelSetFormat GetFormat() const
GetThreatIntelSetResult & WithName(NameT &&value)
void SetTags(TagsT &&value)
ThreatIntelSetStatus GetStatus() const
GetThreatIntelSetResult & WithStatus(ThreatIntelSetStatus value)
const Aws::String & GetName() const
GetThreatIntelSetResult & WithLocation(LocationT &&value)
const Aws::String & GetExpectedBucketOwner() const
GetThreatIntelSetResult & WithTags(TagsT &&value)
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
const Aws::String & GetRequestId() const
AWS_GUARDDUTY_API GetThreatIntelSetResult()=default
void SetStatus(ThreatIntelSetStatus value)
GetThreatIntelSetResult & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
GetThreatIntelSetResult & WithRequestId(RequestIdT &&value)
AWS_GUARDDUTY_API GetThreatIntelSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetThreatIntelSetResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetThreatIntelSetResult & WithFormat(ThreatIntelSetFormat value)
void SetRequestId(RequestIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetLocation() const
void SetFormat(ThreatIntelSetFormat 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