/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace RolesAnywhere { namespace Model { class UpdateCrlResult { public: AWS_ROLESANYWHERE_API UpdateCrlResult(); AWS_ROLESANYWHERE_API UpdateCrlResult(const Aws::AmazonWebServiceResult& result); AWS_ROLESANYWHERE_API UpdateCrlResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The state of the certificate revocation list (CRL) after a read or write * operation.

*/ inline const CrlDetail& GetCrl() const{ return m_crl; } /** *

The state of the certificate revocation list (CRL) after a read or write * operation.

*/ inline void SetCrl(const CrlDetail& value) { m_crl = value; } /** *

The state of the certificate revocation list (CRL) after a read or write * operation.

*/ inline void SetCrl(CrlDetail&& value) { m_crl = std::move(value); } /** *

The state of the certificate revocation list (CRL) after a read or write * operation.

*/ inline UpdateCrlResult& WithCrl(const CrlDetail& value) { SetCrl(value); return *this;} /** *

The state of the certificate revocation list (CRL) after a read or write * operation.

*/ inline UpdateCrlResult& WithCrl(CrlDetail&& value) { SetCrl(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 UpdateCrlResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateCrlResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateCrlResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: CrlDetail m_crl; Aws::String m_requestId; }; } // namespace Model } // namespace RolesAnywhere } // namespace Aws