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

An object that describes certificates.

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

An object that describes certificates.

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

An object that describes certificates.

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

An object that describes certificates.

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

An object that describes certificates.

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

An object that describes certificates.

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

An object that describes certificates.

*/ inline GetCertificatesResult& AddCertificates(CertificateSummary&& value) { m_certificates.push_back(std::move(value)); return *this; } /** *

If NextPageToken is returned there are more results available. * The value of NextPageToken is a unique pagination token for each * page. Make the call again using the returned token to retrieve the next page. * Keep all other arguments unchanged.

*/ inline const Aws::String& GetNextPageToken() const{ return m_nextPageToken; } /** *

If NextPageToken is returned there are more results available. * The value of NextPageToken is a unique pagination token for each * page. Make the call again using the returned token to retrieve the next page. * Keep all other arguments unchanged.

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

If NextPageToken is returned there are more results available. * The value of NextPageToken is a unique pagination token for each * page. Make the call again using the returned token to retrieve the next page. * Keep all other arguments unchanged.

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

If NextPageToken is returned there are more results available. * The value of NextPageToken is a unique pagination token for each * page. Make the call again using the returned token to retrieve the next page. * Keep all other arguments unchanged.

*/ inline void SetNextPageToken(const char* value) { m_nextPageToken.assign(value); } /** *

If NextPageToken is returned there are more results available. * The value of NextPageToken is a unique pagination token for each * page. Make the call again using the returned token to retrieve the next page. * Keep all other arguments unchanged.

*/ inline GetCertificatesResult& WithNextPageToken(const Aws::String& value) { SetNextPageToken(value); return *this;} /** *

If NextPageToken is returned there are more results available. * The value of NextPageToken is a unique pagination token for each * page. Make the call again using the returned token to retrieve the next page. * Keep all other arguments unchanged.

*/ inline GetCertificatesResult& WithNextPageToken(Aws::String&& value) { SetNextPageToken(std::move(value)); return *this;} /** *

If NextPageToken is returned there are more results available. * The value of NextPageToken is a unique pagination token for each * page. Make the call again using the returned token to retrieve the next page. * Keep all other arguments unchanged.

*/ inline GetCertificatesResult& WithNextPageToken(const char* value) { SetNextPageToken(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 GetCertificatesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetCertificatesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetCertificatesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_certificates; Aws::String m_nextPageToken; Aws::String m_requestId; }; } // namespace Model } // namespace Lightsail } // namespace Aws