AWS SDK for C++  1.9.21
AWS SDK for C++
DescribePublishingDestinationResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace GuardDuty
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const Aws::String& GetDestinationId() const{ return m_destinationId; }
42 
46  inline void SetDestinationId(const Aws::String& value) { m_destinationId = value; }
47 
51  inline void SetDestinationId(Aws::String&& value) { m_destinationId = std::move(value); }
52 
56  inline void SetDestinationId(const char* value) { m_destinationId.assign(value); }
57 
61  inline DescribePublishingDestinationResult& WithDestinationId(const Aws::String& value) { SetDestinationId(value); return *this;}
62 
66  inline DescribePublishingDestinationResult& WithDestinationId(Aws::String&& value) { SetDestinationId(std::move(value)); return *this;}
67 
71  inline DescribePublishingDestinationResult& WithDestinationId(const char* value) { SetDestinationId(value); return *this;}
72 
73 
78  inline const DestinationType& GetDestinationType() const{ return m_destinationType; }
79 
84  inline void SetDestinationType(const DestinationType& value) { m_destinationType = value; }
85 
90  inline void SetDestinationType(DestinationType&& value) { m_destinationType = std::move(value); }
91 
96  inline DescribePublishingDestinationResult& WithDestinationType(const DestinationType& value) { SetDestinationType(value); return *this;}
97 
102  inline DescribePublishingDestinationResult& WithDestinationType(DestinationType&& value) { SetDestinationType(std::move(value)); return *this;}
103 
104 
108  inline const PublishingStatus& GetStatus() const{ return m_status; }
109 
113  inline void SetStatus(const PublishingStatus& value) { m_status = value; }
114 
118  inline void SetStatus(PublishingStatus&& value) { m_status = std::move(value); }
119 
123  inline DescribePublishingDestinationResult& WithStatus(const PublishingStatus& value) { SetStatus(value); return *this;}
124 
128  inline DescribePublishingDestinationResult& WithStatus(PublishingStatus&& value) { SetStatus(std::move(value)); return *this;}
129 
130 
135  inline long long GetPublishingFailureStartTimestamp() const{ return m_publishingFailureStartTimestamp; }
136 
141  inline void SetPublishingFailureStartTimestamp(long long value) { m_publishingFailureStartTimestamp = value; }
142 
147  inline DescribePublishingDestinationResult& WithPublishingFailureStartTimestamp(long long value) { SetPublishingFailureStartTimestamp(value); return *this;}
148 
149 
155  inline const DestinationProperties& GetDestinationProperties() const{ return m_destinationProperties; }
156 
162  inline void SetDestinationProperties(const DestinationProperties& value) { m_destinationProperties = value; }
163 
169  inline void SetDestinationProperties(DestinationProperties&& value) { m_destinationProperties = std::move(value); }
170 
176  inline DescribePublishingDestinationResult& WithDestinationProperties(const DestinationProperties& value) { SetDestinationProperties(value); return *this;}
177 
183  inline DescribePublishingDestinationResult& WithDestinationProperties(DestinationProperties&& value) { SetDestinationProperties(std::move(value)); return *this;}
184 
185  private:
186 
187  Aws::String m_destinationId;
188 
189  DestinationType m_destinationType;
190 
191  PublishingStatus m_status;
192 
193  long long m_publishingFailureStartTimestamp;
194 
195  DestinationProperties m_destinationProperties;
196  };
197 
198 } // namespace Model
199 } // namespace GuardDuty
200 } // namespace Aws
Aws::GuardDuty::Model::DescribePublishingDestinationResult::WithDestinationId
DescribePublishingDestinationResult & WithDestinationId(const Aws::String &value)
Definition: DescribePublishingDestinationResult.h:61
Aws::GuardDuty::Model::DescribePublishingDestinationResult::GetDestinationId
const Aws::String & GetDestinationId() const
Definition: DescribePublishingDestinationResult.h:41
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GuardDuty::Model::DestinationProperties
Definition: DestinationProperties.h:34
Aws::GuardDuty::Model::DescribePublishingDestinationResult::WithDestinationType
DescribePublishingDestinationResult & WithDestinationType(const DestinationType &value)
Definition: DescribePublishingDestinationResult.h:96
Aws::GuardDuty::Model::DescribePublishingDestinationResult::SetDestinationType
void SetDestinationType(DestinationType &&value)
Definition: DescribePublishingDestinationResult.h:90
Aws::GuardDuty::Model::DescribePublishingDestinationResult::WithStatus
DescribePublishingDestinationResult & WithStatus(const PublishingStatus &value)
Definition: DescribePublishingDestinationResult.h:123
Aws::GuardDuty::Model::DescribePublishingDestinationResult::WithDestinationId
DescribePublishingDestinationResult & WithDestinationId(const char *value)
Definition: DescribePublishingDestinationResult.h:71
Aws::GuardDuty::Model::DescribePublishingDestinationResult::WithDestinationProperties
DescribePublishingDestinationResult & WithDestinationProperties(DestinationProperties &&value)
Definition: DescribePublishingDestinationResult.h:183
Aws::GuardDuty::Model::DescribePublishingDestinationResult::WithDestinationProperties
DescribePublishingDestinationResult & WithDestinationProperties(const DestinationProperties &value)
Definition: DescribePublishingDestinationResult.h:176
Aws::GuardDuty::Model::DescribePublishingDestinationResult::GetDestinationType
const DestinationType & GetDestinationType() const
Definition: DescribePublishingDestinationResult.h:78
Aws::GuardDuty::Model::DestinationType
DestinationType
Definition: DestinationType.h:17
Aws::GuardDuty::Model::DescribePublishingDestinationResult::WithDestinationType
DescribePublishingDestinationResult & WithDestinationType(DestinationType &&value)
Definition: DescribePublishingDestinationResult.h:102
Aws::GuardDuty::Model::DescribePublishingDestinationResult::SetPublishingFailureStartTimestamp
void SetPublishingFailureStartTimestamp(long long value)
Definition: DescribePublishingDestinationResult.h:141
Aws::GuardDuty::Model::DescribePublishingDestinationResult::WithPublishingFailureStartTimestamp
DescribePublishingDestinationResult & WithPublishingFailureStartTimestamp(long long value)
Definition: DescribePublishingDestinationResult.h:147
PublishingStatus.h
Aws::GuardDuty::Model::PublishingStatus
PublishingStatus
Definition: PublishingStatus.h:17
DestinationType.h
Aws::GuardDuty::Model::DescribePublishingDestinationResult::DescribePublishingDestinationResult
DescribePublishingDestinationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GuardDuty::Model::DescribePublishingDestinationResult::SetStatus
void SetStatus(const PublishingStatus &value)
Definition: DescribePublishingDestinationResult.h:113
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::DescribePublishingDestinationResult::SetDestinationProperties
void SetDestinationProperties(DestinationProperties &&value)
Definition: DescribePublishingDestinationResult.h:169
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::DescribePublishingDestinationResult::SetDestinationId
void SetDestinationId(const char *value)
Definition: DescribePublishingDestinationResult.h:56
Aws::GuardDuty::Model::DescribePublishingDestinationResult::GetStatus
const PublishingStatus & GetStatus() const
Definition: DescribePublishingDestinationResult.h:108
AWSString.h
Aws::GuardDuty::Model::DescribePublishingDestinationResult::GetDestinationProperties
const DestinationProperties & GetDestinationProperties() const
Definition: DescribePublishingDestinationResult.h:155
Aws::GuardDuty::Model::DescribePublishingDestinationResult::SetStatus
void SetStatus(PublishingStatus &&value)
Definition: DescribePublishingDestinationResult.h:118
DestinationProperties.h
Aws::GuardDuty::Model::DescribePublishingDestinationResult::DescribePublishingDestinationResult
DescribePublishingDestinationResult()
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::DescribePublishingDestinationResult::GetPublishingFailureStartTimestamp
long long GetPublishingFailureStartTimestamp() const
Definition: DescribePublishingDestinationResult.h:135
Aws::GuardDuty::Model::DescribePublishingDestinationResult::SetDestinationProperties
void SetDestinationProperties(const DestinationProperties &value)
Definition: DescribePublishingDestinationResult.h:162
Aws::GuardDuty::Model::DescribePublishingDestinationResult::WithDestinationId
DescribePublishingDestinationResult & WithDestinationId(Aws::String &&value)
Definition: DescribePublishingDestinationResult.h:66
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GuardDuty::Model::DescribePublishingDestinationResult::SetDestinationId
void SetDestinationId(const Aws::String &value)
Definition: DescribePublishingDestinationResult.h:46
Aws::GuardDuty::Model::DescribePublishingDestinationResult::WithStatus
DescribePublishingDestinationResult & WithStatus(PublishingStatus &&value)
Definition: DescribePublishingDestinationResult.h:128
Aws::GuardDuty::Model::DescribePublishingDestinationResult::SetDestinationId
void SetDestinationId(Aws::String &&value)
Definition: DescribePublishingDestinationResult.h:51
Aws::GuardDuty::Model::DescribePublishingDestinationResult::operator=
DescribePublishingDestinationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GuardDuty::Model::DescribePublishingDestinationResult::SetDestinationType
void SetDestinationType(const DestinationType &value)
Definition: DescribePublishingDestinationResult.h:84
Aws::GuardDuty::Model::DescribePublishingDestinationResult
Definition: DescribePublishingDestinationResult.h:31