AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartActivityStreamResult.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/rds/model/ActivityStreamStatus.h>
10#include <aws/rds/model/ActivityStreamMode.h>
11#include <aws/rds/model/ResponseMetadata.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace RDS
27{
28namespace Model
29{
31 {
32 public:
36
37
39
43 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
44 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyId = value; }
45 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyId = std::move(value); }
46 inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); }
47 inline StartActivityStreamResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
48 inline StartActivityStreamResult& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
49 inline StartActivityStreamResult& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
51
53
57 inline const Aws::String& GetKinesisStreamName() const{ return m_kinesisStreamName; }
58 inline void SetKinesisStreamName(const Aws::String& value) { m_kinesisStreamName = value; }
59 inline void SetKinesisStreamName(Aws::String&& value) { m_kinesisStreamName = std::move(value); }
60 inline void SetKinesisStreamName(const char* value) { m_kinesisStreamName.assign(value); }
62 inline StartActivityStreamResult& WithKinesisStreamName(Aws::String&& value) { SetKinesisStreamName(std::move(value)); return *this;}
63 inline StartActivityStreamResult& WithKinesisStreamName(const char* value) { SetKinesisStreamName(value); return *this;}
65
67
70 inline const ActivityStreamStatus& GetStatus() const{ return m_status; }
71 inline void SetStatus(const ActivityStreamStatus& value) { m_status = value; }
72 inline void SetStatus(ActivityStreamStatus&& value) { m_status = std::move(value); }
73 inline StartActivityStreamResult& WithStatus(const ActivityStreamStatus& value) { SetStatus(value); return *this;}
74 inline StartActivityStreamResult& WithStatus(ActivityStreamStatus&& value) { SetStatus(std::move(value)); return *this;}
76
78
81 inline const ActivityStreamMode& GetMode() const{ return m_mode; }
82 inline void SetMode(const ActivityStreamMode& value) { m_mode = value; }
83 inline void SetMode(ActivityStreamMode&& value) { m_mode = std::move(value); }
84 inline StartActivityStreamResult& WithMode(const ActivityStreamMode& value) { SetMode(value); return *this;}
85 inline StartActivityStreamResult& WithMode(ActivityStreamMode&& value) { SetMode(std::move(value)); return *this;}
87
89
93 inline bool GetApplyImmediately() const{ return m_applyImmediately; }
94 inline void SetApplyImmediately(bool value) { m_applyImmediately = value; }
95 inline StartActivityStreamResult& WithApplyImmediately(bool value) { SetApplyImmediately(value); return *this;}
97
99
103 inline bool GetEngineNativeAuditFieldsIncluded() const{ return m_engineNativeAuditFieldsIncluded; }
104 inline void SetEngineNativeAuditFieldsIncluded(bool value) { m_engineNativeAuditFieldsIncluded = value; }
107
109
110 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
111 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
112 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
114 inline StartActivityStreamResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
116 private:
117
118 Aws::String m_kmsKeyId;
119
120 Aws::String m_kinesisStreamName;
121
122 ActivityStreamStatus m_status;
123
124 ActivityStreamMode m_mode;
125
126 bool m_applyImmediately;
127
128 bool m_engineNativeAuditFieldsIncluded;
129
130 ResponseMetadata m_responseMetadata;
131 };
132
133} // namespace Model
134} // namespace RDS
135} // namespace Aws
void SetResponseMetadata(const ResponseMetadata &value)
StartActivityStreamResult & WithKmsKeyId(Aws::String &&value)
const ActivityStreamStatus & GetStatus() const
StartActivityStreamResult & WithKinesisStreamName(const Aws::String &value)
StartActivityStreamResult & WithMode(ActivityStreamMode &&value)
AWS_RDS_API StartActivityStreamResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetStatus(const ActivityStreamStatus &value)
StartActivityStreamResult & WithKmsKeyId(const Aws::String &value)
StartActivityStreamResult & WithStatus(const ActivityStreamStatus &value)
StartActivityStreamResult & WithResponseMetadata(const ResponseMetadata &value)
const ResponseMetadata & GetResponseMetadata() const
StartActivityStreamResult & WithApplyImmediately(bool value)
StartActivityStreamResult & WithMode(const ActivityStreamMode &value)
StartActivityStreamResult & WithKinesisStreamName(Aws::String &&value)
StartActivityStreamResult & WithKmsKeyId(const char *value)
StartActivityStreamResult & WithEngineNativeAuditFieldsIncluded(bool value)
AWS_RDS_API StartActivityStreamResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
StartActivityStreamResult & WithKinesisStreamName(const char *value)
StartActivityStreamResult & WithStatus(ActivityStreamStatus &&value)
void SetMode(const ActivityStreamMode &value)
StartActivityStreamResult & WithResponseMetadata(ResponseMetadata &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument