/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the inputs for the DescribeSnapshots operation.See
* Also:
AWS
* API Reference
The identifier of the directory for which to retrieve snapshot * information.
*/ inline const Aws::String& GetDirectoryId() const{ return m_directoryId; } /** *The identifier of the directory for which to retrieve snapshot * information.
*/ inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; } /** *The identifier of the directory for which to retrieve snapshot * information.
*/ inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; } /** *The identifier of the directory for which to retrieve snapshot * information.
*/ inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); } /** *The identifier of the directory for which to retrieve snapshot * information.
*/ inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); } /** *The identifier of the directory for which to retrieve snapshot * information.
*/ inline DescribeSnapshotsRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;} /** *The identifier of the directory for which to retrieve snapshot * information.
*/ inline DescribeSnapshotsRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;} /** *The identifier of the directory for which to retrieve snapshot * information.
*/ inline DescribeSnapshotsRequest& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;} /** *A list of identifiers of the snapshots to obtain the information for. If this * member is null or empty, all snapshots are returned using the Limit and * NextToken members.
*/ inline const Aws::VectorA list of identifiers of the snapshots to obtain the information for. If this * member is null or empty, all snapshots are returned using the Limit and * NextToken members.
*/ inline bool SnapshotIdsHasBeenSet() const { return m_snapshotIdsHasBeenSet; } /** *A list of identifiers of the snapshots to obtain the information for. If this * member is null or empty, all snapshots are returned using the Limit and * NextToken members.
*/ inline void SetSnapshotIds(const Aws::VectorA list of identifiers of the snapshots to obtain the information for. If this * member is null or empty, all snapshots are returned using the Limit and * NextToken members.
*/ inline void SetSnapshotIds(Aws::VectorA list of identifiers of the snapshots to obtain the information for. If this * member is null or empty, all snapshots are returned using the Limit and * NextToken members.
*/ inline DescribeSnapshotsRequest& WithSnapshotIds(const Aws::VectorA list of identifiers of the snapshots to obtain the information for. If this * member is null or empty, all snapshots are returned using the Limit and * NextToken members.
*/ inline DescribeSnapshotsRequest& WithSnapshotIds(Aws::VectorA list of identifiers of the snapshots to obtain the information for. If this * member is null or empty, all snapshots are returned using the Limit and * NextToken members.
*/ inline DescribeSnapshotsRequest& AddSnapshotIds(const Aws::String& value) { m_snapshotIdsHasBeenSet = true; m_snapshotIds.push_back(value); return *this; } /** *A list of identifiers of the snapshots to obtain the information for. If this * member is null or empty, all snapshots are returned using the Limit and * NextToken members.
*/ inline DescribeSnapshotsRequest& AddSnapshotIds(Aws::String&& value) { m_snapshotIdsHasBeenSet = true; m_snapshotIds.push_back(std::move(value)); return *this; } /** *A list of identifiers of the snapshots to obtain the information for. If this * member is null or empty, all snapshots are returned using the Limit and * NextToken members.
*/ inline DescribeSnapshotsRequest& AddSnapshotIds(const char* value) { m_snapshotIdsHasBeenSet = true; m_snapshotIds.push_back(value); return *this; } /** *The DescribeSnapshotsResult.NextToken value from a previous call to * DescribeSnapshots. Pass null if this is the first call.
*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *The DescribeSnapshotsResult.NextToken value from a previous call to * DescribeSnapshots. Pass null if this is the first call.
*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *The DescribeSnapshotsResult.NextToken value from a previous call to * DescribeSnapshots. Pass null if this is the first call.
*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *The DescribeSnapshotsResult.NextToken value from a previous call to * DescribeSnapshots. Pass null if this is the first call.
*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *The DescribeSnapshotsResult.NextToken value from a previous call to * DescribeSnapshots. Pass null if this is the first call.
*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *The DescribeSnapshotsResult.NextToken value from a previous call to * DescribeSnapshots. Pass null if this is the first call.
*/ inline DescribeSnapshotsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *The DescribeSnapshotsResult.NextToken value from a previous call to * DescribeSnapshots. Pass null if this is the first call.
*/ inline DescribeSnapshotsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *The DescribeSnapshotsResult.NextToken value from a previous call to * DescribeSnapshots. Pass null if this is the first call.
*/ inline DescribeSnapshotsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *The maximum number of objects to return.
*/ inline int GetLimit() const{ return m_limit; } /** *The maximum number of objects to return.
*/ inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; } /** *The maximum number of objects to return.
*/ inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; } /** *The maximum number of objects to return.
*/ inline DescribeSnapshotsRequest& WithLimit(int value) { SetLimit(value); return *this;} private: Aws::String m_directoryId; bool m_directoryIdHasBeenSet = false; Aws::Vector