7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/GuardDutyRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/guardduty/model/TrustedEntitySetFormat.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/UUID.h>
48 template<
typename DetectorIdT = Aws::String>
49 void SetDetectorId(DetectorIdT&& value) { m_detectorIdHasBeenSet =
true; m_detectorId = std::forward<DetectorIdT>(value); }
50 template<
typename DetectorIdT = Aws::String>
62 template<
typename NameT = Aws::String>
63 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
64 template<
typename NameT = Aws::String>
84 template<
typename LocationT = Aws::String>
85 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
86 template<
typename LocationT = Aws::String>
97 template<
typename ExpectedBucketOwnerT = Aws::String>
98 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) { m_expectedBucketOwnerHasBeenSet =
true; m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value); }
99 template<
typename ExpectedBucketOwnerT = Aws::String>
110 inline void SetActivate(
bool value) { m_activateHasBeenSet =
true; m_activate = value; }
120 template<
typename ClientTokenT = Aws::String>
121 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
122 template<
typename ClientTokenT = Aws::String>
132 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
133 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
134 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
136 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
138 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
144 bool m_detectorIdHasBeenSet =
false;
147 bool m_nameHasBeenSet =
false;
150 bool m_formatHasBeenSet =
false;
153 bool m_locationHasBeenSet =
false;
156 bool m_expectedBucketOwnerHasBeenSet =
false;
158 bool m_activate{
false};
159 bool m_activateHasBeenSet =
false;
162 bool m_clientTokenHasBeenSet =
true;
165 bool m_tagsHasBeenSet =
false;
const Aws::String & GetClientToken() const
void SetClientToken(ClientTokenT &&value)
bool ActivateHasBeenSet() const
void SetActivate(bool value)
bool NameHasBeenSet() const
bool TagsHasBeenSet() const
AWS_GUARDDUTY_API CreateTrustedEntitySetRequest()=default
CreateTrustedEntitySetRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateTrustedEntitySetRequest & WithClientToken(ClientTokenT &&value)
CreateTrustedEntitySetRequest & WithTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
void SetTags(TagsT &&value)
CreateTrustedEntitySetRequest & WithLocation(LocationT &&value)
const Aws::String & GetLocation() const
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
bool ExpectedBucketOwnerHasBeenSet() const
void SetFormat(TrustedEntitySetFormat value)
bool DetectorIdHasBeenSet() const
const Aws::String & GetName() const
void SetName(NameT &&value)
const Aws::String & GetExpectedBucketOwner() const
CreateTrustedEntitySetRequest & WithName(NameT &&value)
void SetLocation(LocationT &&value)
bool ClientTokenHasBeenSet() const
const Aws::String & GetDetectorId() const
CreateTrustedEntitySetRequest & WithActivate(bool value)
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
CreateTrustedEntitySetRequest & WithDetectorId(DetectorIdT &&value)
CreateTrustedEntitySetRequest & WithFormat(TrustedEntitySetFormat value)
bool LocationHasBeenSet() const
TrustedEntitySetFormat GetFormat() const
void SetDetectorId(DetectorIdT &&value)
bool FormatHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateTrustedEntitySetRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
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