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

Returns the next token, which you can use to list the next certificate.

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

Returns the next token, which you can use to list the next certificate.

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

Returns the next token, which you can use to list the next certificate.

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

Returns the next token, which you can use to list the next certificate.

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

Returns the next token, which you can use to list the next certificate.

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

Returns the next token, which you can use to list the next certificate.

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

Returns the next token, which you can use to list the next certificate.

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

Returns an array of the certificates that are specified in the * ListCertificates call.

*/ inline const Aws::Vector& GetCertificates() const{ return m_certificates; } /** *

Returns an array of the certificates that are specified in the * ListCertificates call.

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

Returns an array of the certificates that are specified in the * ListCertificates call.

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

Returns an array of the certificates that are specified in the * ListCertificates call.

*/ inline ListCertificatesResult& WithCertificates(const Aws::Vector& value) { SetCertificates(value); return *this;} /** *

Returns an array of the certificates that are specified in the * ListCertificates call.

*/ inline ListCertificatesResult& WithCertificates(Aws::Vector&& value) { SetCertificates(std::move(value)); return *this;} /** *

Returns an array of the certificates that are specified in the * ListCertificates call.

*/ inline ListCertificatesResult& AddCertificates(const ListedCertificate& value) { m_certificates.push_back(value); return *this; } /** *

Returns an array of the certificates that are specified in the * ListCertificates call.

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