/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace GuardDuty { namespace Model { /** *

Additional information about the generated finding.

See Also:

* AWS * API Reference

*/ class ServiceAdditionalInfo { public: AWS_GUARDDUTY_API ServiceAdditionalInfo(); AWS_GUARDDUTY_API ServiceAdditionalInfo(Aws::Utils::Json::JsonView jsonValue); AWS_GUARDDUTY_API ServiceAdditionalInfo& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

This field specifies the value of the additional information.

*/ inline const Aws::String& GetValue() const{ return m_value; } /** *

This field specifies the value of the additional information.

*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *

This field specifies the value of the additional information.

*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *

This field specifies the value of the additional information.

*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *

This field specifies the value of the additional information.

*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *

This field specifies the value of the additional information.

*/ inline ServiceAdditionalInfo& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *

This field specifies the value of the additional information.

*/ inline ServiceAdditionalInfo& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *

This field specifies the value of the additional information.

*/ inline ServiceAdditionalInfo& WithValue(const char* value) { SetValue(value); return *this;} /** *

Describes the type of the additional information.

*/ inline const Aws::String& GetType() const{ return m_type; } /** *

Describes the type of the additional information.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

Describes the type of the additional information.

*/ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } /** *

Describes the type of the additional information.

*/ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

Describes the type of the additional information.

*/ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } /** *

Describes the type of the additional information.

*/ inline ServiceAdditionalInfo& WithType(const Aws::String& value) { SetType(value); return *this;} /** *

Describes the type of the additional information.

*/ inline ServiceAdditionalInfo& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *

Describes the type of the additional information.

*/ inline ServiceAdditionalInfo& WithType(const char* value) { SetType(value); return *this;} private: Aws::String m_value; bool m_valueHasBeenSet = false; Aws::String m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws