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

Information about the input.

See Also:

AWS * API Reference

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

The name of the input.

*/ inline const Aws::String& GetInputName() const{ return m_inputName; } /** *

The name of the input.

*/ inline bool InputNameHasBeenSet() const { return m_inputNameHasBeenSet; } /** *

The name of the input.

*/ inline void SetInputName(const Aws::String& value) { m_inputNameHasBeenSet = true; m_inputName = value; } /** *

The name of the input.

*/ inline void SetInputName(Aws::String&& value) { m_inputNameHasBeenSet = true; m_inputName = std::move(value); } /** *

The name of the input.

*/ inline void SetInputName(const char* value) { m_inputNameHasBeenSet = true; m_inputName.assign(value); } /** *

The name of the input.

*/ inline InputSummary& WithInputName(const Aws::String& value) { SetInputName(value); return *this;} /** *

The name of the input.

*/ inline InputSummary& WithInputName(Aws::String&& value) { SetInputName(std::move(value)); return *this;} /** *

The name of the input.

*/ inline InputSummary& WithInputName(const char* value) { SetInputName(value); return *this;} /** *

A brief description of the input.

*/ inline const Aws::String& GetInputDescription() const{ return m_inputDescription; } /** *

A brief description of the input.

*/ inline bool InputDescriptionHasBeenSet() const { return m_inputDescriptionHasBeenSet; } /** *

A brief description of the input.

*/ inline void SetInputDescription(const Aws::String& value) { m_inputDescriptionHasBeenSet = true; m_inputDescription = value; } /** *

A brief description of the input.

*/ inline void SetInputDescription(Aws::String&& value) { m_inputDescriptionHasBeenSet = true; m_inputDescription = std::move(value); } /** *

A brief description of the input.

*/ inline void SetInputDescription(const char* value) { m_inputDescriptionHasBeenSet = true; m_inputDescription.assign(value); } /** *

A brief description of the input.

*/ inline InputSummary& WithInputDescription(const Aws::String& value) { SetInputDescription(value); return *this;} /** *

A brief description of the input.

*/ inline InputSummary& WithInputDescription(Aws::String&& value) { SetInputDescription(std::move(value)); return *this;} /** *

A brief description of the input.

*/ inline InputSummary& WithInputDescription(const char* value) { SetInputDescription(value); return *this;} /** *

The ARN of the input.

*/ inline const Aws::String& GetInputArn() const{ return m_inputArn; } /** *

The ARN of the input.

*/ inline bool InputArnHasBeenSet() const { return m_inputArnHasBeenSet; } /** *

The ARN of the input.

*/ inline void SetInputArn(const Aws::String& value) { m_inputArnHasBeenSet = true; m_inputArn = value; } /** *

The ARN of the input.

*/ inline void SetInputArn(Aws::String&& value) { m_inputArnHasBeenSet = true; m_inputArn = std::move(value); } /** *

The ARN of the input.

*/ inline void SetInputArn(const char* value) { m_inputArnHasBeenSet = true; m_inputArn.assign(value); } /** *

The ARN of the input.

*/ inline InputSummary& WithInputArn(const Aws::String& value) { SetInputArn(value); return *this;} /** *

The ARN of the input.

*/ inline InputSummary& WithInputArn(Aws::String&& value) { SetInputArn(std::move(value)); return *this;} /** *

The ARN of the input.

*/ inline InputSummary& WithInputArn(const char* value) { SetInputArn(value); return *this;} /** *

The time the input was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The time the input was created.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

The time the input was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

The time the input was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

The time the input was created.

*/ inline InputSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The time the input was created.

*/ inline InputSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The last time the input was updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; } /** *

The last time the input was updated.

*/ inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; } /** *

The last time the input was updated.

*/ inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; } /** *

The last time the input was updated.

*/ inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); } /** *

The last time the input was updated.

*/ inline InputSummary& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;} /** *

The last time the input was updated.

*/ inline InputSummary& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;} /** *

The status of the input.

*/ inline const InputStatus& GetStatus() const{ return m_status; } /** *

The status of the input.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the input.

*/ inline void SetStatus(const InputStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the input.

*/ inline void SetStatus(InputStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the input.

*/ inline InputSummary& WithStatus(const InputStatus& value) { SetStatus(value); return *this;} /** *

The status of the input.

*/ inline InputSummary& WithStatus(InputStatus&& value) { SetStatus(std::move(value)); return *this;} private: Aws::String m_inputName; bool m_inputNameHasBeenSet = false; Aws::String m_inputDescription; bool m_inputDescriptionHasBeenSet = false; Aws::String m_inputArn; bool m_inputArnHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdateTime; bool m_lastUpdateTimeHasBeenSet = false; InputStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace IoTEvents } // namespace Aws