134 lines
4.2 KiB
C++
134 lines
4.2 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/qldb-session/QLDBSession_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace QLDBSession
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>Specifies the details of the page to be fetched.</p><p><h3>See Also:</h3>
|
|
* <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/FetchPageRequest">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_QLDBSESSION_API FetchPageRequest
|
|
{
|
|
public:
|
|
FetchPageRequest();
|
|
FetchPageRequest(Aws::Utils::Json::JsonView jsonValue);
|
|
FetchPageRequest& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>Specifies the transaction ID of the page to be fetched.</p>
|
|
*/
|
|
inline const Aws::String& GetTransactionId() const{ return m_transactionId; }
|
|
|
|
/**
|
|
* <p>Specifies the transaction ID of the page to be fetched.</p>
|
|
*/
|
|
inline bool TransactionIdHasBeenSet() const { return m_transactionIdHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Specifies the transaction ID of the page to be fetched.</p>
|
|
*/
|
|
inline void SetTransactionId(const Aws::String& value) { m_transactionIdHasBeenSet = true; m_transactionId = value; }
|
|
|
|
/**
|
|
* <p>Specifies the transaction ID of the page to be fetched.</p>
|
|
*/
|
|
inline void SetTransactionId(Aws::String&& value) { m_transactionIdHasBeenSet = true; m_transactionId = std::move(value); }
|
|
|
|
/**
|
|
* <p>Specifies the transaction ID of the page to be fetched.</p>
|
|
*/
|
|
inline void SetTransactionId(const char* value) { m_transactionIdHasBeenSet = true; m_transactionId.assign(value); }
|
|
|
|
/**
|
|
* <p>Specifies the transaction ID of the page to be fetched.</p>
|
|
*/
|
|
inline FetchPageRequest& WithTransactionId(const Aws::String& value) { SetTransactionId(value); return *this;}
|
|
|
|
/**
|
|
* <p>Specifies the transaction ID of the page to be fetched.</p>
|
|
*/
|
|
inline FetchPageRequest& WithTransactionId(Aws::String&& value) { SetTransactionId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>Specifies the transaction ID of the page to be fetched.</p>
|
|
*/
|
|
inline FetchPageRequest& WithTransactionId(const char* value) { SetTransactionId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>Specifies the next page token of the page to be fetched.</p>
|
|
*/
|
|
inline const Aws::String& GetNextPageToken() const{ return m_nextPageToken; }
|
|
|
|
/**
|
|
* <p>Specifies the next page token of the page to be fetched.</p>
|
|
*/
|
|
inline bool NextPageTokenHasBeenSet() const { return m_nextPageTokenHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Specifies the next page token of the page to be fetched.</p>
|
|
*/
|
|
inline void SetNextPageToken(const Aws::String& value) { m_nextPageTokenHasBeenSet = true; m_nextPageToken = value; }
|
|
|
|
/**
|
|
* <p>Specifies the next page token of the page to be fetched.</p>
|
|
*/
|
|
inline void SetNextPageToken(Aws::String&& value) { m_nextPageTokenHasBeenSet = true; m_nextPageToken = std::move(value); }
|
|
|
|
/**
|
|
* <p>Specifies the next page token of the page to be fetched.</p>
|
|
*/
|
|
inline void SetNextPageToken(const char* value) { m_nextPageTokenHasBeenSet = true; m_nextPageToken.assign(value); }
|
|
|
|
/**
|
|
* <p>Specifies the next page token of the page to be fetched.</p>
|
|
*/
|
|
inline FetchPageRequest& WithNextPageToken(const Aws::String& value) { SetNextPageToken(value); return *this;}
|
|
|
|
/**
|
|
* <p>Specifies the next page token of the page to be fetched.</p>
|
|
*/
|
|
inline FetchPageRequest& WithNextPageToken(Aws::String&& value) { SetNextPageToken(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>Specifies the next page token of the page to be fetched.</p>
|
|
*/
|
|
inline FetchPageRequest& WithNextPageToken(const char* value) { SetNextPageToken(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_transactionId;
|
|
bool m_transactionIdHasBeenSet;
|
|
|
|
Aws::String m_nextPageToken;
|
|
bool m_nextPageTokenHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace QLDBSession
|
|
} // namespace Aws
|