AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProvisioningTemplateVersionSummary.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoT
22{
23namespace Model
24{
25
33 {
34 public:
39
40
42
45 inline int GetVersionId() const{ return m_versionId; }
46 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
47 inline void SetVersionId(int value) { m_versionIdHasBeenSet = true; m_versionId = value; }
48 inline ProvisioningTemplateVersionSummary& WithVersionId(int value) { SetVersionId(value); return *this;}
50
52
55 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
56 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
57 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
58 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
62
64
68 inline bool GetIsDefaultVersion() const{ return m_isDefaultVersion; }
69 inline bool IsDefaultVersionHasBeenSet() const { return m_isDefaultVersionHasBeenSet; }
70 inline void SetIsDefaultVersion(bool value) { m_isDefaultVersionHasBeenSet = true; m_isDefaultVersion = value; }
73 private:
74
75 int m_versionId;
76 bool m_versionIdHasBeenSet = false;
77
78 Aws::Utils::DateTime m_creationDate;
79 bool m_creationDateHasBeenSet = false;
80
81 bool m_isDefaultVersion;
82 bool m_isDefaultVersionHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace IoT
87} // namespace Aws
ProvisioningTemplateVersionSummary & WithVersionId(int value)
ProvisioningTemplateVersionSummary & WithIsDefaultVersion(bool value)
AWS_IOT_API ProvisioningTemplateVersionSummary(Aws::Utils::Json::JsonView jsonValue)
ProvisioningTemplateVersionSummary & WithCreationDate(Aws::Utils::DateTime &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API ProvisioningTemplateVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ProvisioningTemplateVersionSummary & WithCreationDate(const Aws::Utils::DateTime &value)
Aws::Utils::Json::JsonValue JsonValue