/** * 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 GroundStation { namespace Model { /** *

See Also:

AWS * API Reference

*/ class ListContactsResult { public: AWS_GROUNDSTATION_API ListContactsResult(); AWS_GROUNDSTATION_API ListContactsResult(const Aws::AmazonWebServiceResult& result); AWS_GROUNDSTATION_API ListContactsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

List of contacts.

*/ inline const Aws::Vector& GetContactList() const{ return m_contactList; } /** *

List of contacts.

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

List of contacts.

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

List of contacts.

*/ inline ListContactsResult& WithContactList(const Aws::Vector& value) { SetContactList(value); return *this;} /** *

List of contacts.

*/ inline ListContactsResult& WithContactList(Aws::Vector&& value) { SetContactList(std::move(value)); return *this;} /** *

List of contacts.

*/ inline ListContactsResult& AddContactList(const ContactData& value) { m_contactList.push_back(value); return *this; } /** *

List of contacts.

*/ inline ListContactsResult& AddContactList(ContactData&& value) { m_contactList.push_back(std::move(value)); return *this; } /** *

Next token returned in the response of a previous ListContacts * call. Used to get the next page of results.

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

Next token returned in the response of a previous ListContacts * call. Used to get the next page of results.

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

Next token returned in the response of a previous ListContacts * call. Used to get the next page of results.

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

Next token returned in the response of a previous ListContacts * call. Used to get the next page of results.

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

Next token returned in the response of a previous ListContacts * call. Used to get the next page of results.

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

Next token returned in the response of a previous ListContacts * call. Used to get the next page of results.

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

Next token returned in the response of a previous ListContacts * call. Used to get the next page of results.

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