/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace DataSync { namespace Model { class ListStorageSystemsResult { public: AWS_DATASYNC_API ListStorageSystemsResult(); AWS_DATASYNC_API ListStorageSystemsResult(const Aws::AmazonWebServiceResult& result); AWS_DATASYNC_API ListStorageSystemsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Names ARNs) of the on-premises storage systems that * you're using with DataSync Discovery.

*/ inline const Aws::Vector& GetStorageSystems() const{ return m_storageSystems; } /** *

The Amazon Resource Names ARNs) of the on-premises storage systems that * you're using with DataSync Discovery.

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

The Amazon Resource Names ARNs) of the on-premises storage systems that * you're using with DataSync Discovery.

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

The Amazon Resource Names ARNs) of the on-premises storage systems that * you're using with DataSync Discovery.

*/ inline ListStorageSystemsResult& WithStorageSystems(const Aws::Vector& value) { SetStorageSystems(value); return *this;} /** *

The Amazon Resource Names ARNs) of the on-premises storage systems that * you're using with DataSync Discovery.

*/ inline ListStorageSystemsResult& WithStorageSystems(Aws::Vector&& value) { SetStorageSystems(std::move(value)); return *this;} /** *

The Amazon Resource Names ARNs) of the on-premises storage systems that * you're using with DataSync Discovery.

*/ inline ListStorageSystemsResult& AddStorageSystems(const StorageSystemListEntry& value) { m_storageSystems.push_back(value); return *this; } /** *

The Amazon Resource Names ARNs) of the on-premises storage systems that * you're using with DataSync Discovery.

*/ inline ListStorageSystemsResult& AddStorageSystems(StorageSystemListEntry&& value) { m_storageSystems.push_back(std::move(value)); return *this; } /** *

The opaque string that indicates the position to begin the next list of * results in the response.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The opaque string that indicates the position to begin the next list of * results in the response.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

The opaque string that indicates the position to begin the next list of * results in the response.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

The opaque string that indicates the position to begin the next list of * results in the response.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The opaque string that indicates the position to begin the next list of * results in the response.

*/ inline ListStorageSystemsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The opaque string that indicates the position to begin the next list of * results in the response.

*/ inline ListStorageSystemsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The opaque string that indicates the position to begin the next list of * results in the response.

*/ inline ListStorageSystemsResult& WithNextToken(const char* value) { SetNextToken(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 ListStorageSystemsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListStorageSystemsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListStorageSystemsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_storageSystems; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace DataSync } // namespace Aws