AWS SDK for C++  1.9.104
AWS SDK for C++
StopActivityStreamResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace RDS
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
43  inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
44 
51  inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyId = value; }
52 
59  inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyId = std::move(value); }
60 
67  inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); }
68 
75  inline StopActivityStreamResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
76 
83  inline StopActivityStreamResult& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
84 
91  inline StopActivityStreamResult& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
92 
93 
98  inline const Aws::String& GetKinesisStreamName() const{ return m_kinesisStreamName; }
99 
104  inline void SetKinesisStreamName(const Aws::String& value) { m_kinesisStreamName = value; }
105 
110  inline void SetKinesisStreamName(Aws::String&& value) { m_kinesisStreamName = std::move(value); }
111 
116  inline void SetKinesisStreamName(const char* value) { m_kinesisStreamName.assign(value); }
117 
122  inline StopActivityStreamResult& WithKinesisStreamName(const Aws::String& value) { SetKinesisStreamName(value); return *this;}
123 
128  inline StopActivityStreamResult& WithKinesisStreamName(Aws::String&& value) { SetKinesisStreamName(std::move(value)); return *this;}
129 
134  inline StopActivityStreamResult& WithKinesisStreamName(const char* value) { SetKinesisStreamName(value); return *this;}
135 
136 
140  inline const ActivityStreamStatus& GetStatus() const{ return m_status; }
141 
145  inline void SetStatus(const ActivityStreamStatus& value) { m_status = value; }
146 
150  inline void SetStatus(ActivityStreamStatus&& value) { m_status = std::move(value); }
151 
155  inline StopActivityStreamResult& WithStatus(const ActivityStreamStatus& value) { SetStatus(value); return *this;}
156 
160  inline StopActivityStreamResult& WithStatus(ActivityStreamStatus&& value) { SetStatus(std::move(value)); return *this;}
161 
162 
163 
164  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
165 
166 
167  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
168 
169 
170  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
171 
172 
173  inline StopActivityStreamResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
174 
175 
176  inline StopActivityStreamResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
177 
178  private:
179 
180  Aws::String m_kmsKeyId;
181 
182  Aws::String m_kinesisStreamName;
183 
184  ActivityStreamStatus m_status;
185 
186  ResponseMetadata m_responseMetadata;
187  };
188 
189 } // namespace Model
190 } // namespace RDS
191 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RDS::Model::StopActivityStreamResult::GetKmsKeyId
const Aws::String & GetKmsKeyId() const
Definition: StopActivityStreamResult.h:43
Aws::RDS::Model::StopActivityStreamResult::SetKmsKeyId
void SetKmsKeyId(const char *value)
Definition: StopActivityStreamResult.h:67
Aws::RDS::Model::StopActivityStreamResult::SetKinesisStreamName
void SetKinesisStreamName(const Aws::String &value)
Definition: StopActivityStreamResult.h:104
Aws::RDS::Model::StopActivityStreamResult::WithStatus
StopActivityStreamResult & WithStatus(ActivityStreamStatus &&value)
Definition: StopActivityStreamResult.h:160
Aws::RDS::Model::StopActivityStreamResult::SetKinesisStreamName
void SetKinesisStreamName(Aws::String &&value)
Definition: StopActivityStreamResult.h:110
Aws::RDS::Model::StopActivityStreamResult::SetKmsKeyId
void SetKmsKeyId(Aws::String &&value)
Definition: StopActivityStreamResult.h:59
Aws::RDS::Model::StopActivityStreamResult::SetKinesisStreamName
void SetKinesisStreamName(const char *value)
Definition: StopActivityStreamResult.h:116
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::StopActivityStreamResult::StopActivityStreamResult
StopActivityStreamResult()
Aws::RDS::Model::StopActivityStreamResult::operator=
StopActivityStreamResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::RDS::Model::StopActivityStreamResult::GetKinesisStreamName
const Aws::String & GetKinesisStreamName() const
Definition: StopActivityStreamResult.h:98
Aws::RDS::Model::StopActivityStreamResult::WithKmsKeyId
StopActivityStreamResult & WithKmsKeyId(Aws::String &&value)
Definition: StopActivityStreamResult.h:83
ActivityStreamStatus.h
Aws::RDS::Model::StopActivityStreamResult::WithResponseMetadata
StopActivityStreamResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: StopActivityStreamResult.h:173
Aws::RDS::Model::StopActivityStreamResult::SetStatus
void SetStatus(const ActivityStreamStatus &value)
Definition: StopActivityStreamResult.h:145
Aws::RDS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::RDS::Model::StopActivityStreamResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: StopActivityStreamResult.h:164
Aws::RDS::Model::StopActivityStreamResult::SetStatus
void SetStatus(ActivityStreamStatus &&value)
Definition: StopActivityStreamResult.h:150
Aws::RDS::Model::StopActivityStreamResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: StopActivityStreamResult.h:167
RDS_EXPORTS.h
Aws::RDS::Model::StopActivityStreamResult::WithKinesisStreamName
StopActivityStreamResult & WithKinesisStreamName(const Aws::String &value)
Definition: StopActivityStreamResult.h:122
Aws::RDS::Model::StopActivityStreamResult
Definition: StopActivityStreamResult.h:30
Aws::RDS::Model::StopActivityStreamResult::GetStatus
const ActivityStreamStatus & GetStatus() const
Definition: StopActivityStreamResult.h:140
Aws::RDS::Model::StopActivityStreamResult::WithResponseMetadata
StopActivityStreamResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: StopActivityStreamResult.h:176
AWSString.h
Aws::RDS::Model::StopActivityStreamResult::SetKmsKeyId
void SetKmsKeyId(const Aws::String &value)
Definition: StopActivityStreamResult.h:51
Aws::RDS::Model::ActivityStreamStatus
ActivityStreamStatus
Definition: ActivityStreamStatus.h:17
Aws::RDS::Model::StopActivityStreamResult::WithStatus
StopActivityStreamResult & WithStatus(const ActivityStreamStatus &value)
Definition: StopActivityStreamResult.h:155
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::StopActivityStreamResult::WithKinesisStreamName
StopActivityStreamResult & WithKinesisStreamName(const char *value)
Definition: StopActivityStreamResult.h:134
Aws::RDS::Model::StopActivityStreamResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: StopActivityStreamResult.h:170
Aws
Definition: AccessManagementClient.h:15
ResponseMetadata.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::StopActivityStreamResult::WithKmsKeyId
StopActivityStreamResult & WithKmsKeyId(const Aws::String &value)
Definition: StopActivityStreamResult.h:75
Aws::RDS::Model::StopActivityStreamResult::StopActivityStreamResult
StopActivityStreamResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::RDS::Model::StopActivityStreamResult::WithKmsKeyId
StopActivityStreamResult & WithKmsKeyId(const char *value)
Definition: StopActivityStreamResult.h:91
Aws::RDS::Model::StopActivityStreamResult::WithKinesisStreamName
StopActivityStreamResult & WithKinesisStreamName(Aws::String &&value)
Definition: StopActivityStreamResult.h:128