/** * 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 ListDiscoveryJobsResult { public: AWS_DATASYNC_API ListDiscoveryJobsResult(); AWS_DATASYNC_API ListDiscoveryJobsResult(const Aws::AmazonWebServiceResult& result); AWS_DATASYNC_API ListDiscoveryJobsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The discovery jobs that you've run.

*/ inline const Aws::Vector& GetDiscoveryJobs() const{ return m_discoveryJobs; } /** *

The discovery jobs that you've run.

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

The discovery jobs that you've run.

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

The discovery jobs that you've run.

*/ inline ListDiscoveryJobsResult& WithDiscoveryJobs(const Aws::Vector& value) { SetDiscoveryJobs(value); return *this;} /** *

The discovery jobs that you've run.

*/ inline ListDiscoveryJobsResult& WithDiscoveryJobs(Aws::Vector&& value) { SetDiscoveryJobs(std::move(value)); return *this;} /** *

The discovery jobs that you've run.

*/ inline ListDiscoveryJobsResult& AddDiscoveryJobs(const DiscoveryJobListEntry& value) { m_discoveryJobs.push_back(value); return *this; } /** *

The discovery jobs that you've run.

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