/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A summary of information about a fleet provision template
* version.See Also:
AWS
* API Reference
The ID of the fleet provisioning template version.
*/ inline int GetVersionId() const{ return m_versionId; } /** *The ID of the fleet provisioning template version.
*/ inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } /** *The ID of the fleet provisioning template version.
*/ inline void SetVersionId(int value) { m_versionIdHasBeenSet = true; m_versionId = value; } /** *The ID of the fleet provisioning template version.
*/ inline ProvisioningTemplateVersionSummary& WithVersionId(int value) { SetVersionId(value); return *this;} /** *The date when the provisioning template version was created
*/ inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; } /** *The date when the provisioning template version was created
*/ inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } /** *The date when the provisioning template version was created
*/ inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } /** *The date when the provisioning template version was created
*/ inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); } /** *The date when the provisioning template version was created
*/ inline ProvisioningTemplateVersionSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;} /** *The date when the provisioning template version was created
*/ inline ProvisioningTemplateVersionSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} /** *True if the provisioning template version is the default version, otherwise * false.
*/ inline bool GetIsDefaultVersion() const{ return m_isDefaultVersion; } /** *True if the provisioning template version is the default version, otherwise * false.
*/ inline bool IsDefaultVersionHasBeenSet() const { return m_isDefaultVersionHasBeenSet; } /** *True if the provisioning template version is the default version, otherwise * false.
*/ inline void SetIsDefaultVersion(bool value) { m_isDefaultVersionHasBeenSet = true; m_isDefaultVersion = value; } /** *True if the provisioning template version is the default version, otherwise * false.
*/ inline ProvisioningTemplateVersionSummary& WithIsDefaultVersion(bool value) { SetIsDefaultVersion(value); return *this;} private: int m_versionId; bool m_versionIdHasBeenSet = false; Aws::Utils::DateTime m_creationDate; bool m_creationDateHasBeenSet = false; bool m_isDefaultVersion; bool m_isDefaultVersionHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws