/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies a request to start a new session.See Also:
AWS
* API Reference
The name of the ledger to start a new session against.
*/ inline const Aws::String& GetLedgerName() const{ return m_ledgerName; } /** *The name of the ledger to start a new session against.
*/ inline bool LedgerNameHasBeenSet() const { return m_ledgerNameHasBeenSet; } /** *The name of the ledger to start a new session against.
*/ inline void SetLedgerName(const Aws::String& value) { m_ledgerNameHasBeenSet = true; m_ledgerName = value; } /** *The name of the ledger to start a new session against.
*/ inline void SetLedgerName(Aws::String&& value) { m_ledgerNameHasBeenSet = true; m_ledgerName = std::move(value); } /** *The name of the ledger to start a new session against.
*/ inline void SetLedgerName(const char* value) { m_ledgerNameHasBeenSet = true; m_ledgerName.assign(value); } /** *The name of the ledger to start a new session against.
*/ inline StartSessionRequest& WithLedgerName(const Aws::String& value) { SetLedgerName(value); return *this;} /** *The name of the ledger to start a new session against.
*/ inline StartSessionRequest& WithLedgerName(Aws::String&& value) { SetLedgerName(std::move(value)); return *this;} /** *The name of the ledger to start a new session against.
*/ inline StartSessionRequest& WithLedgerName(const char* value) { SetLedgerName(value); return *this;} private: Aws::String m_ledgerName; bool m_ledgerNameHasBeenSet = false; }; } // namespace Model } // namespace QLDBSession } // namespace Aws