/** * 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 ConfigService { namespace Model { /** *

See Also:

AWS * API Reference

*/ class PutEvaluationsResult { public: AWS_CONFIGSERVICE_API PutEvaluationsResult(); AWS_CONFIGSERVICE_API PutEvaluationsResult(const Aws::AmazonWebServiceResult& result); AWS_CONFIGSERVICE_API PutEvaluationsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Requests that failed because of a client or server error.

*/ inline const Aws::Vector& GetFailedEvaluations() const{ return m_failedEvaluations; } /** *

Requests that failed because of a client or server error.

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

Requests that failed because of a client or server error.

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

Requests that failed because of a client or server error.

*/ inline PutEvaluationsResult& WithFailedEvaluations(const Aws::Vector& value) { SetFailedEvaluations(value); return *this;} /** *

Requests that failed because of a client or server error.

*/ inline PutEvaluationsResult& WithFailedEvaluations(Aws::Vector&& value) { SetFailedEvaluations(std::move(value)); return *this;} /** *

Requests that failed because of a client or server error.

*/ inline PutEvaluationsResult& AddFailedEvaluations(const Evaluation& value) { m_failedEvaluations.push_back(value); return *this; } /** *

Requests that failed because of a client or server error.

*/ inline PutEvaluationsResult& AddFailedEvaluations(Evaluation&& value) { m_failedEvaluations.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 PutEvaluationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline PutEvaluationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline PutEvaluationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_failedEvaluations; Aws::String m_requestId; }; } // namespace Model } // namespace ConfigService } // namespace Aws