7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/model/IpSetFormat.h>
10#include <aws/guardduty/model/IpSetStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename NameT = Aws::String>
44 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
45 template<
typename NameT = Aws::String>
63 template<
typename LocationT = Aws::String>
64 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
65 template<
typename LocationT = Aws::String>
83 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
84 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
85 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
87 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
89 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
100 template<
typename ExpectedBucketOwnerT = Aws::String>
101 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value); }
102 template<
typename ExpectedBucketOwnerT = Aws::String>
109 template<
typename RequestIdT = Aws::String>
110 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
111 template<
typename RequestIdT = Aws::String>
117 bool m_nameHasBeenSet =
false;
120 bool m_formatHasBeenSet =
false;
123 bool m_locationHasBeenSet =
false;
126 bool m_statusHasBeenSet =
false;
129 bool m_tagsHasBeenSet =
false;
132 bool m_expectedBucketOwnerHasBeenSet =
false;
135 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)
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