AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeLoggingStatusResult.h
Go to the documentation of this file.
1
6#pragma once
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Xml
23{
24 class XmlDocument;
25} // namespace Xml
26} // namespace Utils
27namespace Redshift
28{
29namespace Model
30{
37 {
38 public:
42
43
48 inline bool GetLoggingEnabled() const{ return m_loggingEnabled; }
49
54 inline void SetLoggingEnabled(bool value) { m_loggingEnabled = value; }
55
60 inline DescribeLoggingStatusResult& WithLoggingEnabled(bool value) { SetLoggingEnabled(value); return *this;}
61
62
66 inline const Aws::String& GetBucketName() const{ return m_bucketName; }
67
71 inline void SetBucketName(const Aws::String& value) { m_bucketName = value; }
72
76 inline void SetBucketName(Aws::String&& value) { m_bucketName = std::move(value); }
77
81 inline void SetBucketName(const char* value) { m_bucketName.assign(value); }
82
86 inline DescribeLoggingStatusResult& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
87
91 inline DescribeLoggingStatusResult& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
92
96 inline DescribeLoggingStatusResult& WithBucketName(const char* value) { SetBucketName(value); return *this;}
97
98
102 inline const Aws::String& GetS3KeyPrefix() const{ return m_s3KeyPrefix; }
103
107 inline void SetS3KeyPrefix(const Aws::String& value) { m_s3KeyPrefix = value; }
108
112 inline void SetS3KeyPrefix(Aws::String&& value) { m_s3KeyPrefix = std::move(value); }
113
117 inline void SetS3KeyPrefix(const char* value) { m_s3KeyPrefix.assign(value); }
118
122 inline DescribeLoggingStatusResult& WithS3KeyPrefix(const Aws::String& value) { SetS3KeyPrefix(value); return *this;}
123
127 inline DescribeLoggingStatusResult& WithS3KeyPrefix(Aws::String&& value) { SetS3KeyPrefix(std::move(value)); return *this;}
128
132 inline DescribeLoggingStatusResult& WithS3KeyPrefix(const char* value) { SetS3KeyPrefix(value); return *this;}
133
134
138 inline const Aws::Utils::DateTime& GetLastSuccessfulDeliveryTime() const{ return m_lastSuccessfulDeliveryTime; }
139
143 inline void SetLastSuccessfulDeliveryTime(const Aws::Utils::DateTime& value) { m_lastSuccessfulDeliveryTime = value; }
144
148 inline void SetLastSuccessfulDeliveryTime(Aws::Utils::DateTime&& value) { m_lastSuccessfulDeliveryTime = std::move(value); }
149
154
159
160
164 inline const Aws::Utils::DateTime& GetLastFailureTime() const{ return m_lastFailureTime; }
165
169 inline void SetLastFailureTime(const Aws::Utils::DateTime& value) { m_lastFailureTime = value; }
170
174 inline void SetLastFailureTime(Aws::Utils::DateTime&& value) { m_lastFailureTime = std::move(value); }
175
180
185
186
190 inline const Aws::String& GetLastFailureMessage() const{ return m_lastFailureMessage; }
191
195 inline void SetLastFailureMessage(const Aws::String& value) { m_lastFailureMessage = value; }
196
200 inline void SetLastFailureMessage(Aws::String&& value) { m_lastFailureMessage = std::move(value); }
201
205 inline void SetLastFailureMessage(const char* value) { m_lastFailureMessage.assign(value); }
206
211
215 inline DescribeLoggingStatusResult& WithLastFailureMessage(Aws::String&& value) { SetLastFailureMessage(std::move(value)); return *this;}
216
220 inline DescribeLoggingStatusResult& WithLastFailureMessage(const char* value) { SetLastFailureMessage(value); return *this;}
221
222
227 inline const LogDestinationType& GetLogDestinationType() const{ return m_logDestinationType; }
228
233 inline void SetLogDestinationType(const LogDestinationType& value) { m_logDestinationType = value; }
234
239 inline void SetLogDestinationType(LogDestinationType&& value) { m_logDestinationType = std::move(value); }
240
246
252
253
258 inline const Aws::Vector<Aws::String>& GetLogExports() const{ return m_logExports; }
259
264 inline void SetLogExports(const Aws::Vector<Aws::String>& value) { m_logExports = value; }
265
270 inline void SetLogExports(Aws::Vector<Aws::String>&& value) { m_logExports = std::move(value); }
271
277
282 inline DescribeLoggingStatusResult& WithLogExports(Aws::Vector<Aws::String>&& value) { SetLogExports(std::move(value)); return *this;}
283
288 inline DescribeLoggingStatusResult& AddLogExports(const Aws::String& value) { m_logExports.push_back(value); return *this; }
289
294 inline DescribeLoggingStatusResult& AddLogExports(Aws::String&& value) { m_logExports.push_back(std::move(value)); return *this; }
295
300 inline DescribeLoggingStatusResult& AddLogExports(const char* value) { m_logExports.push_back(value); return *this; }
301
302
303
304 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
305
306
307 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
308
309
310 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
311
312
314
315
317
318 private:
319
320 bool m_loggingEnabled;
321
322 Aws::String m_bucketName;
323
324 Aws::String m_s3KeyPrefix;
325
326 Aws::Utils::DateTime m_lastSuccessfulDeliveryTime;
327
328 Aws::Utils::DateTime m_lastFailureTime;
329
330 Aws::String m_lastFailureMessage;
331
332 LogDestinationType m_logDestinationType;
333
334 Aws::Vector<Aws::String> m_logExports;
335
336 ResponseMetadata m_responseMetadata;
337 };
338
339} // namespace Model
340} // namespace Redshift
341} // namespace Aws
#define AWS_REDSHIFT_API
void SetLogDestinationType(const LogDestinationType &value)
void SetLogExports(Aws::Vector< Aws::String > &&value)
AWS_REDSHIFT_API DescribeLoggingStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeLoggingStatusResult & WithLogExports(const Aws::Vector< Aws::String > &value)
void SetLastSuccessfulDeliveryTime(const Aws::Utils::DateTime &value)
DescribeLoggingStatusResult & WithLastFailureTime(Aws::Utils::DateTime &&value)
DescribeLoggingStatusResult & WithBucketName(const char *value)
DescribeLoggingStatusResult & WithLastSuccessfulDeliveryTime(Aws::Utils::DateTime &&value)
DescribeLoggingStatusResult & WithLastSuccessfulDeliveryTime(const Aws::Utils::DateTime &value)
DescribeLoggingStatusResult & WithLogDestinationType(const LogDestinationType &value)
DescribeLoggingStatusResult & WithLogExports(Aws::Vector< Aws::String > &&value)
DescribeLoggingStatusResult & WithLogDestinationType(LogDestinationType &&value)
DescribeLoggingStatusResult & WithLoggingEnabled(bool value)
DescribeLoggingStatusResult & WithLastFailureMessage(const Aws::String &value)
void SetLastSuccessfulDeliveryTime(Aws::Utils::DateTime &&value)
DescribeLoggingStatusResult & AddLogExports(const Aws::String &value)
void SetLogExports(const Aws::Vector< Aws::String > &value)
DescribeLoggingStatusResult & WithResponseMetadata(ResponseMetadata &&value)
const Aws::Vector< Aws::String > & GetLogExports() const
void SetLastFailureTime(const Aws::Utils::DateTime &value)
DescribeLoggingStatusResult & WithBucketName(Aws::String &&value)
DescribeLoggingStatusResult & WithS3KeyPrefix(Aws::String &&value)
DescribeLoggingStatusResult & WithS3KeyPrefix(const Aws::String &value)
DescribeLoggingStatusResult & WithLastFailureTime(const Aws::Utils::DateTime &value)
DescribeLoggingStatusResult & WithBucketName(const Aws::String &value)
DescribeLoggingStatusResult & WithResponseMetadata(const ResponseMetadata &value)
DescribeLoggingStatusResult & WithLastFailureMessage(const char *value)
AWS_REDSHIFT_API DescribeLoggingStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeLoggingStatusResult & AddLogExports(const char *value)
const Aws::Utils::DateTime & GetLastSuccessfulDeliveryTime() const
DescribeLoggingStatusResult & WithS3KeyPrefix(const char *value)
DescribeLoggingStatusResult & AddLogExports(Aws::String &&value)
DescribeLoggingStatusResult & WithLastFailureMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector