AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
40
41
43
46 inline const Aws::String& GetPackageName() const { return m_packageName; }
47 inline bool PackageNameHasBeenSet() const { return m_packageNameHasBeenSet; }
48 template<typename PackageNameT = Aws::String>
49 void SetPackageName(PackageNameT&& value) { m_packageNameHasBeenSet = true; m_packageName = std::forward<PackageNameT>(value); }
50 template<typename PackageNameT = Aws::String>
51 PackageSummary& WithPackageName(PackageNameT&& value) { SetPackageName(std::forward<PackageNameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetDefaultVersionName() const { return m_defaultVersionName; }
59 inline bool DefaultVersionNameHasBeenSet() const { return m_defaultVersionNameHasBeenSet; }
60 template<typename DefaultVersionNameT = Aws::String>
61 void SetDefaultVersionName(DefaultVersionNameT&& value) { m_defaultVersionNameHasBeenSet = true; m_defaultVersionName = std::forward<DefaultVersionNameT>(value); }
62 template<typename DefaultVersionNameT = Aws::String>
63 PackageSummary& WithDefaultVersionName(DefaultVersionNameT&& value) { SetDefaultVersionName(std::forward<DefaultVersionNameT>(value)); return *this;}
65
67
70 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
71 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
72 template<typename CreationDateT = Aws::Utils::DateTime>
73 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
74 template<typename CreationDateT = Aws::Utils::DateTime>
75 PackageSummary& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
77
79
82 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
83 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
84 template<typename LastModifiedDateT = Aws::Utils::DateTime>
85 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
86 template<typename LastModifiedDateT = Aws::Utils::DateTime>
87 PackageSummary& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
89 private:
90
91 Aws::String m_packageName;
92 bool m_packageNameHasBeenSet = false;
93
94 Aws::String m_defaultVersionName;
95 bool m_defaultVersionNameHasBeenSet = false;
96
97 Aws::Utils::DateTime m_creationDate{};
98 bool m_creationDateHasBeenSet = false;
99
100 Aws::Utils::DateTime m_lastModifiedDate{};
101 bool m_lastModifiedDateHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace IoT
106} // namespace Aws
const Aws::Utils::DateTime & GetCreationDate() const
const Aws::String & GetDefaultVersionName() const
void SetDefaultVersionName(DefaultVersionNameT &&value)
AWS_IOT_API PackageSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
PackageSummary & WithDefaultVersionName(DefaultVersionNameT &&value)
void SetCreationDate(CreationDateT &&value)
PackageSummary & WithPackageName(PackageNameT &&value)
PackageSummary & WithLastModifiedDate(LastModifiedDateT &&value)
AWS_IOT_API PackageSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPackageName() const
AWS_IOT_API PackageSummary()=default
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastModifiedDate(LastModifiedDateT &&value)
void SetPackageName(PackageNameT &&value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
PackageSummary & WithCreationDate(CreationDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue