/** * 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 Schemas { namespace Model { class ListDiscoverersResult { public: AWS_SCHEMAS_API ListDiscoverersResult(); AWS_SCHEMAS_API ListDiscoverersResult(const Aws::AmazonWebServiceResult& result); AWS_SCHEMAS_API ListDiscoverersResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An array of DiscovererSummary information.

*/ inline const Aws::Vector& GetDiscoverers() const{ return m_discoverers; } /** *

An array of DiscovererSummary information.

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

An array of DiscovererSummary information.

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

An array of DiscovererSummary information.

*/ inline ListDiscoverersResult& WithDiscoverers(const Aws::Vector& value) { SetDiscoverers(value); return *this;} /** *

An array of DiscovererSummary information.

*/ inline ListDiscoverersResult& WithDiscoverers(Aws::Vector&& value) { SetDiscoverers(std::move(value)); return *this;} /** *

An array of DiscovererSummary information.

*/ inline ListDiscoverersResult& AddDiscoverers(const DiscovererSummary& value) { m_discoverers.push_back(value); return *this; } /** *

An array of DiscovererSummary information.

*/ inline ListDiscoverersResult& AddDiscoverers(DiscovererSummary&& value) { m_discoverers.push_back(std::move(value)); return *this; } /** *

The token that specifies the next page of results to return. To request the * first page, leave NextToken empty. The token will expire in 24 hours, and cannot * be shared with other accounts.

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

The token that specifies the next page of results to return. To request the * first page, leave NextToken empty. The token will expire in 24 hours, and cannot * be shared with other accounts.

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

The token that specifies the next page of results to return. To request the * first page, leave NextToken empty. The token will expire in 24 hours, and cannot * be shared with other accounts.

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

The token that specifies the next page of results to return. To request the * first page, leave NextToken empty. The token will expire in 24 hours, and cannot * be shared with other accounts.

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

The token that specifies the next page of results to return. To request the * first page, leave NextToken empty. The token will expire in 24 hours, and cannot * be shared with other accounts.

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

The token that specifies the next page of results to return. To request the * first page, leave NextToken empty. The token will expire in 24 hours, and cannot * be shared with other accounts.

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

The token that specifies the next page of results to return. To request the * first page, leave NextToken empty. The token will expire in 24 hours, and cannot * be shared with other accounts.

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