AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PackageVersionSummary.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/PackageVersionStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoT
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IOT_API PackageVersionSummary();
41
42
44
47 inline const Aws::String& GetPackageName() const{ return m_packageName; }
48 inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; }
49 inline void SetPackageName(const Aws::String& value) { m_packageNameHasBeenSet = true; m_packageName = value; }
50 inline void SetPackageName(Aws::String&& value) { m_packageNameHasBeenSet = true; m_packageName = std::move(value); }
51 inline void SetPackageName(const char* value) { m_packageNameHasBeenSet = true; m_packageName.assign(value); }
52 inline PackageVersionSummary& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;}
53 inline PackageVersionSummary& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;}
54 inline PackageVersionSummary& WithPackageName(const char* value) { SetPackageName(value); return *this;}
56
58
61 inline const Aws::String& GetVersionName() const{ return m_versionName; }
62 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
63 inline void SetVersionName(const Aws::String& value) { m_versionNameHasBeenSet = true; m_versionName = value; }
64 inline void SetVersionName(Aws::String&& value) { m_versionNameHasBeenSet = true; m_versionName = std::move(value); }
65 inline void SetVersionName(const char* value) { m_versionNameHasBeenSet = true; m_versionName.assign(value); }
66 inline PackageVersionSummary& WithVersionName(const Aws::String& value) { SetVersionName(value); return *this;}
67 inline PackageVersionSummary& WithVersionName(Aws::String&& value) { SetVersionName(std::move(value)); return *this;}
68 inline PackageVersionSummary& WithVersionName(const char* value) { SetVersionName(value); return *this;}
70
72
77 inline const PackageVersionStatus& GetStatus() const{ return m_status; }
78 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
79 inline void SetStatus(const PackageVersionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
80 inline void SetStatus(PackageVersionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
81 inline PackageVersionSummary& WithStatus(const PackageVersionStatus& value) { SetStatus(value); return *this;}
82 inline PackageVersionSummary& WithStatus(PackageVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
90 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
91 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
92 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
93 inline PackageVersionSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
94 inline PackageVersionSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
102 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
103 inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
104 inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
106 inline PackageVersionSummary& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
108 private:
109
110 Aws::String m_packageName;
111 bool m_packageNameHasBeenSet = false;
112
113 Aws::String m_versionName;
114 bool m_versionNameHasBeenSet = false;
115
116 PackageVersionStatus m_status;
117 bool m_statusHasBeenSet = false;
118
119 Aws::Utils::DateTime m_creationDate;
120 bool m_creationDateHasBeenSet = false;
121
122 Aws::Utils::DateTime m_lastModifiedDate;
123 bool m_lastModifiedDateHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace IoT
128} // namespace Aws
PackageVersionSummary & WithPackageName(const Aws::String &value)
PackageVersionSummary & WithStatus(const PackageVersionStatus &value)
void SetStatus(PackageVersionStatus &&value)
void SetPackageName(const Aws::String &value)
AWS_IOT_API PackageVersionSummary(Aws::Utils::Json::JsonView jsonValue)
PackageVersionSummary & WithPackageName(const char *value)
void SetStatus(const PackageVersionStatus &value)
void SetCreationDate(const Aws::Utils::DateTime &value)
PackageVersionSummary & WithPackageName(Aws::String &&value)
AWS_IOT_API PackageVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationDate() const
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
PackageVersionSummary & WithStatus(PackageVersionStatus &&value)
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
PackageVersionSummary & WithVersionName(const Aws::String &value)
PackageVersionSummary & WithCreationDate(Aws::Utils::DateTime &&value)
void SetCreationDate(Aws::Utils::DateTime &&value)
PackageVersionSummary & WithCreationDate(const Aws::Utils::DateTime &value)
PackageVersionSummary & WithLastModifiedDate(Aws::Utils::DateTime &&value)
PackageVersionSummary & WithVersionName(const char *value)
const PackageVersionStatus & GetStatus() const
void SetVersionName(const Aws::String &value)
PackageVersionSummary & WithVersionName(Aws::String &&value)
PackageVersionSummary & WithLastModifiedDate(const Aws::Utils::DateTime &value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue