/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure that describes a property of a resource.See Also:
* AWS
* API Reference
Details about this property. The content of this field is a JSON object that * varies based on the resource type.
*/ inline Aws::Utils::DocumentView GetData() const{ return m_data; } /** *Details about this property. The content of this field is a JSON object that * varies based on the resource type.
*/ inline bool DataHasBeenSet() const { return m_dataHasBeenSet; } /** *Details about this property. The content of this field is a JSON object that * varies based on the resource type.
*/ inline void SetData(const Aws::Utils::Document& value) { m_dataHasBeenSet = true; m_data = value; } /** *Details about this property. The content of this field is a JSON object that * varies based on the resource type.
*/ inline void SetData(Aws::Utils::Document&& value) { m_dataHasBeenSet = true; m_data = std::move(value); } /** *Details about this property. The content of this field is a JSON object that * varies based on the resource type.
*/ inline ResourceProperty& WithData(const Aws::Utils::Document& value) { SetData(value); return *this;} /** *Details about this property. The content of this field is a JSON object that * varies based on the resource type.
*/ inline ResourceProperty& WithData(Aws::Utils::Document&& value) { SetData(std::move(value)); return *this;} /** *The date and time that the information about this resource property was last * updated.
*/ inline const Aws::Utils::DateTime& GetLastReportedAt() const{ return m_lastReportedAt; } /** *The date and time that the information about this resource property was last * updated.
*/ inline bool LastReportedAtHasBeenSet() const { return m_lastReportedAtHasBeenSet; } /** *The date and time that the information about this resource property was last * updated.
*/ inline void SetLastReportedAt(const Aws::Utils::DateTime& value) { m_lastReportedAtHasBeenSet = true; m_lastReportedAt = value; } /** *The date and time that the information about this resource property was last * updated.
*/ inline void SetLastReportedAt(Aws::Utils::DateTime&& value) { m_lastReportedAtHasBeenSet = true; m_lastReportedAt = std::move(value); } /** *The date and time that the information about this resource property was last * updated.
*/ inline ResourceProperty& WithLastReportedAt(const Aws::Utils::DateTime& value) { SetLastReportedAt(value); return *this;} /** *The date and time that the information about this resource property was last * updated.
*/ inline ResourceProperty& WithLastReportedAt(Aws::Utils::DateTime&& value) { SetLastReportedAt(std::move(value)); return *this;} /** *The name of this property of the resource.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of this property of the resource.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of this property of the resource.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of this property of the resource.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of this property of the resource.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of this property of the resource.
*/ inline ResourceProperty& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of this property of the resource.
*/ inline ResourceProperty& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of this property of the resource.
*/ inline ResourceProperty& WithName(const char* value) { SetName(value); return *this;} private: Aws::Utils::Document m_data; bool m_dataHasBeenSet = false; Aws::Utils::DateTime m_lastReportedAt; bool m_lastReportedAtHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; }; } // namespace Model } // namespace ResourceExplorer2 } // namespace Aws