AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetPackageResult.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{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace IoT
25{
26namespace Model
27{
29 {
30 public:
31 AWS_IOT_API GetPackageResult();
34
35
37
40 inline const Aws::String& GetPackageName() const{ return m_packageName; }
41 inline void SetPackageName(const Aws::String& value) { m_packageName = value; }
42 inline void SetPackageName(Aws::String&& value) { m_packageName = std::move(value); }
43 inline void SetPackageName(const char* value) { m_packageName.assign(value); }
44 inline GetPackageResult& WithPackageName(const Aws::String& value) { SetPackageName(value); return *this;}
45 inline GetPackageResult& WithPackageName(Aws::String&& value) { SetPackageName(std::move(value)); return *this;}
46 inline GetPackageResult& WithPackageName(const char* value) { SetPackageName(value); return *this;}
48
50
53 inline const Aws::String& GetPackageArn() const{ return m_packageArn; }
54 inline void SetPackageArn(const Aws::String& value) { m_packageArn = value; }
55 inline void SetPackageArn(Aws::String&& value) { m_packageArn = std::move(value); }
56 inline void SetPackageArn(const char* value) { m_packageArn.assign(value); }
57 inline GetPackageResult& WithPackageArn(const Aws::String& value) { SetPackageArn(value); return *this;}
58 inline GetPackageResult& WithPackageArn(Aws::String&& value) { SetPackageArn(std::move(value)); return *this;}
59 inline GetPackageResult& WithPackageArn(const char* value) { SetPackageArn(value); return *this;}
61
63
66 inline const Aws::String& GetDescription() const{ return m_description; }
67 inline void SetDescription(const Aws::String& value) { m_description = value; }
68 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
69 inline void SetDescription(const char* value) { m_description.assign(value); }
70 inline GetPackageResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
71 inline GetPackageResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
72 inline GetPackageResult& WithDescription(const char* value) { SetDescription(value); return *this;}
74
76
79 inline const Aws::String& GetDefaultVersionName() const{ return m_defaultVersionName; }
80 inline void SetDefaultVersionName(const Aws::String& value) { m_defaultVersionName = value; }
81 inline void SetDefaultVersionName(Aws::String&& value) { m_defaultVersionName = std::move(value); }
82 inline void SetDefaultVersionName(const char* value) { m_defaultVersionName.assign(value); }
83 inline GetPackageResult& WithDefaultVersionName(const Aws::String& value) { SetDefaultVersionName(value); return *this;}
84 inline GetPackageResult& WithDefaultVersionName(Aws::String&& value) { SetDefaultVersionName(std::move(value)); return *this;}
85 inline GetPackageResult& WithDefaultVersionName(const char* value) { SetDefaultVersionName(value); return *this;}
87
89
92 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
93 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
94 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
95 inline GetPackageResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
96 inline GetPackageResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
98
100
103 inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
104 inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDate = value; }
105 inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDate = std::move(value); }
107 inline GetPackageResult& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
109
111
112 inline const Aws::String& GetRequestId() const{ return m_requestId; }
113 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
114 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
115 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
116 inline GetPackageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
117 inline GetPackageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
118 inline GetPackageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
120 private:
121
122 Aws::String m_packageName;
123
124 Aws::String m_packageArn;
125
126 Aws::String m_description;
127
128 Aws::String m_defaultVersionName;
129
130 Aws::Utils::DateTime m_creationDate;
131
132 Aws::Utils::DateTime m_lastModifiedDate;
133
134 Aws::String m_requestId;
135 };
136
137} // namespace Model
138} // namespace IoT
139} // namespace Aws
const Aws::String & GetRequestId() const
const Aws::String & GetPackageName() const
GetPackageResult & WithDescription(const Aws::String &value)
AWS_IOT_API GetPackageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetDefaultVersionName() const
const Aws::Utils::DateTime & GetLastModifiedDate() const
void SetDefaultVersionName(Aws::String &&value)
void SetDescription(const char *value)
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetCreationDate() const
void SetRequestId(Aws::String &&value)
void SetDescription(Aws::String &&value)
void SetCreationDate(const Aws::Utils::DateTime &value)
void SetDefaultVersionName(const char *value)
GetPackageResult & WithLastModifiedDate(Aws::Utils::DateTime &&value)
GetPackageResult & WithLastModifiedDate(const Aws::Utils::DateTime &value)
void SetCreationDate(Aws::Utils::DateTime &&value)
GetPackageResult & WithRequestId(Aws::String &&value)
AWS_IOT_API GetPackageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPackageResult & WithDescription(Aws::String &&value)
const Aws::String & GetPackageArn() const
void SetPackageArn(Aws::String &&value)
void SetPackageArn(const Aws::String &value)
GetPackageResult & WithDefaultVersionName(const char *value)
GetPackageResult & WithPackageArn(const Aws::String &value)
void SetDescription(const Aws::String &value)
void SetPackageName(const Aws::String &value)
void SetRequestId(const char *value)
GetPackageResult & WithPackageName(Aws::String &&value)
GetPackageResult & WithPackageName(const char *value)
void SetPackageName(Aws::String &&value)
GetPackageResult & WithPackageArn(const char *value)
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
GetPackageResult & WithPackageArn(Aws::String &&value)
GetPackageResult & WithCreationDate(Aws::Utils::DateTime &&value)
GetPackageResult & WithRequestId(const char *value)
void SetRequestId(const Aws::String &value)
void SetPackageName(const char *value)
GetPackageResult & WithCreationDate(const Aws::Utils::DateTime &value)
GetPackageResult & WithDefaultVersionName(const Aws::String &value)
GetPackageResult & WithDescription(const char *value)
void SetDefaultVersionName(const Aws::String &value)
GetPackageResult & WithRequestId(const Aws::String &value)
GetPackageResult & WithDefaultVersionName(Aws::String &&value)
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
GetPackageResult & WithPackageName(const Aws::String &value)
void SetPackageArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue