AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
AwsRedshiftClusterLoggingStatus.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub {
20namespace Model {
21
29 public:
30 AWS_SECURITYHUB_API AwsRedshiftClusterLoggingStatus() = default;
33 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetBucketName() const { return m_bucketName; }
40 inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; }
41 template <typename BucketNameT = Aws::String>
42 void SetBucketName(BucketNameT&& value) {
43 m_bucketNameHasBeenSet = true;
44 m_bucketName = std::forward<BucketNameT>(value);
45 }
46 template <typename BucketNameT = Aws::String>
48 SetBucketName(std::forward<BucketNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetLastFailureMessage() const { return m_lastFailureMessage; }
58 inline bool LastFailureMessageHasBeenSet() const { return m_lastFailureMessageHasBeenSet; }
59 template <typename LastFailureMessageT = Aws::String>
60 void SetLastFailureMessage(LastFailureMessageT&& value) {
61 m_lastFailureMessageHasBeenSet = true;
62 m_lastFailureMessage = std::forward<LastFailureMessageT>(value);
63 }
64 template <typename LastFailureMessageT = Aws::String>
66 SetLastFailureMessage(std::forward<LastFailureMessageT>(value));
67 return *this;
68 }
70
72
77 inline const Aws::String& GetLastFailureTime() const { return m_lastFailureTime; }
78 inline bool LastFailureTimeHasBeenSet() const { return m_lastFailureTimeHasBeenSet; }
79 template <typename LastFailureTimeT = Aws::String>
80 void SetLastFailureTime(LastFailureTimeT&& value) {
81 m_lastFailureTimeHasBeenSet = true;
82 m_lastFailureTime = std::forward<LastFailureTimeT>(value);
83 }
84 template <typename LastFailureTimeT = Aws::String>
86 SetLastFailureTime(std::forward<LastFailureTimeT>(value));
87 return *this;
88 }
90
92
98 inline const Aws::String& GetLastSuccessfulDeliveryTime() const { return m_lastSuccessfulDeliveryTime; }
99 inline bool LastSuccessfulDeliveryTimeHasBeenSet() const { return m_lastSuccessfulDeliveryTimeHasBeenSet; }
100 template <typename LastSuccessfulDeliveryTimeT = Aws::String>
101 void SetLastSuccessfulDeliveryTime(LastSuccessfulDeliveryTimeT&& value) {
102 m_lastSuccessfulDeliveryTimeHasBeenSet = true;
103 m_lastSuccessfulDeliveryTime = std::forward<LastSuccessfulDeliveryTimeT>(value);
104 }
105 template <typename LastSuccessfulDeliveryTimeT = Aws::String>
107 SetLastSuccessfulDeliveryTime(std::forward<LastSuccessfulDeliveryTimeT>(value));
108 return *this;
109 }
111
113
116 inline bool GetLoggingEnabled() const { return m_loggingEnabled; }
117 inline bool LoggingEnabledHasBeenSet() const { return m_loggingEnabledHasBeenSet; }
118 inline void SetLoggingEnabled(bool value) {
119 m_loggingEnabledHasBeenSet = true;
120 m_loggingEnabled = value;
121 }
123 SetLoggingEnabled(value);
124 return *this;
125 }
127
129
132 inline const Aws::String& GetS3KeyPrefix() const { return m_s3KeyPrefix; }
133 inline bool S3KeyPrefixHasBeenSet() const { return m_s3KeyPrefixHasBeenSet; }
134 template <typename S3KeyPrefixT = Aws::String>
135 void SetS3KeyPrefix(S3KeyPrefixT&& value) {
136 m_s3KeyPrefixHasBeenSet = true;
137 m_s3KeyPrefix = std::forward<S3KeyPrefixT>(value);
138 }
139 template <typename S3KeyPrefixT = Aws::String>
141 SetS3KeyPrefix(std::forward<S3KeyPrefixT>(value));
142 return *this;
143 }
145 private:
146 Aws::String m_bucketName;
147
148 Aws::String m_lastFailureMessage;
149
150 Aws::String m_lastFailureTime;
151
152 Aws::String m_lastSuccessfulDeliveryTime;
153
154 bool m_loggingEnabled{false};
155
156 Aws::String m_s3KeyPrefix;
157 bool m_bucketNameHasBeenSet = false;
158 bool m_lastFailureMessageHasBeenSet = false;
159 bool m_lastFailureTimeHasBeenSet = false;
160 bool m_lastSuccessfulDeliveryTimeHasBeenSet = false;
161 bool m_loggingEnabledHasBeenSet = false;
162 bool m_s3KeyPrefixHasBeenSet = false;
163};
164
165} // namespace Model
166} // namespace SecurityHub
167} // namespace Aws
AwsRedshiftClusterLoggingStatus & WithLastFailureTime(LastFailureTimeT &&value)
AWS_SECURITYHUB_API AwsRedshiftClusterLoggingStatus()=default
AwsRedshiftClusterLoggingStatus & WithLastFailureMessage(LastFailureMessageT &&value)
AwsRedshiftClusterLoggingStatus & WithS3KeyPrefix(S3KeyPrefixT &&value)
AwsRedshiftClusterLoggingStatus & WithBucketName(BucketNameT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsRedshiftClusterLoggingStatus & WithLastSuccessfulDeliveryTime(LastSuccessfulDeliveryTimeT &&value)
AWS_SECURITYHUB_API AwsRedshiftClusterLoggingStatus(Aws::Utils::Json::JsonView jsonValue)
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