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/DestinationProperties.h>
13#include <aws/guardduty/model/DestinationType.h>
45 template <
typename DetectorIdT = Aws::String>
47 m_detectorIdHasBeenSet =
true;
48 m_detectorId = std::forward<DetectorIdT>(value);
50 template <
typename DetectorIdT = Aws::String>
65 m_destinationTypeHasBeenSet =
true;
66 m_destinationType = value;
81 template <
typename DestinationPropertiesT = DestinationProperties>
83 m_destinationPropertiesHasBeenSet =
true;
84 m_destinationProperties = std::forward<DestinationPropertiesT>(value);
86 template <
typename DestinationPropertiesT = DestinationProperties>
99 template <
typename ClientTokenT = Aws::String>
101 m_clientTokenHasBeenSet =
true;
102 m_clientToken = std::forward<ClientTokenT>(value);
104 template <
typename ClientTokenT = Aws::String>
117 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
119 m_tagsHasBeenSet =
true;
120 m_tags = std::forward<TagsT>(value);
122 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
124 SetTags(std::forward<TagsT>(value));
127 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
129 m_tagsHasBeenSet =
true;
130 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
139 DestinationProperties m_destinationProperties;
144 bool m_detectorIdHasBeenSet =
false;
145 bool m_destinationTypeHasBeenSet =
false;
146 bool m_destinationPropertiesHasBeenSet =
false;
147 bool m_clientTokenHasBeenSet =
true;
148 bool m_tagsHasBeenSet =
false;
void SetTags(TagsT &&value)
AWS_GUARDDUTY_API CreatePublishingDestinationRequest()=default
void SetDetectorId(DetectorIdT &&value)
CreatePublishingDestinationRequest & WithTags(TagsT &&value)
bool ClientTokenHasBeenSet() const
CreatePublishingDestinationRequest & WithClientToken(ClientTokenT &&value)
void SetClientToken(ClientTokenT &&value)
DestinationType GetDestinationType() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetDestinationType(DestinationType value)
CreatePublishingDestinationRequest & WithDestinationProperties(DestinationPropertiesT &&value)
virtual const char * GetServiceRequestName() const override
CreatePublishingDestinationRequest & WithDestinationType(DestinationType value)
CreatePublishingDestinationRequest & WithDetectorId(DetectorIdT &&value)
bool DestinationPropertiesHasBeenSet() const
const DestinationProperties & GetDestinationProperties() const
bool DetectorIdHasBeenSet() const
void SetDestinationProperties(DestinationPropertiesT &&value)
const Aws::String & GetClientToken() const
CreatePublishingDestinationRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetDetectorId() const
bool DestinationTypeHasBeenSet() const
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
bool TagsHasBeenSet() const
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