AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
34
35
37
40 inline const Aws::String& GetPackageName() const { return m_packageName; }
41 template<typename PackageNameT = Aws::String>
42 void SetPackageName(PackageNameT&& value) { m_packageNameHasBeenSet = true; m_packageName = std::forward<PackageNameT>(value); }
43 template<typename PackageNameT = Aws::String>
44 GetPackageResult& WithPackageName(PackageNameT&& value) { SetPackageName(std::forward<PackageNameT>(value)); return *this;}
46
48
51 inline const Aws::String& GetPackageArn() const { return m_packageArn; }
52 template<typename PackageArnT = Aws::String>
53 void SetPackageArn(PackageArnT&& value) { m_packageArnHasBeenSet = true; m_packageArn = std::forward<PackageArnT>(value); }
54 template<typename PackageArnT = Aws::String>
55 GetPackageResult& WithPackageArn(PackageArnT&& value) { SetPackageArn(std::forward<PackageArnT>(value)); return *this;}
57
59
62 inline const Aws::String& GetDescription() const { return m_description; }
63 template<typename DescriptionT = Aws::String>
64 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
65 template<typename DescriptionT = Aws::String>
66 GetPackageResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
68
70
73 inline const Aws::String& GetDefaultVersionName() const { return m_defaultVersionName; }
74 template<typename DefaultVersionNameT = Aws::String>
75 void SetDefaultVersionName(DefaultVersionNameT&& value) { m_defaultVersionNameHasBeenSet = true; m_defaultVersionName = std::forward<DefaultVersionNameT>(value); }
76 template<typename DefaultVersionNameT = Aws::String>
77 GetPackageResult& WithDefaultVersionName(DefaultVersionNameT&& value) { SetDefaultVersionName(std::forward<DefaultVersionNameT>(value)); return *this;}
79
81
84 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
85 template<typename CreationDateT = Aws::Utils::DateTime>
86 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
87 template<typename CreationDateT = Aws::Utils::DateTime>
88 GetPackageResult& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
96 template<typename LastModifiedDateT = Aws::Utils::DateTime>
97 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
98 template<typename LastModifiedDateT = Aws::Utils::DateTime>
99 GetPackageResult& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
101
103
104 inline const Aws::String& GetRequestId() const { return m_requestId; }
105 template<typename RequestIdT = Aws::String>
106 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
107 template<typename RequestIdT = Aws::String>
108 GetPackageResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
110 private:
111
112 Aws::String m_packageName;
113 bool m_packageNameHasBeenSet = false;
114
115 Aws::String m_packageArn;
116 bool m_packageArnHasBeenSet = false;
117
118 Aws::String m_description;
119 bool m_descriptionHasBeenSet = false;
120
121 Aws::String m_defaultVersionName;
122 bool m_defaultVersionNameHasBeenSet = false;
123
124 Aws::Utils::DateTime m_creationDate{};
125 bool m_creationDateHasBeenSet = false;
126
127 Aws::Utils::DateTime m_lastModifiedDate{};
128 bool m_lastModifiedDateHasBeenSet = false;
129
130 Aws::String m_requestId;
131 bool m_requestIdHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace IoT
136} // namespace Aws
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetPackageName() const
AWS_IOT_API GetPackageResult()=default
GetPackageResult & WithLastModifiedDate(LastModifiedDateT &&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
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetCreationDate() const
void SetPackageName(PackageNameT &&value)
AWS_IOT_API GetPackageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetPackageArn(PackageArnT &&value)
const Aws::String & GetPackageArn() const
GetPackageResult & WithDefaultVersionName(DefaultVersionNameT &&value)
GetPackageResult & WithCreationDate(CreationDateT &&value)
GetPackageResult & WithRequestId(RequestIdT &&value)
void SetDescription(DescriptionT &&value)
void SetCreationDate(CreationDateT &&value)
GetPackageResult & WithDescription(DescriptionT &&value)
void SetLastModifiedDate(LastModifiedDateT &&value)
GetPackageResult & WithPackageName(PackageNameT &&value)
GetPackageResult & WithPackageArn(PackageArnT &&value)
void SetDefaultVersionName(DefaultVersionNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue