AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisableLoggingResult.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/redshift/model/LogDestinationType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/redshift/model/ResponseMetadata.h>
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:
39 AWS_REDSHIFT_API DisableLoggingResult();
42
43
45
49 inline bool GetLoggingEnabled() const{ return m_loggingEnabled; }
50 inline void SetLoggingEnabled(bool value) { m_loggingEnabled = value; }
51 inline DisableLoggingResult& WithLoggingEnabled(bool value) { SetLoggingEnabled(value); return *this;}
53
55
58 inline const Aws::String& GetBucketName() const{ return m_bucketName; }
59 inline void SetBucketName(const Aws::String& value) { m_bucketName = value; }
60 inline void SetBucketName(Aws::String&& value) { m_bucketName = std::move(value); }
61 inline void SetBucketName(const char* value) { m_bucketName.assign(value); }
62 inline DisableLoggingResult& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
63 inline DisableLoggingResult& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
64 inline DisableLoggingResult& WithBucketName(const char* value) { SetBucketName(value); return *this;}
66
68
71 inline const Aws::String& GetS3KeyPrefix() const{ return m_s3KeyPrefix; }
72 inline void SetS3KeyPrefix(const Aws::String& value) { m_s3KeyPrefix = value; }
73 inline void SetS3KeyPrefix(Aws::String&& value) { m_s3KeyPrefix = std::move(value); }
74 inline void SetS3KeyPrefix(const char* value) { m_s3KeyPrefix.assign(value); }
75 inline DisableLoggingResult& WithS3KeyPrefix(const Aws::String& value) { SetS3KeyPrefix(value); return *this;}
76 inline DisableLoggingResult& WithS3KeyPrefix(Aws::String&& value) { SetS3KeyPrefix(std::move(value)); return *this;}
77 inline DisableLoggingResult& WithS3KeyPrefix(const char* value) { SetS3KeyPrefix(value); return *this;}
79
81
84 inline const Aws::Utils::DateTime& GetLastSuccessfulDeliveryTime() const{ return m_lastSuccessfulDeliveryTime; }
85 inline void SetLastSuccessfulDeliveryTime(const Aws::Utils::DateTime& value) { m_lastSuccessfulDeliveryTime = value; }
86 inline void SetLastSuccessfulDeliveryTime(Aws::Utils::DateTime&& value) { m_lastSuccessfulDeliveryTime = std::move(value); }
90
92
95 inline const Aws::Utils::DateTime& GetLastFailureTime() const{ return m_lastFailureTime; }
96 inline void SetLastFailureTime(const Aws::Utils::DateTime& value) { m_lastFailureTime = value; }
97 inline void SetLastFailureTime(Aws::Utils::DateTime&& value) { m_lastFailureTime = std::move(value); }
99 inline DisableLoggingResult& WithLastFailureTime(Aws::Utils::DateTime&& value) { SetLastFailureTime(std::move(value)); return *this;}
101
103
106 inline const Aws::String& GetLastFailureMessage() const{ return m_lastFailureMessage; }
107 inline void SetLastFailureMessage(const Aws::String& value) { m_lastFailureMessage = value; }
108 inline void SetLastFailureMessage(Aws::String&& value) { m_lastFailureMessage = std::move(value); }
109 inline void SetLastFailureMessage(const char* value) { m_lastFailureMessage.assign(value); }
111 inline DisableLoggingResult& WithLastFailureMessage(Aws::String&& value) { SetLastFailureMessage(std::move(value)); return *this;}
112 inline DisableLoggingResult& WithLastFailureMessage(const char* value) { SetLastFailureMessage(value); return *this;}
114
116
120 inline const LogDestinationType& GetLogDestinationType() const{ return m_logDestinationType; }
121 inline void SetLogDestinationType(const LogDestinationType& value) { m_logDestinationType = value; }
122 inline void SetLogDestinationType(LogDestinationType&& value) { m_logDestinationType = std::move(value); }
124 inline DisableLoggingResult& WithLogDestinationType(LogDestinationType&& value) { SetLogDestinationType(std::move(value)); return *this;}
126
128
133 inline const Aws::Vector<Aws::String>& GetLogExports() const{ return m_logExports; }
134 inline void SetLogExports(const Aws::Vector<Aws::String>& value) { m_logExports = value; }
135 inline void SetLogExports(Aws::Vector<Aws::String>&& value) { m_logExports = std::move(value); }
136 inline DisableLoggingResult& WithLogExports(const Aws::Vector<Aws::String>& value) { SetLogExports(value); return *this;}
137 inline DisableLoggingResult& WithLogExports(Aws::Vector<Aws::String>&& value) { SetLogExports(std::move(value)); return *this;}
138 inline DisableLoggingResult& AddLogExports(const Aws::String& value) { m_logExports.push_back(value); return *this; }
139 inline DisableLoggingResult& AddLogExports(Aws::String&& value) { m_logExports.push_back(std::move(value)); return *this; }
140 inline DisableLoggingResult& AddLogExports(const char* value) { m_logExports.push_back(value); return *this; }
142
144
145 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
146 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
147 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
149 inline DisableLoggingResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
151 private:
152
153 bool m_loggingEnabled;
154
155 Aws::String m_bucketName;
156
157 Aws::String m_s3KeyPrefix;
158
159 Aws::Utils::DateTime m_lastSuccessfulDeliveryTime;
160
161 Aws::Utils::DateTime m_lastFailureTime;
162
163 Aws::String m_lastFailureMessage;
164
165 LogDestinationType m_logDestinationType;
166
167 Aws::Vector<Aws::String> m_logExports;
168
169 ResponseMetadata m_responseMetadata;
170 };
171
172} // namespace Model
173} // namespace Redshift
174} // namespace Aws
DisableLoggingResult & WithLastFailureMessage(const Aws::String &value)
DisableLoggingResult & WithResponseMetadata(ResponseMetadata &&value)
const Aws::Vector< Aws::String > & GetLogExports() const
DisableLoggingResult & WithLastFailureMessage(Aws::String &&value)
void SetLastFailureTime(Aws::Utils::DateTime &&value)
DisableLoggingResult & WithResponseMetadata(const ResponseMetadata &value)
DisableLoggingResult & AddLogExports(Aws::String &&value)
AWS_REDSHIFT_API DisableLoggingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DisableLoggingResult & WithS3KeyPrefix(const Aws::String &value)
DisableLoggingResult & WithLogDestinationType(LogDestinationType &&value)
DisableLoggingResult & WithLastFailureTime(const Aws::Utils::DateTime &value)
DisableLoggingResult & AddLogExports(const Aws::String &value)
void SetResponseMetadata(const ResponseMetadata &value)
DisableLoggingResult & WithLastSuccessfulDeliveryTime(const Aws::Utils::DateTime &value)
const LogDestinationType & GetLogDestinationType() const
void SetResponseMetadata(ResponseMetadata &&value)
void SetS3KeyPrefix(const Aws::String &value)
const Aws::Utils::DateTime & GetLastSuccessfulDeliveryTime() const
DisableLoggingResult & WithLastSuccessfulDeliveryTime(Aws::Utils::DateTime &&value)
void SetLastSuccessfulDeliveryTime(Aws::Utils::DateTime &&value)
DisableLoggingResult & WithLogExports(Aws::Vector< Aws::String > &&value)
const ResponseMetadata & GetResponseMetadata() const
DisableLoggingResult & WithLogDestinationType(const LogDestinationType &value)
void SetLastSuccessfulDeliveryTime(const Aws::Utils::DateTime &value)
DisableLoggingResult & WithBucketName(const Aws::String &value)
DisableLoggingResult & WithS3KeyPrefix(Aws::String &&value)
const Aws::Utils::DateTime & GetLastFailureTime() const
DisableLoggingResult & WithS3KeyPrefix(const char *value)
AWS_REDSHIFT_API DisableLoggingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetBucketName(const Aws::String &value)
DisableLoggingResult & WithLastFailureMessage(const char *value)
void SetLogExports(const Aws::Vector< Aws::String > &value)
DisableLoggingResult & WithLastFailureTime(Aws::Utils::DateTime &&value)
DisableLoggingResult & WithLoggingEnabled(bool value)
void SetLogDestinationType(LogDestinationType &&value)
DisableLoggingResult & WithLogExports(const Aws::Vector< Aws::String > &value)
void SetLogDestinationType(const LogDestinationType &value)
void SetLastFailureTime(const Aws::Utils::DateTime &value)
DisableLoggingResult & AddLogExports(const char *value)
void SetLogExports(Aws::Vector< Aws::String > &&value)
void SetLastFailureMessage(const Aws::String &value)
DisableLoggingResult & WithBucketName(Aws::String &&value)
DisableLoggingResult & WithBucketName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument