7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/model/DestinationType.h>
10#include <aws/guardduty/model/PublishingStatus.h>
11#include <aws/guardduty/model/DestinationProperties.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename DestinationIdT = Aws::String>
44 void SetDestinationId(DestinationIdT&& value) { m_destinationIdHasBeenSet =
true; m_destinationId = std::forward<DestinationIdT>(value); }
45 template<
typename DestinationIdT = Aws::String>
85 template<
typename DestinationPropertiesT = DestinationProperties>
86 void SetDestinationProperties(DestinationPropertiesT&& value) { m_destinationPropertiesHasBeenSet =
true; m_destinationProperties = std::forward<DestinationPropertiesT>(value); }
87 template<
typename DestinationPropertiesT = DestinationProperties>
94 template<
typename RequestIdT = Aws::String>
95 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
96 template<
typename RequestIdT = Aws::String>
102 bool m_destinationIdHasBeenSet =
false;
105 bool m_destinationTypeHasBeenSet =
false;
108 bool m_statusHasBeenSet =
false;
110 long long m_publishingFailureStartTimestamp{0};
111 bool m_publishingFailureStartTimestampHasBeenSet =
false;
113 DestinationProperties m_destinationProperties;
114 bool m_destinationPropertiesHasBeenSet =
false;
117 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetDestinationId() const
long long GetPublishingFailureStartTimestamp() const
DescribePublishingDestinationResult & WithDestinationId(DestinationIdT &&value)
const DestinationProperties & GetDestinationProperties() const
DescribePublishingDestinationResult & WithStatus(PublishingStatus value)
AWS_GUARDDUTY_API DescribePublishingDestinationResult()=default
AWS_GUARDDUTY_API DescribePublishingDestinationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStatus(PublishingStatus value)
AWS_GUARDDUTY_API DescribePublishingDestinationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribePublishingDestinationResult & WithDestinationType(DestinationType value)
const Aws::String & GetRequestId() const
DescribePublishingDestinationResult & WithPublishingFailureStartTimestamp(long long value)
PublishingStatus GetStatus() const
void SetDestinationProperties(DestinationPropertiesT &&value)
void SetPublishingFailureStartTimestamp(long long value)
void SetRequestId(RequestIdT &&value)
DestinationType GetDestinationType() const
void SetDestinationType(DestinationType value)
DescribePublishingDestinationResult & WithDestinationProperties(DestinationPropertiesT &&value)
void SetDestinationId(DestinationIdT &&value)
DescribePublishingDestinationResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue