AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
ProvisioningTemplateVersionSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/iot/IoT_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoT {
20namespace Model {
21
29 public:
30 AWS_IOT_API ProvisioningTemplateVersionSummary() = default;
34
36
39 inline int GetVersionId() const { return m_versionId; }
40 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
41 inline void SetVersionId(int value) {
42 m_versionIdHasBeenSet = true;
43 m_versionId = value;
44 }
46 SetVersionId(value);
47 return *this;
48 }
50
52
55 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
56 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
57 template <typename CreationDateT = Aws::Utils::DateTime>
58 void SetCreationDate(CreationDateT&& value) {
59 m_creationDateHasBeenSet = true;
60 m_creationDate = std::forward<CreationDateT>(value);
61 }
62 template <typename CreationDateT = Aws::Utils::DateTime>
64 SetCreationDate(std::forward<CreationDateT>(value));
65 return *this;
66 }
68
70
74 inline bool GetIsDefaultVersion() const { return m_isDefaultVersion; }
75 inline bool IsDefaultVersionHasBeenSet() const { return m_isDefaultVersionHasBeenSet; }
76 inline void SetIsDefaultVersion(bool value) {
77 m_isDefaultVersionHasBeenSet = true;
78 m_isDefaultVersion = value;
79 }
82 return *this;
83 }
85 private:
86 int m_versionId{0};
87
88 Aws::Utils::DateTime m_creationDate{};
89
90 bool m_isDefaultVersion{false};
91 bool m_versionIdHasBeenSet = false;
92 bool m_creationDateHasBeenSet = false;
93 bool m_isDefaultVersionHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace IoT
98} // namespace Aws
ProvisioningTemplateVersionSummary & WithCreationDate(CreationDateT &&value)
ProvisioningTemplateVersionSummary & WithVersionId(int value)
ProvisioningTemplateVersionSummary & WithIsDefaultVersion(bool value)
AWS_IOT_API ProvisioningTemplateVersionSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API ProvisioningTemplateVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue