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

Returns a token that you can use to call ListProfiles again and * receive additional results, if there are any.

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

Returns a token that you can use to call ListProfiles again and * receive additional results, if there are any.

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

Returns a token that you can use to call ListProfiles again and * receive additional results, if there are any.

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

Returns a token that you can use to call ListProfiles again and * receive additional results, if there are any.

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

Returns a token that you can use to call ListProfiles again and * receive additional results, if there are any.

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

Returns a token that you can use to call ListProfiles again and * receive additional results, if there are any.

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

Returns a token that you can use to call ListProfiles again and * receive additional results, if there are any.

*/ inline ListProfilesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

Returns an array, where each item contains the details of a profile.

*/ inline const Aws::Vector& GetProfiles() const{ return m_profiles; } /** *

Returns an array, where each item contains the details of a profile.

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

Returns an array, where each item contains the details of a profile.

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

Returns an array, where each item contains the details of a profile.

*/ inline ListProfilesResult& WithProfiles(const Aws::Vector& value) { SetProfiles(value); return *this;} /** *

Returns an array, where each item contains the details of a profile.

*/ inline ListProfilesResult& WithProfiles(Aws::Vector&& value) { SetProfiles(std::move(value)); return *this;} /** *

Returns an array, where each item contains the details of a profile.

*/ inline ListProfilesResult& AddProfiles(const ListedProfile& value) { m_profiles.push_back(value); return *this; } /** *

Returns an array, where each item contains the details of a profile.

*/ inline ListProfilesResult& AddProfiles(ListedProfile&& value) { m_profiles.push_back(std::move(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 ListProfilesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListProfilesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListProfilesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextToken; Aws::Vector m_profiles; Aws::String m_requestId; }; } // namespace Model } // namespace Transfer } // namespace Aws