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

The OpsItem data type to return.

See Also:

AWS * API Reference

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

Name of the data type. Valid value: AWS:OpsItem, * AWS:EC2InstanceInformation, AWS:OpsItemTrendline, or * AWS:ComplianceSummary.

*/ inline const Aws::String& GetTypeName() const{ return m_typeName; } /** *

Name of the data type. Valid value: AWS:OpsItem, * AWS:EC2InstanceInformation, AWS:OpsItemTrendline, or * AWS:ComplianceSummary.

*/ inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; } /** *

Name of the data type. Valid value: AWS:OpsItem, * AWS:EC2InstanceInformation, AWS:OpsItemTrendline, or * AWS:ComplianceSummary.

*/ inline void SetTypeName(const Aws::String& value) { m_typeNameHasBeenSet = true; m_typeName = value; } /** *

Name of the data type. Valid value: AWS:OpsItem, * AWS:EC2InstanceInformation, AWS:OpsItemTrendline, or * AWS:ComplianceSummary.

*/ inline void SetTypeName(Aws::String&& value) { m_typeNameHasBeenSet = true; m_typeName = std::move(value); } /** *

Name of the data type. Valid value: AWS:OpsItem, * AWS:EC2InstanceInformation, AWS:OpsItemTrendline, or * AWS:ComplianceSummary.

*/ inline void SetTypeName(const char* value) { m_typeNameHasBeenSet = true; m_typeName.assign(value); } /** *

Name of the data type. Valid value: AWS:OpsItem, * AWS:EC2InstanceInformation, AWS:OpsItemTrendline, or * AWS:ComplianceSummary.

*/ inline OpsResultAttribute& WithTypeName(const Aws::String& value) { SetTypeName(value); return *this;} /** *

Name of the data type. Valid value: AWS:OpsItem, * AWS:EC2InstanceInformation, AWS:OpsItemTrendline, or * AWS:ComplianceSummary.

*/ inline OpsResultAttribute& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;} /** *

Name of the data type. Valid value: AWS:OpsItem, * AWS:EC2InstanceInformation, AWS:OpsItemTrendline, or * AWS:ComplianceSummary.

*/ inline OpsResultAttribute& WithTypeName(const char* value) { SetTypeName(value); return *this;} private: Aws::String m_typeName; bool m_typeNameHasBeenSet = false; }; } // namespace Model } // namespace SSM } // namespace Aws