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

A list of the available network profiles.

*/ inline const Aws::Vector& GetNetworkProfiles() const{ return m_networkProfiles; } /** *

A list of the available network profiles.

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

A list of the available network profiles.

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

A list of the available network profiles.

*/ inline ListNetworkProfilesResult& WithNetworkProfiles(const Aws::Vector& value) { SetNetworkProfiles(value); return *this;} /** *

A list of the available network profiles.

*/ inline ListNetworkProfilesResult& WithNetworkProfiles(Aws::Vector&& value) { SetNetworkProfiles(std::move(value)); return *this;} /** *

A list of the available network profiles.

*/ inline ListNetworkProfilesResult& AddNetworkProfiles(const NetworkProfile& value) { m_networkProfiles.push_back(value); return *this; } /** *

A list of the available network profiles.

*/ inline ListNetworkProfilesResult& AddNetworkProfiles(NetworkProfile&& value) { m_networkProfiles.push_back(std::move(value)); return *this; } /** *

An identifier that was returned from the previous call to this operation, * which can be used to return the next set of items in the list.

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

An identifier that was returned from the previous call to this operation, * which can be used to return the next set of items in the list.

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

An identifier that was returned from the previous call to this operation, * which can be used to return the next set of items in the list.

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

An identifier that was returned from the previous call to this operation, * which can be used to return the next set of items in the list.

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

An identifier that was returned from the previous call to this operation, * which can be used to return the next set of items in the list.

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

An identifier that was returned from the previous call to this operation, * which can be used to return the next set of items in the list.

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

An identifier that was returned from the previous call to this operation, * which can be used to return the next set of items in the list.

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