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

The UUID (Base62-encoded text) of the canceled QLDB journal stream.

*/ inline const Aws::String& GetStreamId() const{ return m_streamId; } /** *

The UUID (Base62-encoded text) of the canceled QLDB journal stream.

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

The UUID (Base62-encoded text) of the canceled QLDB journal stream.

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

The UUID (Base62-encoded text) of the canceled QLDB journal stream.

*/ inline void SetStreamId(const char* value) { m_streamId.assign(value); } /** *

The UUID (Base62-encoded text) of the canceled QLDB journal stream.

*/ inline CancelJournalKinesisStreamResult& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;} /** *

The UUID (Base62-encoded text) of the canceled QLDB journal stream.

*/ inline CancelJournalKinesisStreamResult& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;} /** *

The UUID (Base62-encoded text) of the canceled QLDB journal stream.

*/ inline CancelJournalKinesisStreamResult& WithStreamId(const char* value) { SetStreamId(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CancelJournalKinesisStreamResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CancelJournalKinesisStreamResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CancelJournalKinesisStreamResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_streamId; Aws::String m_requestId; }; } // namespace Model } // namespace QLDB } // namespace Aws