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

A list of revoked entities (including one or more of the signing profile ARN, * signing job ID, and certificate hash) supplied as input to the API.

*/ inline const Aws::Vector& GetRevokedEntities() const{ return m_revokedEntities; } /** *

A list of revoked entities (including one or more of the signing profile ARN, * signing job ID, and certificate hash) supplied as input to the API.

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

A list of revoked entities (including one or more of the signing profile ARN, * signing job ID, and certificate hash) supplied as input to the API.

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

A list of revoked entities (including one or more of the signing profile ARN, * signing job ID, and certificate hash) supplied as input to the API.

*/ inline GetRevocationStatusResult& WithRevokedEntities(const Aws::Vector& value) { SetRevokedEntities(value); return *this;} /** *

A list of revoked entities (including one or more of the signing profile ARN, * signing job ID, and certificate hash) supplied as input to the API.

*/ inline GetRevocationStatusResult& WithRevokedEntities(Aws::Vector&& value) { SetRevokedEntities(std::move(value)); return *this;} /** *

A list of revoked entities (including one or more of the signing profile ARN, * signing job ID, and certificate hash) supplied as input to the API.

*/ inline GetRevocationStatusResult& AddRevokedEntities(const Aws::String& value) { m_revokedEntities.push_back(value); return *this; } /** *

A list of revoked entities (including one or more of the signing profile ARN, * signing job ID, and certificate hash) supplied as input to the API.

*/ inline GetRevocationStatusResult& AddRevokedEntities(Aws::String&& value) { m_revokedEntities.push_back(std::move(value)); return *this; } /** *

A list of revoked entities (including one or more of the signing profile ARN, * signing job ID, and certificate hash) supplied as input to the API.

*/ inline GetRevocationStatusResult& AddRevokedEntities(const char* value) { m_revokedEntities.push_back(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 GetRevocationStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetRevocationStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetRevocationStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_revokedEntities; Aws::String m_requestId; }; } // namespace Model } // namespace signer } // namespace Aws