AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyActivityStreamResult.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/ActivityStreamPolicyStatus.h>
12#include <aws/rds/model/ResponseMetadata.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Xml
23{
24 class XmlDocument;
25} // namespace Xml
26} // namespace Utils
27namespace RDS
28{
29namespace Model
30{
32 {
33 public:
37
38
40
44 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
45 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyId = value; }
46 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyId = std::move(value); }
47 inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); }
48 inline ModifyActivityStreamResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
49 inline ModifyActivityStreamResult& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
50 inline ModifyActivityStreamResult& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
52
54
58 inline const Aws::String& GetKinesisStreamName() const{ return m_kinesisStreamName; }
59 inline void SetKinesisStreamName(const Aws::String& value) { m_kinesisStreamName = value; }
60 inline void SetKinesisStreamName(Aws::String&& value) { m_kinesisStreamName = std::move(value); }
61 inline void SetKinesisStreamName(const char* value) { m_kinesisStreamName.assign(value); }
63 inline ModifyActivityStreamResult& WithKinesisStreamName(Aws::String&& value) { SetKinesisStreamName(std::move(value)); return *this;}
64 inline ModifyActivityStreamResult& WithKinesisStreamName(const char* value) { SetKinesisStreamName(value); return *this;}
66
68
71 inline const ActivityStreamStatus& GetStatus() const{ return m_status; }
72 inline void SetStatus(const ActivityStreamStatus& value) { m_status = value; }
73 inline void SetStatus(ActivityStreamStatus&& value) { m_status = std::move(value); }
74 inline ModifyActivityStreamResult& WithStatus(const ActivityStreamStatus& value) { SetStatus(value); return *this;}
75 inline ModifyActivityStreamResult& WithStatus(ActivityStreamStatus&& value) { SetStatus(std::move(value)); return *this;}
77
79
82 inline const ActivityStreamMode& GetMode() const{ return m_mode; }
83 inline void SetMode(const ActivityStreamMode& value) { m_mode = value; }
84 inline void SetMode(ActivityStreamMode&& value) { m_mode = std::move(value); }
85 inline ModifyActivityStreamResult& WithMode(const ActivityStreamMode& value) { SetMode(value); return *this;}
86 inline ModifyActivityStreamResult& WithMode(ActivityStreamMode&& value) { SetMode(std::move(value)); return *this;}
88
90
94 inline bool GetEngineNativeAuditFieldsIncluded() const{ return m_engineNativeAuditFieldsIncluded; }
95 inline void SetEngineNativeAuditFieldsIncluded(bool value) { m_engineNativeAuditFieldsIncluded = value; }
98
100
104 inline const ActivityStreamPolicyStatus& GetPolicyStatus() const{ return m_policyStatus; }
105 inline void SetPolicyStatus(const ActivityStreamPolicyStatus& value) { m_policyStatus = value; }
106 inline void SetPolicyStatus(ActivityStreamPolicyStatus&& value) { m_policyStatus = std::move(value); }
110
112
113 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
114 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
115 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
117 inline ModifyActivityStreamResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
119 private:
120
121 Aws::String m_kmsKeyId;
122
123 Aws::String m_kinesisStreamName;
124
125 ActivityStreamStatus m_status;
126
127 ActivityStreamMode m_mode;
128
129 bool m_engineNativeAuditFieldsIncluded;
130
131 ActivityStreamPolicyStatus m_policyStatus;
132
133 ResponseMetadata m_responseMetadata;
134 };
135
136} // namespace Model
137} // namespace RDS
138} // namespace Aws
ModifyActivityStreamResult & WithKinesisStreamName(const char *value)
const ActivityStreamPolicyStatus & GetPolicyStatus() const
ModifyActivityStreamResult & WithStatus(const ActivityStreamStatus &value)
ModifyActivityStreamResult & WithResponseMetadata(const ResponseMetadata &value)
ModifyActivityStreamResult & WithMode(ActivityStreamMode &&value)
void SetMode(const ActivityStreamMode &value)
ModifyActivityStreamResult & WithKinesisStreamName(Aws::String &&value)
AWS_RDS_API ModifyActivityStreamResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetPolicyStatus(ActivityStreamPolicyStatus &&value)
ModifyActivityStreamResult & WithResponseMetadata(ResponseMetadata &&value)
const ActivityStreamStatus & GetStatus() const
ModifyActivityStreamResult & WithMode(const ActivityStreamMode &value)
void SetStatus(const ActivityStreamStatus &value)
ModifyActivityStreamResult & WithKmsKeyId(Aws::String &&value)
ModifyActivityStreamResult & WithEngineNativeAuditFieldsIncluded(bool value)
void SetResponseMetadata(const ResponseMetadata &value)
ModifyActivityStreamResult & WithStatus(ActivityStreamStatus &&value)
ModifyActivityStreamResult & WithPolicyStatus(const ActivityStreamPolicyStatus &value)
ModifyActivityStreamResult & WithKinesisStreamName(const Aws::String &value)
ModifyActivityStreamResult & WithPolicyStatus(ActivityStreamPolicyStatus &&value)
ModifyActivityStreamResult & WithKmsKeyId(const Aws::String &value)
ModifyActivityStreamResult & WithKmsKeyId(const char *value)
AWS_RDS_API ModifyActivityStreamResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetPolicyStatus(const ActivityStreamPolicyStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument