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/IpSetFormat.h>
12#include <aws/guardduty/model/IpSetStatus.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
38 template <
typename NameT = Aws::String>
40 m_nameHasBeenSet =
true;
41 m_name = std::forward<NameT>(value);
43 template <
typename NameT = Aws::String>
45 SetName(std::forward<NameT>(value));
56 m_formatHasBeenSet =
true;
70 template <
typename LocationT = Aws::String>
72 m_locationHasBeenSet =
true;
73 m_location = std::forward<LocationT>(value);
75 template <
typename LocationT = Aws::String>
88 m_statusHasBeenSet =
true;
102 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
104 m_tagsHasBeenSet =
true;
105 m_tags = std::forward<TagsT>(value);
107 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
109 SetTags(std::forward<TagsT>(value));
112 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
114 m_tagsHasBeenSet =
true;
115 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
127 template <
typename ExpectedBucketOwnerT = Aws::String>
129 m_expectedBucketOwnerHasBeenSet =
true;
130 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
132 template <
typename ExpectedBucketOwnerT = Aws::String>
142 template <
typename RequestIdT = Aws::String>
144 m_requestIdHasBeenSet =
true;
145 m_requestId = std::forward<RequestIdT>(value);
147 template <
typename RequestIdT = Aws::String>
170 bool m_nameHasBeenSet =
false;
171 bool m_formatHasBeenSet =
false;
172 bool m_locationHasBeenSet =
false;
173 bool m_statusHasBeenSet =
false;
174 bool m_tagsHasBeenSet =
false;
175 bool m_expectedBucketOwnerHasBeenSet =
false;
176 bool m_requestIdHasBeenSet =
false;
GetIPSetResult & WithStatus(IpSetStatus value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetRequestId() const
GetIPSetResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetTags(TagsT &&value)
IpSetFormat GetFormat() const
IpSetStatus GetStatus() const
AWS_GUARDDUTY_API GetIPSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
AWS_GUARDDUTY_API GetIPSetResult()=default
void SetFormat(IpSetFormat value)
GetIPSetResult & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
AWS_GUARDDUTY_API GetIPSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStatus(IpSetStatus value)
void SetLocation(LocationT &&value)
const Aws::String & GetLocation() const
void SetRequestId(RequestIdT &&value)
const Aws::String & GetExpectedBucketOwner() const
GetIPSetResult & WithLocation(LocationT &&value)
const Aws::String & GetName() const
GetIPSetResult & WithFormat(IpSetFormat value)
void SetName(NameT &&value)
GetIPSetResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetIPSetResult & WithName(NameT &&value)
GetIPSetResult & WithTags(TagsT &&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