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

True if the behaviors were valid.

*/ inline bool GetValid() const{ return m_valid; } /** *

True if the behaviors were valid.

*/ inline void SetValid(bool value) { m_valid = value; } /** *

True if the behaviors were valid.

*/ inline ValidateSecurityProfileBehaviorsResult& WithValid(bool value) { SetValid(value); return *this;} /** *

The list of any errors found in the behaviors.

*/ inline const Aws::Vector& GetValidationErrors() const{ return m_validationErrors; } /** *

The list of any errors found in the behaviors.

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

The list of any errors found in the behaviors.

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

The list of any errors found in the behaviors.

*/ inline ValidateSecurityProfileBehaviorsResult& WithValidationErrors(const Aws::Vector& value) { SetValidationErrors(value); return *this;} /** *

The list of any errors found in the behaviors.

*/ inline ValidateSecurityProfileBehaviorsResult& WithValidationErrors(Aws::Vector&& value) { SetValidationErrors(std::move(value)); return *this;} /** *

The list of any errors found in the behaviors.

*/ inline ValidateSecurityProfileBehaviorsResult& AddValidationErrors(const ValidationError& value) { m_validationErrors.push_back(value); return *this; } /** *

The list of any errors found in the behaviors.

*/ inline ValidateSecurityProfileBehaviorsResult& AddValidationErrors(ValidationError&& value) { m_validationErrors.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 ValidateSecurityProfileBehaviorsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ValidateSecurityProfileBehaviorsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ValidateSecurityProfileBehaviorsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: bool m_valid; Aws::Vector m_validationErrors; Aws::String m_requestId; }; } // namespace Model } // namespace IoT } // namespace Aws