7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/model/ThreatIntelSetFormat.h>
10#include <aws/guardduty/model/ThreatIntelSetStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
16template<
typename RESULT_TYPE>
17class 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>
85 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
86 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
87 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
89 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
91 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
102 template<
typename ExpectedBucketOwnerT = Aws::String>
103 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value); }
104 template<
typename ExpectedBucketOwnerT = Aws::String>
111 template<
typename RequestIdT = Aws::String>
112 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
113 template<
typename RequestIdT = Aws::String>
119 bool m_nameHasBeenSet =
false;
122 bool m_formatHasBeenSet =
false;
125 bool m_locationHasBeenSet =
false;
128 bool m_statusHasBeenSet =
false;
131 bool m_tagsHasBeenSet =
false;
134 bool m_expectedBucketOwnerHasBeenSet =
false;
137 bool m_requestIdHasBeenSet =
false;
void SetLocation(LocationT &&value)
AWS_GUARDDUTY_API GetThreatIntelSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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