AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
DescribePublishingDestinationResult.h
1
6#pragma once
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>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace GuardDuty
27{
28namespace Model
29{
31 {
32 public:
33 AWS_GUARDDUTY_API DescribePublishingDestinationResult() = default;
36
37
39
42 inline const Aws::String& GetDestinationId() const { return m_destinationId; }
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>
46 DescribePublishingDestinationResult& WithDestinationId(DestinationIdT&& value) { SetDestinationId(std::forward<DestinationIdT>(value)); return *this;}
48
50
54 inline DestinationType GetDestinationType() const { return m_destinationType; }
55 inline void SetDestinationType(DestinationType value) { m_destinationTypeHasBeenSet = true; m_destinationType = value; }
58
60
63 inline PublishingStatus GetStatus() const { return m_status; }
64 inline void SetStatus(PublishingStatus value) { m_statusHasBeenSet = true; m_status = value; }
67
69
73 inline long long GetPublishingFailureStartTimestamp() const { return m_publishingFailureStartTimestamp; }
74 inline void SetPublishingFailureStartTimestamp(long long value) { m_publishingFailureStartTimestampHasBeenSet = true; m_publishingFailureStartTimestamp = value; }
77
79
84 inline const DestinationProperties& GetDestinationProperties() const { return m_destinationProperties; }
85 template<typename DestinationPropertiesT = DestinationProperties>
86 void SetDestinationProperties(DestinationPropertiesT&& value) { m_destinationPropertiesHasBeenSet = true; m_destinationProperties = std::forward<DestinationPropertiesT>(value); }
87 template<typename DestinationPropertiesT = DestinationProperties>
88 DescribePublishingDestinationResult& WithDestinationProperties(DestinationPropertiesT&& value) { SetDestinationProperties(std::forward<DestinationPropertiesT>(value)); return *this;}
90
92
93 inline const Aws::String& GetRequestId() const { return m_requestId; }
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>
97 DescribePublishingDestinationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
99 private:
100
101 Aws::String m_destinationId;
102 bool m_destinationIdHasBeenSet = false;
103
104 DestinationType m_destinationType{DestinationType::NOT_SET};
105 bool m_destinationTypeHasBeenSet = false;
106
108 bool m_statusHasBeenSet = false;
109
110 long long m_publishingFailureStartTimestamp{0};
111 bool m_publishingFailureStartTimestampHasBeenSet = false;
112
113 DestinationProperties m_destinationProperties;
114 bool m_destinationPropertiesHasBeenSet = false;
115
116 Aws::String m_requestId;
117 bool m_requestIdHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace GuardDuty
122} // namespace Aws
DescribePublishingDestinationResult & WithDestinationId(DestinationIdT &&value)
DescribePublishingDestinationResult & WithStatus(PublishingStatus value)
AWS_GUARDDUTY_API DescribePublishingDestinationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GUARDDUTY_API DescribePublishingDestinationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribePublishingDestinationResult & WithDestinationType(DestinationType value)
DescribePublishingDestinationResult & WithPublishingFailureStartTimestamp(long long value)
DescribePublishingDestinationResult & WithDestinationProperties(DestinationPropertiesT &&value)
DescribePublishingDestinationResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue