/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An OTA update summary.See Also:
AWS
* API Reference
The OTA update ID.
*/ inline const Aws::String& GetOtaUpdateId() const{ return m_otaUpdateId; } /** *The OTA update ID.
*/ inline bool OtaUpdateIdHasBeenSet() const { return m_otaUpdateIdHasBeenSet; } /** *The OTA update ID.
*/ inline void SetOtaUpdateId(const Aws::String& value) { m_otaUpdateIdHasBeenSet = true; m_otaUpdateId = value; } /** *The OTA update ID.
*/ inline void SetOtaUpdateId(Aws::String&& value) { m_otaUpdateIdHasBeenSet = true; m_otaUpdateId = std::move(value); } /** *The OTA update ID.
*/ inline void SetOtaUpdateId(const char* value) { m_otaUpdateIdHasBeenSet = true; m_otaUpdateId.assign(value); } /** *The OTA update ID.
*/ inline OTAUpdateSummary& WithOtaUpdateId(const Aws::String& value) { SetOtaUpdateId(value); return *this;} /** *The OTA update ID.
*/ inline OTAUpdateSummary& WithOtaUpdateId(Aws::String&& value) { SetOtaUpdateId(std::move(value)); return *this;} /** *The OTA update ID.
*/ inline OTAUpdateSummary& WithOtaUpdateId(const char* value) { SetOtaUpdateId(value); return *this;} /** *The OTA update ARN.
*/ inline const Aws::String& GetOtaUpdateArn() const{ return m_otaUpdateArn; } /** *The OTA update ARN.
*/ inline bool OtaUpdateArnHasBeenSet() const { return m_otaUpdateArnHasBeenSet; } /** *The OTA update ARN.
*/ inline void SetOtaUpdateArn(const Aws::String& value) { m_otaUpdateArnHasBeenSet = true; m_otaUpdateArn = value; } /** *The OTA update ARN.
*/ inline void SetOtaUpdateArn(Aws::String&& value) { m_otaUpdateArnHasBeenSet = true; m_otaUpdateArn = std::move(value); } /** *The OTA update ARN.
*/ inline void SetOtaUpdateArn(const char* value) { m_otaUpdateArnHasBeenSet = true; m_otaUpdateArn.assign(value); } /** *The OTA update ARN.
*/ inline OTAUpdateSummary& WithOtaUpdateArn(const Aws::String& value) { SetOtaUpdateArn(value); return *this;} /** *The OTA update ARN.
*/ inline OTAUpdateSummary& WithOtaUpdateArn(Aws::String&& value) { SetOtaUpdateArn(std::move(value)); return *this;} /** *The OTA update ARN.
*/ inline OTAUpdateSummary& WithOtaUpdateArn(const char* value) { SetOtaUpdateArn(value); return *this;} /** *The date when the OTA update was created.
*/ inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; } /** *The date when the OTA update was created.
*/ inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } /** *The date when the OTA update was created.
*/ inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } /** *The date when the OTA update was created.
*/ inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); } /** *The date when the OTA update was created.
*/ inline OTAUpdateSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;} /** *The date when the OTA update was created.
*/ inline OTAUpdateSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} private: Aws::String m_otaUpdateId; bool m_otaUpdateIdHasBeenSet = false; Aws::String m_otaUpdateArn; bool m_otaUpdateArnHasBeenSet = false; Aws::Utils::DateTime m_creationDate; bool m_creationDateHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws