/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace StorageGateway { namespace Model { /** *

CreateTapeOutput

See Also:

AWS * API Reference

*/ class CreateTapesResult { public: AWS_STORAGEGATEWAY_API CreateTapesResult(); AWS_STORAGEGATEWAY_API CreateTapesResult(const Aws::AmazonWebServiceResult& result); AWS_STORAGEGATEWAY_API CreateTapesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of unique Amazon Resource Names (ARNs) that represents the virtual * tapes that were created.

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

A list of unique Amazon Resource Names (ARNs) that represents the virtual * tapes that were created.

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

A list of unique Amazon Resource Names (ARNs) that represents the virtual * tapes that were created.

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

A list of unique Amazon Resource Names (ARNs) that represents the virtual * tapes that were created.

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

A list of unique Amazon Resource Names (ARNs) that represents the virtual * tapes that were created.

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

A list of unique Amazon Resource Names (ARNs) that represents the virtual * tapes that were created.

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

A list of unique Amazon Resource Names (ARNs) that represents the virtual * tapes that were created.

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

A list of unique Amazon Resource Names (ARNs) that represents the virtual * tapes that were created.

*/ inline CreateTapesResult& AddTapeARNs(const char* value) { m_tapeARNs.push_back(value); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateTapesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateTapesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateTapesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_tapeARNs; Aws::String m_requestId; }; } // namespace Model } // namespace StorageGateway } // namespace Aws