AWS SDK for C++  1.9.124
AWS SDK for C++
ProvisioningTemplateVersionSummary.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace IoT
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline int GetVersionId() const{ return m_versionId; }
45 
49  inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
50 
54  inline void SetVersionId(int value) { m_versionIdHasBeenSet = true; m_versionId = value; }
55 
59  inline ProvisioningTemplateVersionSummary& WithVersionId(int value) { SetVersionId(value); return *this;}
60 
61 
65  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
66 
70  inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
71 
75  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
76 
80  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
81 
85  inline ProvisioningTemplateVersionSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
86 
90  inline ProvisioningTemplateVersionSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
91 
92 
97  inline bool GetIsDefaultVersion() const{ return m_isDefaultVersion; }
98 
103  inline bool IsDefaultVersionHasBeenSet() const { return m_isDefaultVersionHasBeenSet; }
104 
109  inline void SetIsDefaultVersion(bool value) { m_isDefaultVersionHasBeenSet = true; m_isDefaultVersion = value; }
110 
115  inline ProvisioningTemplateVersionSummary& WithIsDefaultVersion(bool value) { SetIsDefaultVersion(value); return *this;}
116 
117  private:
118 
119  int m_versionId;
120  bool m_versionIdHasBeenSet;
121 
122  Aws::Utils::DateTime m_creationDate;
123  bool m_creationDateHasBeenSet;
124 
125  bool m_isDefaultVersion;
126  bool m_isDefaultVersionHasBeenSet;
127  };
128 
129 } // namespace Model
130 } // namespace IoT
131 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoT::Model::ProvisioningTemplateVersionSummary::SetIsDefaultVersion
void SetIsDefaultVersion(bool value)
Definition: ProvisioningTemplateVersionSummary.h:109
Aws::IoT::Model::ProvisioningTemplateVersionSummary::WithCreationDate
ProvisioningTemplateVersionSummary & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: ProvisioningTemplateVersionSummary.h:90
Aws::IoT::Model::ProvisioningTemplateVersionSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::ProvisioningTemplateVersionSummary::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: ProvisioningTemplateVersionSummary.h:80
Aws::IoT::Model::ProvisioningTemplateVersionSummary::ProvisioningTemplateVersionSummary
ProvisioningTemplateVersionSummary(Aws::Utils::Json::JsonView jsonValue)
DateTime.h
Aws::IoT::Model::ProvisioningTemplateVersionSummary::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: ProvisioningTemplateVersionSummary.h:75
Aws::IoT::Model::ProvisioningTemplateVersionSummary::IsDefaultVersionHasBeenSet
bool IsDefaultVersionHasBeenSet() const
Definition: ProvisioningTemplateVersionSummary.h:103
Aws::IoT::Model::ProvisioningTemplateVersionSummary::WithIsDefaultVersion
ProvisioningTemplateVersionSummary & WithIsDefaultVersion(bool value)
Definition: ProvisioningTemplateVersionSummary.h:115
Aws::IoT::Model::ProvisioningTemplateVersionSummary::WithVersionId
ProvisioningTemplateVersionSummary & WithVersionId(int value)
Definition: ProvisioningTemplateVersionSummary.h:59
Aws::IoT::Model::ProvisioningTemplateVersionSummary
Definition: ProvisioningTemplateVersionSummary.h:33
Aws::IoT::Model::ProvisioningTemplateVersionSummary::VersionIdHasBeenSet
bool VersionIdHasBeenSet() const
Definition: ProvisioningTemplateVersionSummary.h:49
Aws::IoT::Model::ProvisioningTemplateVersionSummary::WithCreationDate
ProvisioningTemplateVersionSummary & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: ProvisioningTemplateVersionSummary.h:85
Aws::IoT::Model::ProvisioningTemplateVersionSummary::GetIsDefaultVersion
bool GetIsDefaultVersion() const
Definition: ProvisioningTemplateVersionSummary.h:97
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::ProvisioningTemplateVersionSummary::ProvisioningTemplateVersionSummary
ProvisioningTemplateVersionSummary()
Aws::IoT::Model::ProvisioningTemplateVersionSummary::SetVersionId
void SetVersionId(int value)
Definition: ProvisioningTemplateVersionSummary.h:54
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::ProvisioningTemplateVersionSummary::CreationDateHasBeenSet
bool CreationDateHasBeenSet() const
Definition: ProvisioningTemplateVersionSummary.h:70
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::ProvisioningTemplateVersionSummary::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: ProvisioningTemplateVersionSummary.h:65
Aws::IoT::Model::ProvisioningTemplateVersionSummary::GetVersionId
int GetVersionId() const
Definition: ProvisioningTemplateVersionSummary.h:44
Aws::IoT::Model::ProvisioningTemplateVersionSummary::operator=
ProvisioningTemplateVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
IoT_EXPORTS.h