AWS SDK for C++  1.9.103
AWS SDK for C++
DisableLoggingResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace Redshift
26 {
27 namespace Model
28 {
35  {
36  public:
40 
41 
46  inline bool GetLoggingEnabled() const{ return m_loggingEnabled; }
47 
52  inline void SetLoggingEnabled(bool value) { m_loggingEnabled = value; }
53 
58  inline DisableLoggingResult& WithLoggingEnabled(bool value) { SetLoggingEnabled(value); return *this;}
59 
60 
64  inline const Aws::String& GetBucketName() const{ return m_bucketName; }
65 
69  inline void SetBucketName(const Aws::String& value) { m_bucketName = value; }
70 
74  inline void SetBucketName(Aws::String&& value) { m_bucketName = std::move(value); }
75 
79  inline void SetBucketName(const char* value) { m_bucketName.assign(value); }
80 
84  inline DisableLoggingResult& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
85 
89  inline DisableLoggingResult& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
90 
94  inline DisableLoggingResult& WithBucketName(const char* value) { SetBucketName(value); return *this;}
95 
96 
100  inline const Aws::String& GetS3KeyPrefix() const{ return m_s3KeyPrefix; }
101 
105  inline void SetS3KeyPrefix(const Aws::String& value) { m_s3KeyPrefix = value; }
106 
110  inline void SetS3KeyPrefix(Aws::String&& value) { m_s3KeyPrefix = std::move(value); }
111 
115  inline void SetS3KeyPrefix(const char* value) { m_s3KeyPrefix.assign(value); }
116 
120  inline DisableLoggingResult& WithS3KeyPrefix(const Aws::String& value) { SetS3KeyPrefix(value); return *this;}
121 
125  inline DisableLoggingResult& WithS3KeyPrefix(Aws::String&& value) { SetS3KeyPrefix(std::move(value)); return *this;}
126 
130  inline DisableLoggingResult& WithS3KeyPrefix(const char* value) { SetS3KeyPrefix(value); return *this;}
131 
132 
136  inline const Aws::Utils::DateTime& GetLastSuccessfulDeliveryTime() const{ return m_lastSuccessfulDeliveryTime; }
137 
141  inline void SetLastSuccessfulDeliveryTime(const Aws::Utils::DateTime& value) { m_lastSuccessfulDeliveryTime = value; }
142 
146  inline void SetLastSuccessfulDeliveryTime(Aws::Utils::DateTime&& value) { m_lastSuccessfulDeliveryTime = std::move(value); }
147 
151  inline DisableLoggingResult& WithLastSuccessfulDeliveryTime(const Aws::Utils::DateTime& value) { SetLastSuccessfulDeliveryTime(value); return *this;}
152 
156  inline DisableLoggingResult& WithLastSuccessfulDeliveryTime(Aws::Utils::DateTime&& value) { SetLastSuccessfulDeliveryTime(std::move(value)); return *this;}
157 
158 
162  inline const Aws::Utils::DateTime& GetLastFailureTime() const{ return m_lastFailureTime; }
163 
167  inline void SetLastFailureTime(const Aws::Utils::DateTime& value) { m_lastFailureTime = value; }
168 
172  inline void SetLastFailureTime(Aws::Utils::DateTime&& value) { m_lastFailureTime = std::move(value); }
173 
177  inline DisableLoggingResult& WithLastFailureTime(const Aws::Utils::DateTime& value) { SetLastFailureTime(value); return *this;}
178 
182  inline DisableLoggingResult& WithLastFailureTime(Aws::Utils::DateTime&& value) { SetLastFailureTime(std::move(value)); return *this;}
183 
184 
188  inline const Aws::String& GetLastFailureMessage() const{ return m_lastFailureMessage; }
189 
193  inline void SetLastFailureMessage(const Aws::String& value) { m_lastFailureMessage = value; }
194 
198  inline void SetLastFailureMessage(Aws::String&& value) { m_lastFailureMessage = std::move(value); }
199 
203  inline void SetLastFailureMessage(const char* value) { m_lastFailureMessage.assign(value); }
204 
208  inline DisableLoggingResult& WithLastFailureMessage(const Aws::String& value) { SetLastFailureMessage(value); return *this;}
209 
213  inline DisableLoggingResult& WithLastFailureMessage(Aws::String&& value) { SetLastFailureMessage(std::move(value)); return *this;}
214 
218  inline DisableLoggingResult& WithLastFailureMessage(const char* value) { SetLastFailureMessage(value); return *this;}
219 
220 
221 
222  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
223 
224 
225  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
226 
227 
228  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
229 
230 
231  inline DisableLoggingResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
232 
233 
234  inline DisableLoggingResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
235 
236  private:
237 
238  bool m_loggingEnabled;
239 
240  Aws::String m_bucketName;
241 
242  Aws::String m_s3KeyPrefix;
243 
244  Aws::Utils::DateTime m_lastSuccessfulDeliveryTime;
245 
246  Aws::Utils::DateTime m_lastFailureTime;
247 
248  Aws::String m_lastFailureMessage;
249 
250  ResponseMetadata m_responseMetadata;
251  };
252 
253 } // namespace Model
254 } // namespace Redshift
255 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Redshift::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::Redshift::Model::DisableLoggingResult::WithResponseMetadata
DisableLoggingResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DisableLoggingResult.h:234
Aws::Redshift::Model::DisableLoggingResult::SetLoggingEnabled
void SetLoggingEnabled(bool value)
Definition: DisableLoggingResult.h:52
Aws::Redshift::Model::DisableLoggingResult::SetLastFailureMessage
void SetLastFailureMessage(Aws::String &&value)
Definition: DisableLoggingResult.h:198
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Redshift::Model::DisableLoggingResult::GetLastSuccessfulDeliveryTime
const Aws::Utils::DateTime & GetLastSuccessfulDeliveryTime() const
Definition: DisableLoggingResult.h:136
Aws::Redshift::Model::DisableLoggingResult::SetS3KeyPrefix
void SetS3KeyPrefix(const char *value)
Definition: DisableLoggingResult.h:115
Aws::Redshift::Model::DisableLoggingResult::WithLastFailureMessage
DisableLoggingResult & WithLastFailureMessage(const char *value)
Definition: DisableLoggingResult.h:218
Aws::Redshift::Model::DisableLoggingResult::WithLoggingEnabled
DisableLoggingResult & WithLoggingEnabled(bool value)
Definition: DisableLoggingResult.h:58
Aws::Redshift::Model::DisableLoggingResult::WithLastFailureMessage
DisableLoggingResult & WithLastFailureMessage(const Aws::String &value)
Definition: DisableLoggingResult.h:208
Aws::Redshift::Model::DisableLoggingResult::SetLastFailureMessage
void SetLastFailureMessage(const char *value)
Definition: DisableLoggingResult.h:203
DateTime.h
Aws::Redshift::Model::DisableLoggingResult::WithS3KeyPrefix
DisableLoggingResult & WithS3KeyPrefix(Aws::String &&value)
Definition: DisableLoggingResult.h:125
Aws::Redshift::Model::DisableLoggingResult::WithBucketName
DisableLoggingResult & WithBucketName(Aws::String &&value)
Definition: DisableLoggingResult.h:89
Aws::Redshift::Model::DisableLoggingResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DisableLoggingResult.h:222
Aws::Redshift::Model::DisableLoggingResult::SetLastSuccessfulDeliveryTime
void SetLastSuccessfulDeliveryTime(Aws::Utils::DateTime &&value)
Definition: DisableLoggingResult.h:146
Aws::Redshift::Model::DisableLoggingResult::WithS3KeyPrefix
DisableLoggingResult & WithS3KeyPrefix(const Aws::String &value)
Definition: DisableLoggingResult.h:120
Aws::Redshift::Model::DisableLoggingResult::WithS3KeyPrefix
DisableLoggingResult & WithS3KeyPrefix(const char *value)
Definition: DisableLoggingResult.h:130
Aws::Redshift::Model::DisableLoggingResult::SetLastFailureMessage
void SetLastFailureMessage(const Aws::String &value)
Definition: DisableLoggingResult.h:193
Aws::Redshift::Model::DisableLoggingResult::SetBucketName
void SetBucketName(Aws::String &&value)
Definition: DisableLoggingResult.h:74
Aws::Redshift::Model::DisableLoggingResult::DisableLoggingResult
DisableLoggingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::DisableLoggingResult::WithLastFailureMessage
DisableLoggingResult & WithLastFailureMessage(Aws::String &&value)
Definition: DisableLoggingResult.h:213
Aws::Redshift::Model::DisableLoggingResult::operator=
DisableLoggingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::DisableLoggingResult::SetBucketName
void SetBucketName(const char *value)
Definition: DisableLoggingResult.h:79
Aws::Redshift::Model::DisableLoggingResult::GetLoggingEnabled
bool GetLoggingEnabled() const
Definition: DisableLoggingResult.h:46
Aws::Redshift::Model::DisableLoggingResult::WithBucketName
DisableLoggingResult & WithBucketName(const char *value)
Definition: DisableLoggingResult.h:94
Aws::Redshift::Model::DisableLoggingResult
Definition: DisableLoggingResult.h:35
Aws::Redshift::Model::DisableLoggingResult::GetLastFailureMessage
const Aws::String & GetLastFailureMessage() const
Definition: DisableLoggingResult.h:188
Aws::Redshift::Model::DisableLoggingResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DisableLoggingResult.h:228
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DisableLoggingResult::WithLastFailureTime
DisableLoggingResult & WithLastFailureTime(const Aws::Utils::DateTime &value)
Definition: DisableLoggingResult.h:177
Aws::Redshift::Model::DisableLoggingResult::WithResponseMetadata
DisableLoggingResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DisableLoggingResult.h:231
Aws::Redshift::Model::DisableLoggingResult::SetLastFailureTime
void SetLastFailureTime(Aws::Utils::DateTime &&value)
Definition: DisableLoggingResult.h:172
Aws::Redshift::Model::DisableLoggingResult::SetLastSuccessfulDeliveryTime
void SetLastSuccessfulDeliveryTime(const Aws::Utils::DateTime &value)
Definition: DisableLoggingResult.h:141
AWSString.h
Aws::Redshift::Model::DisableLoggingResult::GetS3KeyPrefix
const Aws::String & GetS3KeyPrefix() const
Definition: DisableLoggingResult.h:100
Aws::Redshift::Model::DisableLoggingResult::SetS3KeyPrefix
void SetS3KeyPrefix(Aws::String &&value)
Definition: DisableLoggingResult.h:110
Aws::Redshift::Model::DisableLoggingResult::WithLastFailureTime
DisableLoggingResult & WithLastFailureTime(Aws::Utils::DateTime &&value)
Definition: DisableLoggingResult.h:182
Aws::Redshift::Model::DisableLoggingResult::SetBucketName
void SetBucketName(const Aws::String &value)
Definition: DisableLoggingResult.h:69
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::Redshift::Model::DisableLoggingResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DisableLoggingResult.h:225
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ResponseMetadata.h
Aws::Redshift::Model::DisableLoggingResult::GetBucketName
const Aws::String & GetBucketName() const
Definition: DisableLoggingResult.h:64
Aws::Redshift::Model::DisableLoggingResult::DisableLoggingResult
DisableLoggingResult()
Aws::Redshift::Model::DisableLoggingResult::WithLastSuccessfulDeliveryTime
DisableLoggingResult & WithLastSuccessfulDeliveryTime(const Aws::Utils::DateTime &value)
Definition: DisableLoggingResult.h:151
Aws::Redshift::Model::DisableLoggingResult::SetS3KeyPrefix
void SetS3KeyPrefix(const Aws::String &value)
Definition: DisableLoggingResult.h:105
Aws::Redshift::Model::DisableLoggingResult::GetLastFailureTime
const Aws::Utils::DateTime & GetLastFailureTime() const
Definition: DisableLoggingResult.h:162
Aws::Redshift::Model::DisableLoggingResult::SetLastFailureTime
void SetLastFailureTime(const Aws::Utils::DateTime &value)
Definition: DisableLoggingResult.h:167
Aws::Redshift::Model::DisableLoggingResult::WithBucketName
DisableLoggingResult & WithBucketName(const Aws::String &value)
Definition: DisableLoggingResult.h:84
Aws::Redshift::Model::DisableLoggingResult::WithLastSuccessfulDeliveryTime
DisableLoggingResult & WithLastSuccessfulDeliveryTime(Aws::Utils::DateTime &&value)
Definition: DisableLoggingResult.h:156