/** * 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; } inline bool CaptureTimeHasBeenSet() const { return m_captureTimeHasBeenSet; } inline void SetCaptureTime(const Aws::String& value) { m_captureTimeHasBeenSet = true; m_captureTime = value; } inline void SetCaptureTime(Aws::String&& value) { m_captureTimeHasBeenSet = true; m_captureTime = std::move(value); } inline void SetCaptureTime(const char* value) { m_captureTimeHasBeenSet = true; m_captureTime.assign(value); } inline OpsEntityItem& WithCaptureTime(const Aws::String& value) { SetCaptureTime(value); return *this;} inline OpsEntityItem& WithCaptureTime(Aws::String&& value) { SetCaptureTime(std::move(value)); return *this;} 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; } inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; } inline void SetContent(const Aws::Vector>& value) { m_contentHasBeenSet = true; m_content = value; } inline void SetContent(Aws::Vector>&& value) { m_contentHasBeenSet = true; m_content = std::move(value); } inline OpsEntityItem& WithContent(const Aws::Vector>& value) { SetContent(value); return *this;} inline OpsEntityItem& WithContent(Aws::Vector>&& value) { SetContent(std::move(value)); return *this;} inline OpsEntityItem& AddContent(const Aws::Map& value) { m_contentHasBeenSet = true; m_content.push_back(value); return *this; } 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