/** * 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 { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SSM { namespace Model { /** *

The OpsData summary.

See Also:

AWS * API Reference

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

The time the OpsData was captured.

*/ inline const Aws::String& GetCaptureTime() const{ return m_captureTime; } /** *

The time the OpsData was captured.

*/ inline bool CaptureTimeHasBeenSet() const { return m_captureTimeHasBeenSet; } /** *

The time the OpsData was captured.

*/ inline void SetCaptureTime(const Aws::String& value) { m_captureTimeHasBeenSet = true; m_captureTime = value; } /** *

The time the OpsData was captured.

*/ inline void SetCaptureTime(Aws::String&& value) { m_captureTimeHasBeenSet = true; m_captureTime = std::move(value); } /** *

The time the OpsData was captured.

*/ inline void SetCaptureTime(const char* value) { m_captureTimeHasBeenSet = true; m_captureTime.assign(value); } /** *

The time the OpsData was captured.

*/ inline OpsEntityItem& WithCaptureTime(const Aws::String& value) { SetCaptureTime(value); return *this;} /** *

The time the OpsData was captured.

*/ inline OpsEntityItem& WithCaptureTime(Aws::String&& value) { SetCaptureTime(std::move(value)); return *this;} /** *

The time the OpsData was captured.

*/ inline OpsEntityItem& WithCaptureTime(const char* value) { SetCaptureTime(value); return *this;} /** *

The details of an OpsData summary.

*/ inline const Aws::Vector>& GetContent() const{ return m_content; } /** *

The details of an OpsData summary.

*/ inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; } /** *

The details of an OpsData summary.

*/ inline void SetContent(const Aws::Vector>& value) { m_contentHasBeenSet = true; m_content = value; } /** *

The details of an OpsData summary.

*/ inline void SetContent(Aws::Vector>&& value) { m_contentHasBeenSet = true; m_content = std::move(value); } /** *

The details of an OpsData summary.

*/ inline OpsEntityItem& WithContent(const Aws::Vector>& value) { SetContent(value); return *this;} /** *

The details of an OpsData summary.

*/ inline OpsEntityItem& WithContent(Aws::Vector>&& value) { SetContent(std::move(value)); return *this;} /** *

The details of an OpsData summary.

*/ inline OpsEntityItem& AddContent(const Aws::Map& value) { m_contentHasBeenSet = true; m_content.push_back(value); return *this; } /** *

The details of an OpsData summary.

*/ inline OpsEntityItem& AddContent(Aws::Map&& value) { m_contentHasBeenSet = true; m_content.push_back(std::move(value)); return *this; } private: Aws::String m_captureTime; bool m_captureTimeHasBeenSet = false; Aws::Vector> m_content; bool m_contentHasBeenSet = false; }; } // namespace Model } // namespace SSM } // namespace Aws