/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace StorageGateway { namespace Model { /** *

DescribeTapeArchivesInput

See Also:

AWS * API Reference

*/ class DescribeTapeArchivesRequest : public StorageGatewayRequest { public: AWS_STORAGEGATEWAY_API DescribeTapeArchivesRequest(); // 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 "DescribeTapeArchives"; } AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override; AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Specifies one or more unique Amazon Resource Names (ARNs) that represent the * virtual tapes you want to describe.

*/ inline const Aws::Vector& GetTapeARNs() const{ return m_tapeARNs; } /** *

Specifies one or more unique Amazon Resource Names (ARNs) that represent the * virtual tapes you want to describe.

*/ inline bool TapeARNsHasBeenSet() const { return m_tapeARNsHasBeenSet; } /** *

Specifies one or more unique Amazon Resource Names (ARNs) that represent the * virtual tapes you want to describe.

*/ inline void SetTapeARNs(const Aws::Vector& value) { m_tapeARNsHasBeenSet = true; m_tapeARNs = value; } /** *

Specifies one or more unique Amazon Resource Names (ARNs) that represent the * virtual tapes you want to describe.

*/ inline void SetTapeARNs(Aws::Vector&& value) { m_tapeARNsHasBeenSet = true; m_tapeARNs = std::move(value); } /** *

Specifies one or more unique Amazon Resource Names (ARNs) that represent the * virtual tapes you want to describe.

*/ inline DescribeTapeArchivesRequest& WithTapeARNs(const Aws::Vector& value) { SetTapeARNs(value); return *this;} /** *

Specifies one or more unique Amazon Resource Names (ARNs) that represent the * virtual tapes you want to describe.

*/ inline DescribeTapeArchivesRequest& WithTapeARNs(Aws::Vector&& value) { SetTapeARNs(std::move(value)); return *this;} /** *

Specifies one or more unique Amazon Resource Names (ARNs) that represent the * virtual tapes you want to describe.

*/ inline DescribeTapeArchivesRequest& AddTapeARNs(const Aws::String& value) { m_tapeARNsHasBeenSet = true; m_tapeARNs.push_back(value); return *this; } /** *

Specifies one or more unique Amazon Resource Names (ARNs) that represent the * virtual tapes you want to describe.

*/ inline DescribeTapeArchivesRequest& AddTapeARNs(Aws::String&& value) { m_tapeARNsHasBeenSet = true; m_tapeARNs.push_back(std::move(value)); return *this; } /** *

Specifies one or more unique Amazon Resource Names (ARNs) that represent the * virtual tapes you want to describe.

*/ inline DescribeTapeArchivesRequest& AddTapeARNs(const char* value) { m_tapeARNsHasBeenSet = true; m_tapeARNs.push_back(value); return *this; } /** *

An opaque string that indicates the position at which to begin describing * virtual tapes.

*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *

An opaque string that indicates the position at which to begin describing * virtual tapes.

*/ inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; } /** *

An opaque string that indicates the position at which to begin describing * virtual tapes.

*/ inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; } /** *

An opaque string that indicates the position at which to begin describing * virtual tapes.

*/ inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); } /** *

An opaque string that indicates the position at which to begin describing * virtual tapes.

*/ inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); } /** *

An opaque string that indicates the position at which to begin describing * virtual tapes.

*/ inline DescribeTapeArchivesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

An opaque string that indicates the position at which to begin describing * virtual tapes.

*/ inline DescribeTapeArchivesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *

An opaque string that indicates the position at which to begin describing * virtual tapes.

*/ inline DescribeTapeArchivesRequest& WithMarker(const char* value) { SetMarker(value); return *this;} /** *

Specifies that the number of virtual tapes described be limited to the * specified number.

*/ inline int GetLimit() const{ return m_limit; } /** *

Specifies that the number of virtual tapes described be limited to the * specified number.

*/ inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; } /** *

Specifies that the number of virtual tapes described be limited to the * specified number.

*/ inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; } /** *

Specifies that the number of virtual tapes described be limited to the * specified number.

*/ inline DescribeTapeArchivesRequest& WithLimit(int value) { SetLimit(value); return *this;} private: Aws::Vector m_tapeARNs; bool m_tapeARNsHasBeenSet = false; Aws::String m_marker; bool m_markerHasBeenSet = false; int m_limit; bool m_limitHasBeenSet = false; }; } // namespace Model } // namespace StorageGateway } // namespace Aws