This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-iot/include/aws/iot/model/ProvisioningTemplateVersionSummary.h

132 lines
4.0 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iot/IoT_EXPORTS.h>
#include <aws/core/utils/DateTime.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoT
{
namespace Model
{
/**
* <p>A summary of information about a fleet provision template
* version.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/ProvisioningTemplateVersionSummary">AWS
* API Reference</a></p>
*/
class AWS_IOT_API ProvisioningTemplateVersionSummary
{
public:
ProvisioningTemplateVersionSummary();
ProvisioningTemplateVersionSummary(Aws::Utils::Json::JsonView jsonValue);
ProvisioningTemplateVersionSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The ID of the fleet privisioning template version.</p>
*/
inline int GetVersionId() const{ return m_versionId; }
/**
* <p>The ID of the fleet privisioning template version.</p>
*/
inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
/**
* <p>The ID of the fleet privisioning template version.</p>
*/
inline void SetVersionId(int value) { m_versionIdHasBeenSet = true; m_versionId = value; }
/**
* <p>The ID of the fleet privisioning template version.</p>
*/
inline ProvisioningTemplateVersionSummary& WithVersionId(int value) { SetVersionId(value); return *this;}
/**
* <p>The date when the fleet provisioning template version was created</p>
*/
inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
/**
* <p>The date when the fleet provisioning template version was created</p>
*/
inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
/**
* <p>The date when the fleet provisioning template version was created</p>
*/
inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
/**
* <p>The date when the fleet provisioning template version was created</p>
*/
inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
/**
* <p>The date when the fleet provisioning template version was created</p>
*/
inline ProvisioningTemplateVersionSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
/**
* <p>The date when the fleet provisioning template version was created</p>
*/
inline ProvisioningTemplateVersionSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
/**
* <p>True if the fleet provisioning template version is the default version,
* otherwise false.</p>
*/
inline bool GetIsDefaultVersion() const{ return m_isDefaultVersion; }
/**
* <p>True if the fleet provisioning template version is the default version,
* otherwise false.</p>
*/
inline bool IsDefaultVersionHasBeenSet() const { return m_isDefaultVersionHasBeenSet; }
/**
* <p>True if the fleet provisioning template version is the default version,
* otherwise false.</p>
*/
inline void SetIsDefaultVersion(bool value) { m_isDefaultVersionHasBeenSet = true; m_isDefaultVersion = value; }
/**
* <p>True if the fleet provisioning template version is the default version,
* otherwise false.</p>
*/
inline ProvisioningTemplateVersionSummary& WithIsDefaultVersion(bool value) { SetIsDefaultVersion(value); return *this;}
private:
int m_versionId;
bool m_versionIdHasBeenSet;
Aws::Utils::DateTime m_creationDate;
bool m_creationDateHasBeenSet;
bool m_isDefaultVersion;
bool m_isDefaultVersionHasBeenSet;
};
} // namespace Model
} // namespace IoT
} // namespace Aws