This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-qldb/include/aws/qldb/model/DescribeJournalKinesisStreamRequest.h

128 lines
4.0 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/qldb/QLDB_EXPORTS.h>
#include <aws/qldb/QLDBRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace QLDB
{
namespace Model
{
/**
*/
class AWS_QLDB_API DescribeJournalKinesisStreamRequest : public QLDBRequest
{
public:
DescribeJournalKinesisStreamRequest();
// 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 "DescribeJournalKinesisStream"; }
Aws::String SerializePayload() const override;
/**
* <p>The name of the ledger.</p>
*/
inline const Aws::String& GetLedgerName() const{ return m_ledgerName; }
/**
* <p>The name of the ledger.</p>
*/
inline bool LedgerNameHasBeenSet() const { return m_ledgerNameHasBeenSet; }
/**
* <p>The name of the ledger.</p>
*/
inline void SetLedgerName(const Aws::String& value) { m_ledgerNameHasBeenSet = true; m_ledgerName = value; }
/**
* <p>The name of the ledger.</p>
*/
inline void SetLedgerName(Aws::String&& value) { m_ledgerNameHasBeenSet = true; m_ledgerName = std::move(value); }
/**
* <p>The name of the ledger.</p>
*/
inline void SetLedgerName(const char* value) { m_ledgerNameHasBeenSet = true; m_ledgerName.assign(value); }
/**
* <p>The name of the ledger.</p>
*/
inline DescribeJournalKinesisStreamRequest& WithLedgerName(const Aws::String& value) { SetLedgerName(value); return *this;}
/**
* <p>The name of the ledger.</p>
*/
inline DescribeJournalKinesisStreamRequest& WithLedgerName(Aws::String&& value) { SetLedgerName(std::move(value)); return *this;}
/**
* <p>The name of the ledger.</p>
*/
inline DescribeJournalKinesisStreamRequest& WithLedgerName(const char* value) { SetLedgerName(value); return *this;}
/**
* <p>The unique ID that QLDB assigns to each QLDB journal stream.</p>
*/
inline const Aws::String& GetStreamId() const{ return m_streamId; }
/**
* <p>The unique ID that QLDB assigns to each QLDB journal stream.</p>
*/
inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
/**
* <p>The unique ID that QLDB assigns to each QLDB journal stream.</p>
*/
inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; }
/**
* <p>The unique ID that QLDB assigns to each QLDB journal stream.</p>
*/
inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); }
/**
* <p>The unique ID that QLDB assigns to each QLDB journal stream.</p>
*/
inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); }
/**
* <p>The unique ID that QLDB assigns to each QLDB journal stream.</p>
*/
inline DescribeJournalKinesisStreamRequest& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;}
/**
* <p>The unique ID that QLDB assigns to each QLDB journal stream.</p>
*/
inline DescribeJournalKinesisStreamRequest& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;}
/**
* <p>The unique ID that QLDB assigns to each QLDB journal stream.</p>
*/
inline DescribeJournalKinesisStreamRequest& WithStreamId(const char* value) { SetStreamId(value); return *this;}
private:
Aws::String m_ledgerName;
bool m_ledgerNameHasBeenSet;
Aws::String m_streamId;
bool m_streamIdHasBeenSet;
};
} // namespace Model
} // namespace QLDB
} // namespace Aws