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/DestinationType.h>
11#include <aws/guardduty/model/DestinationProperties.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>
72 template<
typename DestinationPropertiesT = DestinationProperties>
73 void SetDestinationProperties(DestinationPropertiesT&& value) { m_destinationPropertiesHasBeenSet =
true; m_destinationProperties = std::forward<DestinationPropertiesT>(value); }
74 template<
typename DestinationPropertiesT = DestinationProperties>
84 template<
typename ClientTokenT = Aws::String>
85 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
86 template<
typename ClientTokenT = Aws::String>
92 bool m_detectorIdHasBeenSet =
false;
95 bool m_destinationTypeHasBeenSet =
false;
97 DestinationProperties m_destinationProperties;
98 bool m_destinationPropertiesHasBeenSet =
false;
101 bool m_clientTokenHasBeenSet =
true;
AWS_GUARDDUTY_API CreatePublishingDestinationRequest()=default
void SetDetectorId(DetectorIdT &&value)
bool ClientTokenHasBeenSet() const
CreatePublishingDestinationRequest & WithClientToken(ClientTokenT &&value)
void SetClientToken(ClientTokenT &&value)
DestinationType GetDestinationType() 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
const Aws::String & GetDetectorId() const
bool DestinationTypeHasBeenSet() const
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String