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

Violation detail for a resource.

*/ inline const ViolationDetail& GetViolationDetail() const{ return m_violationDetail; } /** *

Violation detail for a resource.

*/ inline void SetViolationDetail(const ViolationDetail& value) { m_violationDetail = value; } /** *

Violation detail for a resource.

*/ inline void SetViolationDetail(ViolationDetail&& value) { m_violationDetail = std::move(value); } /** *

Violation detail for a resource.

*/ inline GetViolationDetailsResult& WithViolationDetail(const ViolationDetail& value) { SetViolationDetail(value); return *this;} /** *

Violation detail for a resource.

*/ inline GetViolationDetailsResult& WithViolationDetail(ViolationDetail&& value) { SetViolationDetail(std::move(value)); return *this;} private: ViolationDetail m_violationDetail; }; } // namespace Model } // namespace FMS } // namespace Aws