AWS SDK for C++  1.9.104
AWS SDK for C++
StartActivityStreamResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace RDS
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
42  inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
43 
48  inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyId = value; }
49 
54  inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyId = std::move(value); }
55 
60  inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); }
61 
66  inline StartActivityStreamResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
67 
72  inline StartActivityStreamResult& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
73 
78  inline StartActivityStreamResult& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
79 
80 
85  inline const Aws::String& GetKinesisStreamName() const{ return m_kinesisStreamName; }
86 
91  inline void SetKinesisStreamName(const Aws::String& value) { m_kinesisStreamName = value; }
92 
97  inline void SetKinesisStreamName(Aws::String&& value) { m_kinesisStreamName = std::move(value); }
98 
103  inline void SetKinesisStreamName(const char* value) { m_kinesisStreamName.assign(value); }
104 
109  inline StartActivityStreamResult& WithKinesisStreamName(const Aws::String& value) { SetKinesisStreamName(value); return *this;}
110 
115  inline StartActivityStreamResult& WithKinesisStreamName(Aws::String&& value) { SetKinesisStreamName(std::move(value)); return *this;}
116 
121  inline StartActivityStreamResult& WithKinesisStreamName(const char* value) { SetKinesisStreamName(value); return *this;}
122 
123 
127  inline const ActivityStreamStatus& GetStatus() const{ return m_status; }
128 
132  inline void SetStatus(const ActivityStreamStatus& value) { m_status = value; }
133 
137  inline void SetStatus(ActivityStreamStatus&& value) { m_status = std::move(value); }
138 
142  inline StartActivityStreamResult& WithStatus(const ActivityStreamStatus& value) { SetStatus(value); return *this;}
143 
147  inline StartActivityStreamResult& WithStatus(ActivityStreamStatus&& value) { SetStatus(std::move(value)); return *this;}
148 
149 
153  inline const ActivityStreamMode& GetMode() const{ return m_mode; }
154 
158  inline void SetMode(const ActivityStreamMode& value) { m_mode = value; }
159 
163  inline void SetMode(ActivityStreamMode&& value) { m_mode = std::move(value); }
164 
168  inline StartActivityStreamResult& WithMode(const ActivityStreamMode& value) { SetMode(value); return *this;}
169 
173  inline StartActivityStreamResult& WithMode(ActivityStreamMode&& value) { SetMode(std::move(value)); return *this;}
174 
175 
180  inline bool GetApplyImmediately() const{ return m_applyImmediately; }
181 
186  inline void SetApplyImmediately(bool value) { m_applyImmediately = value; }
187 
192  inline StartActivityStreamResult& WithApplyImmediately(bool value) { SetApplyImmediately(value); return *this;}
193 
194 
199  inline bool GetEngineNativeAuditFieldsIncluded() const{ return m_engineNativeAuditFieldsIncluded; }
200 
205  inline void SetEngineNativeAuditFieldsIncluded(bool value) { m_engineNativeAuditFieldsIncluded = value; }
206 
211  inline StartActivityStreamResult& WithEngineNativeAuditFieldsIncluded(bool value) { SetEngineNativeAuditFieldsIncluded(value); return *this;}
212 
213 
214 
215  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
216 
217 
218  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
219 
220 
221  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
222 
223 
224  inline StartActivityStreamResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
225 
226 
227  inline StartActivityStreamResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
228 
229  private:
230 
231  Aws::String m_kmsKeyId;
232 
233  Aws::String m_kinesisStreamName;
234 
235  ActivityStreamStatus m_status;
236 
237  ActivityStreamMode m_mode;
238 
239  bool m_applyImmediately;
240 
241  bool m_engineNativeAuditFieldsIncluded;
242 
243  ResponseMetadata m_responseMetadata;
244  };
245 
246 } // namespace Model
247 } // namespace RDS
248 } // namespace Aws
Aws::RDS::Model::StartActivityStreamResult::SetMode
void SetMode(const ActivityStreamMode &value)
Definition: StartActivityStreamResult.h:158
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RDS::Model::StartActivityStreamResult::SetApplyImmediately
void SetApplyImmediately(bool value)
Definition: StartActivityStreamResult.h:186
Aws::RDS::Model::StartActivityStreamResult::GetKmsKeyId
const Aws::String & GetKmsKeyId() const
Definition: StartActivityStreamResult.h:42
Aws::RDS::Model::StartActivityStreamResult::WithStatus
StartActivityStreamResult & WithStatus(const ActivityStreamStatus &value)
Definition: StartActivityStreamResult.h:142
Aws::RDS::Model::StartActivityStreamResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: StartActivityStreamResult.h:221
Aws::RDS::Model::StartActivityStreamResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: StartActivityStreamResult.h:215
Aws::RDS::Model::StartActivityStreamResult::SetKmsKeyId
void SetKmsKeyId(const Aws::String &value)
Definition: StartActivityStreamResult.h:48
Aws::RDS::Model::StartActivityStreamResult::GetKinesisStreamName
const Aws::String & GetKinesisStreamName() const
Definition: StartActivityStreamResult.h:85
Aws::RDS::Model::ActivityStreamMode
ActivityStreamMode
Definition: ActivityStreamMode.h:17
Aws::RDS::Model::StartActivityStreamResult::SetStatus
void SetStatus(const ActivityStreamStatus &value)
Definition: StartActivityStreamResult.h:132
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::StartActivityStreamResult::WithResponseMetadata
StartActivityStreamResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: StartActivityStreamResult.h:227
Aws::RDS::Model::StartActivityStreamResult::WithKmsKeyId
StartActivityStreamResult & WithKmsKeyId(Aws::String &&value)
Definition: StartActivityStreamResult.h:72
Aws::RDS::Model::StartActivityStreamResult::StartActivityStreamResult
StartActivityStreamResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ActivityStreamStatus.h
Aws::RDS::Model::StartActivityStreamResult::WithMode
StartActivityStreamResult & WithMode(const ActivityStreamMode &value)
Definition: StartActivityStreamResult.h:168
Aws::RDS::Model::StartActivityStreamResult::WithKmsKeyId
StartActivityStreamResult & WithKmsKeyId(const char *value)
Definition: StartActivityStreamResult.h:78
Aws::RDS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::RDS::Model::StartActivityStreamResult::WithKinesisStreamName
StartActivityStreamResult & WithKinesisStreamName(const char *value)
Definition: StartActivityStreamResult.h:121
ActivityStreamMode.h
Aws::RDS::Model::StartActivityStreamResult::SetKmsKeyId
void SetKmsKeyId(const char *value)
Definition: StartActivityStreamResult.h:60
RDS_EXPORTS.h
Aws::RDS::Model::StartActivityStreamResult::WithEngineNativeAuditFieldsIncluded
StartActivityStreamResult & WithEngineNativeAuditFieldsIncluded(bool value)
Definition: StartActivityStreamResult.h:211
Aws::RDS::Model::StartActivityStreamResult::SetKinesisStreamName
void SetKinesisStreamName(const Aws::String &value)
Definition: StartActivityStreamResult.h:91
Aws::RDS::Model::StartActivityStreamResult::WithResponseMetadata
StartActivityStreamResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: StartActivityStreamResult.h:224
Aws::RDS::Model::StartActivityStreamResult::StartActivityStreamResult
StartActivityStreamResult()
Aws::RDS::Model::StartActivityStreamResult::operator=
StartActivityStreamResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::RDS::Model::StartActivityStreamResult::SetKinesisStreamName
void SetKinesisStreamName(Aws::String &&value)
Definition: StartActivityStreamResult.h:97
AWSString.h
Aws::RDS::Model::ActivityStreamStatus
ActivityStreamStatus
Definition: ActivityStreamStatus.h:17
Aws::RDS::Model::StartActivityStreamResult::GetEngineNativeAuditFieldsIncluded
bool GetEngineNativeAuditFieldsIncluded() const
Definition: StartActivityStreamResult.h:199
Aws::RDS::Model::StartActivityStreamResult::GetApplyImmediately
bool GetApplyImmediately() const
Definition: StartActivityStreamResult.h:180
Aws::RDS::Model::StartActivityStreamResult::SetEngineNativeAuditFieldsIncluded
void SetEngineNativeAuditFieldsIncluded(bool value)
Definition: StartActivityStreamResult.h:205
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::StartActivityStreamResult::SetMode
void SetMode(ActivityStreamMode &&value)
Definition: StartActivityStreamResult.h:163
Aws::RDS::Model::StartActivityStreamResult::WithStatus
StartActivityStreamResult & WithStatus(ActivityStreamStatus &&value)
Definition: StartActivityStreamResult.h:147
Aws::RDS::Model::StartActivityStreamResult::WithKinesisStreamName
StartActivityStreamResult & WithKinesisStreamName(Aws::String &&value)
Definition: StartActivityStreamResult.h:115
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::StartActivityStreamResult::SetKmsKeyId
void SetKmsKeyId(Aws::String &&value)
Definition: StartActivityStreamResult.h:54
ResponseMetadata.h
Aws::RDS::Model::StartActivityStreamResult
Definition: StartActivityStreamResult.h:31
Aws::RDS::Model::StartActivityStreamResult::SetKinesisStreamName
void SetKinesisStreamName(const char *value)
Definition: StartActivityStreamResult.h:103
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::StartActivityStreamResult::SetStatus
void SetStatus(ActivityStreamStatus &&value)
Definition: StartActivityStreamResult.h:137
Aws::RDS::Model::StartActivityStreamResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: StartActivityStreamResult.h:218
Aws::RDS::Model::StartActivityStreamResult::GetMode
const ActivityStreamMode & GetMode() const
Definition: StartActivityStreamResult.h:153
Aws::RDS::Model::StartActivityStreamResult::WithApplyImmediately
StartActivityStreamResult & WithApplyImmediately(bool value)
Definition: StartActivityStreamResult.h:192
Aws::RDS::Model::StartActivityStreamResult::GetStatus
const ActivityStreamStatus & GetStatus() const
Definition: StartActivityStreamResult.h:127
Aws::RDS::Model::StartActivityStreamResult::WithKmsKeyId
StartActivityStreamResult & WithKmsKeyId(const Aws::String &value)
Definition: StartActivityStreamResult.h:66
Aws::RDS::Model::StartActivityStreamResult::WithMode
StartActivityStreamResult & WithMode(ActivityStreamMode &&value)
Definition: StartActivityStreamResult.h:173
Aws::RDS::Model::StartActivityStreamResult::WithKinesisStreamName
StartActivityStreamResult & WithKinesisStreamName(const Aws::String &value)
Definition: StartActivityStreamResult.h:109