AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
36
37
39
42 inline const Aws::String& GetDestinationId() const{ return m_destinationId; }
43 inline void SetDestinationId(const Aws::String& value) { m_destinationId = value; }
44 inline void SetDestinationId(Aws::String&& value) { m_destinationId = std::move(value); }
45 inline void SetDestinationId(const char* value) { m_destinationId.assign(value); }
47 inline DescribePublishingDestinationResult& WithDestinationId(Aws::String&& value) { SetDestinationId(std::move(value)); return *this;}
48 inline DescribePublishingDestinationResult& WithDestinationId(const char* value) { SetDestinationId(value); return *this;}
50
52
56 inline const DestinationType& GetDestinationType() const{ return m_destinationType; }
57 inline void SetDestinationType(const DestinationType& value) { m_destinationType = value; }
58 inline void SetDestinationType(DestinationType&& value) { m_destinationType = std::move(value); }
62
64
67 inline const PublishingStatus& GetStatus() const{ return m_status; }
68 inline void SetStatus(const PublishingStatus& value) { m_status = value; }
69 inline void SetStatus(PublishingStatus&& value) { m_status = std::move(value); }
70 inline DescribePublishingDestinationResult& WithStatus(const PublishingStatus& value) { SetStatus(value); return *this;}
71 inline DescribePublishingDestinationResult& WithStatus(PublishingStatus&& value) { SetStatus(std::move(value)); return *this;}
73
75
79 inline long long GetPublishingFailureStartTimestamp() const{ return m_publishingFailureStartTimestamp; }
80 inline void SetPublishingFailureStartTimestamp(long long value) { m_publishingFailureStartTimestamp = value; }
83
85
90 inline const DestinationProperties& GetDestinationProperties() const{ return m_destinationProperties; }
91 inline void SetDestinationProperties(const DestinationProperties& value) { m_destinationProperties = value; }
92 inline void SetDestinationProperties(DestinationProperties&& value) { m_destinationProperties = std::move(value); }
96
98
99 inline const Aws::String& GetRequestId() const{ return m_requestId; }
100 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
101 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
102 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
103 inline DescribePublishingDestinationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
104 inline DescribePublishingDestinationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
105 inline DescribePublishingDestinationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
107 private:
108
109 Aws::String m_destinationId;
110
111 DestinationType m_destinationType;
112
113 PublishingStatus m_status;
114
115 long long m_publishingFailureStartTimestamp;
116
117 DestinationProperties m_destinationProperties;
118
119 Aws::String m_requestId;
120 };
121
122} // namespace Model
123} // namespace GuardDuty
124} // namespace Aws
DescribePublishingDestinationResult & WithDestinationType(const DestinationType &value)
DescribePublishingDestinationResult & WithRequestId(const char *value)
DescribePublishingDestinationResult & WithDestinationProperties(const DestinationProperties &value)
DescribePublishingDestinationResult & WithRequestId(const Aws::String &value)
DescribePublishingDestinationResult & WithDestinationType(DestinationType &&value)
DescribePublishingDestinationResult & WithDestinationProperties(DestinationProperties &&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 & WithDestinationId(Aws::String &&value)
DescribePublishingDestinationResult & WithPublishingFailureStartTimestamp(long long value)
DescribePublishingDestinationResult & WithDestinationId(const Aws::String &value)
DescribePublishingDestinationResult & WithStatus(const PublishingStatus &value)
DescribePublishingDestinationResult & WithDestinationId(const char *value)
DescribePublishingDestinationResult & WithRequestId(Aws::String &&value)
DescribePublishingDestinationResult & WithStatus(PublishingStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue