7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/guardduty/GuardDuty_EXPORTS.h>
11#include <aws/guardduty/model/DestinationProperties.h>
12#include <aws/guardduty/model/DestinationType.h>
13#include <aws/guardduty/model/PublishingStatus.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
39 template <
typename DestinationIdT = Aws::String>
41 m_destinationIdHasBeenSet =
true;
42 m_destinationId = std::forward<DestinationIdT>(value);
44 template <
typename DestinationIdT = Aws::String>
58 m_destinationTypeHasBeenSet =
true;
59 m_destinationType = value;
73 m_statusHasBeenSet =
true;
89 m_publishingFailureStartTimestampHasBeenSet =
true;
90 m_publishingFailureStartTimestamp = value;
105 template <
typename DestinationPropertiesT = DestinationProperties>
107 m_destinationPropertiesHasBeenSet =
true;
108 m_destinationProperties = std::forward<DestinationPropertiesT>(value);
110 template <
typename DestinationPropertiesT = DestinationProperties>
122 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
124 m_tagsHasBeenSet =
true;
125 m_tags = std::forward<TagsT>(value);
127 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
129 SetTags(std::forward<TagsT>(value));
132 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
134 m_tagsHasBeenSet =
true;
135 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
143 template <
typename RequestIdT = Aws::String>
145 m_requestIdHasBeenSet =
true;
146 m_requestId = std::forward<RequestIdT>(value);
148 template <
typename RequestIdT = Aws::String>
163 long long m_publishingFailureStartTimestamp{0};
165 DestinationProperties m_destinationProperties;
171 bool m_destinationIdHasBeenSet =
false;
172 bool m_destinationTypeHasBeenSet =
false;
173 bool m_statusHasBeenSet =
false;
174 bool m_publishingFailureStartTimestampHasBeenSet =
false;
175 bool m_destinationPropertiesHasBeenSet =
false;
176 bool m_tagsHasBeenSet =
false;
177 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)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(TagsT &&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 & AddTags(TagsKeyT &&key, TagsValueT &&value)
DescribePublishingDestinationResult & WithDestinationType(DestinationType value)
const Aws::String & GetRequestId() const
DescribePublishingDestinationResult & WithTags(TagsT &&value)
DescribePublishingDestinationResult & WithPublishingFailureStartTimestamp(long long value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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::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
Aws::Utils::Json::JsonValue JsonValue