/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace QLDB { namespace Model { /** */ class CancelJournalKinesisStreamRequest : public QLDBRequest { public: AWS_QLDB_API CancelJournalKinesisStreamRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CancelJournalKinesisStream"; } AWS_QLDB_API Aws::String SerializePayload() const override; /** *

The name of the ledger.

*/ inline const Aws::String& GetLedgerName() const{ return m_ledgerName; } /** *

The name of the ledger.

*/ inline bool LedgerNameHasBeenSet() const { return m_ledgerNameHasBeenSet; } /** *

The name of the ledger.

*/ inline void SetLedgerName(const Aws::String& value) { m_ledgerNameHasBeenSet = true; m_ledgerName = value; } /** *

The name of the ledger.

*/ inline void SetLedgerName(Aws::String&& value) { m_ledgerNameHasBeenSet = true; m_ledgerName = std::move(value); } /** *

The name of the ledger.

*/ inline void SetLedgerName(const char* value) { m_ledgerNameHasBeenSet = true; m_ledgerName.assign(value); } /** *

The name of the ledger.

*/ inline CancelJournalKinesisStreamRequest& WithLedgerName(const Aws::String& value) { SetLedgerName(value); return *this;} /** *

The name of the ledger.

*/ inline CancelJournalKinesisStreamRequest& WithLedgerName(Aws::String&& value) { SetLedgerName(std::move(value)); return *this;} /** *

The name of the ledger.

*/ inline CancelJournalKinesisStreamRequest& WithLedgerName(const char* value) { SetLedgerName(value); return *this;} /** *

The UUID (represented in Base62-encoded text) of the QLDB journal stream to * be canceled.

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

The UUID (represented in Base62-encoded text) of the QLDB journal stream to * be canceled.

*/ inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; } /** *

The UUID (represented in Base62-encoded text) of the QLDB journal stream to * be canceled.

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

The UUID (represented in Base62-encoded text) of the QLDB journal stream to * be canceled.

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

The UUID (represented in Base62-encoded text) of the QLDB journal stream to * be canceled.

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

The UUID (represented in Base62-encoded text) of the QLDB journal stream to * be canceled.

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

The UUID (represented in Base62-encoded text) of the QLDB journal stream to * be canceled.

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

The UUID (represented in Base62-encoded text) of the QLDB journal stream to * be canceled.

*/ inline CancelJournalKinesisStreamRequest& WithStreamId(const char* value) { SetStreamId(value); return *this;} private: Aws::String m_ledgerName; bool m_ledgerNameHasBeenSet = false; Aws::String m_streamId; bool m_streamIdHasBeenSet = false; }; } // namespace Model } // namespace QLDB } // namespace Aws