AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsRedshiftClusterLoggingStatus.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYHUB_API AwsRedshiftClusterLoggingStatus();
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetBucketName() const{ return m_bucketName; }
46 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
47 inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; }
48 inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); }
49 inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); }
50 inline AwsRedshiftClusterLoggingStatus& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;}
51 inline AwsRedshiftClusterLoggingStatus& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;}
52 inline AwsRedshiftClusterLoggingStatus& WithBucketName(const char* value) { SetBucketName(value); return *this;}
54
56
59 inline const Aws::String& GetLastFailureMessage() const{ return m_lastFailureMessage; }
60 inline bool LastFailureMessageHasBeenSet() const { return m_lastFailureMessageHasBeenSet; }
61 inline void SetLastFailureMessage(const Aws::String& value) { m_lastFailureMessageHasBeenSet = true; m_lastFailureMessage = value; }
62 inline void SetLastFailureMessage(Aws::String&& value) { m_lastFailureMessageHasBeenSet = true; m_lastFailureMessage = std::move(value); }
63 inline void SetLastFailureMessage(const char* value) { m_lastFailureMessageHasBeenSet = true; m_lastFailureMessage.assign(value); }
66 inline AwsRedshiftClusterLoggingStatus& WithLastFailureMessage(const char* value) { SetLastFailureMessage(value); return *this;}
68
70
87 inline const Aws::String& GetLastFailureTime() const{ return m_lastFailureTime; }
88 inline bool LastFailureTimeHasBeenSet() const { return m_lastFailureTimeHasBeenSet; }
89 inline void SetLastFailureTime(const Aws::String& value) { m_lastFailureTimeHasBeenSet = true; m_lastFailureTime = value; }
90 inline void SetLastFailureTime(Aws::String&& value) { m_lastFailureTimeHasBeenSet = true; m_lastFailureTime = std::move(value); }
91 inline void SetLastFailureTime(const char* value) { m_lastFailureTimeHasBeenSet = true; m_lastFailureTime.assign(value); }
93 inline AwsRedshiftClusterLoggingStatus& WithLastFailureTime(Aws::String&& value) { SetLastFailureTime(std::move(value)); return *this;}
94 inline AwsRedshiftClusterLoggingStatus& WithLastFailureTime(const char* value) { SetLastFailureTime(value); return *this;}
96
98
115 inline const Aws::String& GetLastSuccessfulDeliveryTime() const{ return m_lastSuccessfulDeliveryTime; }
116 inline bool LastSuccessfulDeliveryTimeHasBeenSet() const { return m_lastSuccessfulDeliveryTimeHasBeenSet; }
117 inline void SetLastSuccessfulDeliveryTime(const Aws::String& value) { m_lastSuccessfulDeliveryTimeHasBeenSet = true; m_lastSuccessfulDeliveryTime = value; }
118 inline void SetLastSuccessfulDeliveryTime(Aws::String&& value) { m_lastSuccessfulDeliveryTimeHasBeenSet = true; m_lastSuccessfulDeliveryTime = std::move(value); }
119 inline void SetLastSuccessfulDeliveryTime(const char* value) { m_lastSuccessfulDeliveryTimeHasBeenSet = true; m_lastSuccessfulDeliveryTime.assign(value); }
124
126
129 inline bool GetLoggingEnabled() const{ return m_loggingEnabled; }
130 inline bool LoggingEnabledHasBeenSet() const { return m_loggingEnabledHasBeenSet; }
131 inline void SetLoggingEnabled(bool value) { m_loggingEnabledHasBeenSet = true; m_loggingEnabled = value; }
132 inline AwsRedshiftClusterLoggingStatus& WithLoggingEnabled(bool value) { SetLoggingEnabled(value); return *this;}
134
136
139 inline const Aws::String& GetS3KeyPrefix() const{ return m_s3KeyPrefix; }
140 inline bool S3KeyPrefixHasBeenSet() const { return m_s3KeyPrefixHasBeenSet; }
141 inline void SetS3KeyPrefix(const Aws::String& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = value; }
142 inline void SetS3KeyPrefix(Aws::String&& value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix = std::move(value); }
143 inline void SetS3KeyPrefix(const char* value) { m_s3KeyPrefixHasBeenSet = true; m_s3KeyPrefix.assign(value); }
144 inline AwsRedshiftClusterLoggingStatus& WithS3KeyPrefix(const Aws::String& value) { SetS3KeyPrefix(value); return *this;}
145 inline AwsRedshiftClusterLoggingStatus& WithS3KeyPrefix(Aws::String&& value) { SetS3KeyPrefix(std::move(value)); return *this;}
146 inline AwsRedshiftClusterLoggingStatus& WithS3KeyPrefix(const char* value) { SetS3KeyPrefix(value); return *this;}
148 private:
149
150 Aws::String m_bucketName;
151 bool m_bucketNameHasBeenSet = false;
152
153 Aws::String m_lastFailureMessage;
154 bool m_lastFailureMessageHasBeenSet = false;
155
156 Aws::String m_lastFailureTime;
157 bool m_lastFailureTimeHasBeenSet = false;
158
159 Aws::String m_lastSuccessfulDeliveryTime;
160 bool m_lastSuccessfulDeliveryTimeHasBeenSet = false;
161
162 bool m_loggingEnabled;
163 bool m_loggingEnabledHasBeenSet = false;
164
165 Aws::String m_s3KeyPrefix;
166 bool m_s3KeyPrefixHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace SecurityHub
171} // namespace Aws
AwsRedshiftClusterLoggingStatus & WithLastSuccessfulDeliveryTime(Aws::String &&value)
AwsRedshiftClusterLoggingStatus & WithLastFailureTime(Aws::String &&value)
AwsRedshiftClusterLoggingStatus & WithLastFailureTime(const char *value)
AwsRedshiftClusterLoggingStatus & WithBucketName(const char *value)
AwsRedshiftClusterLoggingStatus & WithS3KeyPrefix(const Aws::String &value)
AwsRedshiftClusterLoggingStatus & WithLastFailureMessage(const Aws::String &value)
AwsRedshiftClusterLoggingStatus & WithLastSuccessfulDeliveryTime(const char *value)
AwsRedshiftClusterLoggingStatus & WithS3KeyPrefix(const char *value)
AwsRedshiftClusterLoggingStatus & WithLastFailureMessage(const char *value)
AwsRedshiftClusterLoggingStatus & WithBucketName(Aws::String &&value)
AwsRedshiftClusterLoggingStatus & WithBucketName(const Aws::String &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsRedshiftClusterLoggingStatus & WithLastSuccessfulDeliveryTime(const Aws::String &value)
AwsRedshiftClusterLoggingStatus & WithLastFailureMessage(Aws::String &&value)
AWS_SECURITYHUB_API AwsRedshiftClusterLoggingStatus(Aws::Utils::Json::JsonView jsonValue)
AwsRedshiftClusterLoggingStatus & WithLastFailureTime(const Aws::String &value)
AwsRedshiftClusterLoggingStatus & WithS3KeyPrefix(Aws::String &&value)
AWS_SECURITYHUB_API AwsRedshiftClusterLoggingStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue