/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace RDS { namespace Model { class AWS_RDS_API StopActivityStreamResult { public: StopActivityStreamResult(); StopActivityStreamResult(const Aws::AmazonWebServiceResult& result); StopActivityStreamResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The AWS KMS key identifier used for encrypting messages in the database * activity stream.

*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** *

The AWS KMS key identifier used for encrypting messages in the database * activity stream.

*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyId = value; } /** *

The AWS KMS key identifier used for encrypting messages in the database * activity stream.

*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyId = std::move(value); } /** *

The AWS KMS key identifier used for encrypting messages in the database * activity stream.

*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); } /** *

The AWS KMS key identifier used for encrypting messages in the database * activity stream.

*/ inline StopActivityStreamResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** *

The AWS KMS key identifier used for encrypting messages in the database * activity stream.

*/ inline StopActivityStreamResult& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** *

The AWS KMS key identifier used for encrypting messages in the database * activity stream.

*/ inline StopActivityStreamResult& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} /** *

The name of the Amazon Kinesis data stream used for the database activity * stream.

*/ inline const Aws::String& GetKinesisStreamName() const{ return m_kinesisStreamName; } /** *

The name of the Amazon Kinesis data stream used for the database activity * stream.

*/ inline void SetKinesisStreamName(const Aws::String& value) { m_kinesisStreamName = value; } /** *

The name of the Amazon Kinesis data stream used for the database activity * stream.

*/ inline void SetKinesisStreamName(Aws::String&& value) { m_kinesisStreamName = std::move(value); } /** *

The name of the Amazon Kinesis data stream used for the database activity * stream.

*/ inline void SetKinesisStreamName(const char* value) { m_kinesisStreamName.assign(value); } /** *

The name of the Amazon Kinesis data stream used for the database activity * stream.

*/ inline StopActivityStreamResult& WithKinesisStreamName(const Aws::String& value) { SetKinesisStreamName(value); return *this;} /** *

The name of the Amazon Kinesis data stream used for the database activity * stream.

*/ inline StopActivityStreamResult& WithKinesisStreamName(Aws::String&& value) { SetKinesisStreamName(std::move(value)); return *this;} /** *

The name of the Amazon Kinesis data stream used for the database activity * stream.

*/ inline StopActivityStreamResult& WithKinesisStreamName(const char* value) { SetKinesisStreamName(value); return *this;} /** *

The status of the database activity stream.

*/ inline const ActivityStreamStatus& GetStatus() const{ return m_status; } /** *

The status of the database activity stream.

*/ inline void SetStatus(const ActivityStreamStatus& value) { m_status = value; } /** *

The status of the database activity stream.

*/ inline void SetStatus(ActivityStreamStatus&& value) { m_status = std::move(value); } /** *

The status of the database activity stream.

*/ inline StopActivityStreamResult& WithStatus(const ActivityStreamStatus& value) { SetStatus(value); return *this;} /** *

The status of the database activity stream.

*/ inline StopActivityStreamResult& WithStatus(ActivityStreamStatus&& value) { SetStatus(std::move(value)); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline StopActivityStreamResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline StopActivityStreamResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_kmsKeyId; Aws::String m_kinesisStreamName; ActivityStreamStatus m_status; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace RDS } // namespace Aws