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

Summary information about each certificate authority you have created.

*/ inline const Aws::Vector& GetCertificateAuthorities() const{ return m_certificateAuthorities; } /** *

Summary information about each certificate authority you have created.

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

Summary information about each certificate authority you have created.

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

Summary information about each certificate authority you have created.

*/ inline ListCertificateAuthoritiesResult& WithCertificateAuthorities(const Aws::Vector& value) { SetCertificateAuthorities(value); return *this;} /** *

Summary information about each certificate authority you have created.

*/ inline ListCertificateAuthoritiesResult& WithCertificateAuthorities(Aws::Vector&& value) { SetCertificateAuthorities(std::move(value)); return *this;} /** *

Summary information about each certificate authority you have created.

*/ inline ListCertificateAuthoritiesResult& AddCertificateAuthorities(const CertificateAuthority& value) { m_certificateAuthorities.push_back(value); return *this; } /** *

Summary information about each certificate authority you have created.

*/ inline ListCertificateAuthoritiesResult& AddCertificateAuthorities(CertificateAuthority&& value) { m_certificateAuthorities.push_back(std::move(value)); return *this; } /** *

When the list is truncated, this value is present and should be used for the * NextToken parameter in a subsequent pagination request.

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

When the list is truncated, this value is present and should be used for the * NextToken parameter in a subsequent pagination request.

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

When the list is truncated, this value is present and should be used for the * NextToken parameter in a subsequent pagination request.

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

When the list is truncated, this value is present and should be used for the * NextToken parameter in a subsequent pagination request.

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

When the list is truncated, this value is present and should be used for the * NextToken parameter in a subsequent pagination request.

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

When the list is truncated, this value is present and should be used for the * NextToken parameter in a subsequent pagination request.

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

When the list is truncated, this value is present and should be used for the * NextToken parameter in a subsequent pagination request.

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