7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/guardduty/GuardDutyRequest.h>
11#include <aws/guardduty/GuardDuty_EXPORTS.h>
12#include <aws/guardduty/model/TrustedEntitySetFormat.h>
44 template <
typename DetectorIdT = Aws::String>
46 m_detectorIdHasBeenSet =
true;
47 m_detectorId = std::forward<DetectorIdT>(value);
49 template <
typename DetectorIdT = Aws::String>
64 template <
typename NameT = Aws::String>
66 m_nameHasBeenSet =
true;
67 m_name = std::forward<NameT>(value);
69 template <
typename NameT = Aws::String>
71 SetName(std::forward<NameT>(value));
83 m_formatHasBeenSet =
true;
104 template <
typename LocationT = Aws::String>
106 m_locationHasBeenSet =
true;
107 m_location = std::forward<LocationT>(value);
109 template <
typename LocationT = Aws::String>
123 template <
typename ExpectedBucketOwnerT = Aws::String>
125 m_expectedBucketOwnerHasBeenSet =
true;
126 m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value);
128 template <
typename ExpectedBucketOwnerT = Aws::String>
143 m_activateHasBeenSet =
true;
158 template <
typename ClientTokenT = Aws::String>
160 m_clientTokenHasBeenSet =
true;
161 m_clientToken = std::forward<ClientTokenT>(value);
163 template <
typename ClientTokenT = Aws::String>
176 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
178 m_tagsHasBeenSet =
true;
179 m_tags = std::forward<TagsT>(value);
181 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
183 SetTags(std::forward<TagsT>(value));
186 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
188 m_tagsHasBeenSet =
true;
189 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
204 bool m_activate{
false};
209 bool m_detectorIdHasBeenSet =
false;
210 bool m_nameHasBeenSet =
false;
211 bool m_formatHasBeenSet =
false;
212 bool m_locationHasBeenSet =
false;
213 bool m_expectedBucketOwnerHasBeenSet =
false;
214 bool m_activateHasBeenSet =
false;
215 bool m_clientTokenHasBeenSet =
true;
216 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