AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PackageSummary.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoT
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOT_API PackageSummary();
40
41
43
46 inline const Aws::String& GetPackageName() const{ return m_packageName; }
47 inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; }
48 inline void SetPackageName(const Aws::String& value) { m_packageNameHasBeenSet = true; m_packageName = value; }
49 inline void SetPackageName(Aws::String&& value) { m_packageNameHasBeenSet = true; m_packageName = std::move(value); }
50 inline void SetPackageName(const char* value) { m_packageNameHasBeenSet = true; m_packageName.assign(value); }
51 inline PackageSummary& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;}
52 inline PackageSummary& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;}
53 inline PackageSummary& WithPackageName(const char* value) { SetPackageName(value); return *this;}
55
57
60 inline const Aws::String& GetDefaultVersionName() const{ return m_defaultVersionName; }
61 inline bool DefaultVersionNameHasBeenSet() const { return m_defaultVersionNameHasBeenSet; }
62 inline void SetDefaultVersionName(const Aws::String& value) { m_defaultVersionNameHasBeenSet = true; m_defaultVersionName = value; }
63 inline void SetDefaultVersionName(Aws::String&& value) { m_defaultVersionNameHasBeenSet = true; m_defaultVersionName = std::move(value); }
64 inline void SetDefaultVersionName(const char* value) { m_defaultVersionNameHasBeenSet = true; m_defaultVersionName.assign(value); }
65 inline PackageSummary& WithDefaultVersionName(const Aws::String& value) { SetDefaultVersionName(value); return *this;}
66 inline PackageSummary& WithDefaultVersionName(Aws::String&& value) { SetDefaultVersionName(std::move(value)); return *this;}
67 inline PackageSummary& WithDefaultVersionName(const char* value) { SetDefaultVersionName(value); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
75 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
76 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
77 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
78 inline PackageSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
79 inline PackageSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
87 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
88 inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
89 inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
90 inline PackageSummary& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;}
91 inline PackageSummary& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
93 private:
94
95 Aws::String m_packageName;
96 bool m_packageNameHasBeenSet = false;
97
98 Aws::String m_defaultVersionName;
99 bool m_defaultVersionNameHasBeenSet = false;
100
101 Aws::Utils::DateTime m_creationDate;
102 bool m_creationDateHasBeenSet = false;
103
104 Aws::Utils::DateTime m_lastModifiedDate;
105 bool m_lastModifiedDateHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace IoT
110} // namespace Aws
const Aws::Utils::DateTime & GetCreationDate() const
const Aws::String & GetDefaultVersionName() const
void SetDefaultVersionName(Aws::String &&value)
PackageSummary & WithPackageName(const char *value)
void SetPackageName(Aws::String &&value)
PackageSummary & WithPackageName(Aws::String &&value)
PackageSummary & WithCreationDate(Aws::Utils::DateTime &&value)
AWS_IOT_API PackageSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
PackageSummary & WithPackageName(const Aws::String &value)
void SetPackageName(const char *value)
void SetCreationDate(const Aws::Utils::DateTime &value)
PackageSummary & WithLastModifiedDate(const Aws::Utils::DateTime &value)
PackageSummary & WithLastModifiedDate(Aws::Utils::DateTime &&value)
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
PackageSummary & WithDefaultVersionName(const Aws::String &value)
void SetDefaultVersionName(const char *value)
AWS_IOT_API PackageSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPackageName() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDefaultVersionName(const Aws::String &value)
PackageSummary & WithCreationDate(const Aws::Utils::DateTime &value)
void SetCreationDate(Aws::Utils::DateTime &&value)
PackageSummary & WithDefaultVersionName(Aws::String &&value)
PackageSummary & WithDefaultVersionName(const char *value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
void SetPackageName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue