AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
ExtensionSummary.h
1
6#pragma once
7#include <aws/cloudextensions/CloudExtensions_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CloudExtensions {
21namespace Model {
22
30 public:
31 AWS_CLOUDEXTENSIONS_API ExtensionSummary() = default;
32 AWS_CLOUDEXTENSIONS_API ExtensionSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CLOUDEXTENSIONS_API ExtensionSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CLOUDEXTENSIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetId() const { return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 template <typename IdT = Aws::String>
44 void SetId(IdT&& value) {
45 m_idHasBeenSet = true;
46 m_id = std::forward<IdT>(value);
47 }
48 template <typename IdT = Aws::String>
49 ExtensionSummary& WithId(IdT&& value) {
50 SetId(std::forward<IdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetDisplayName() const { return m_displayName; }
60 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
61 template <typename DisplayNameT = Aws::String>
62 void SetDisplayName(DisplayNameT&& value) {
63 m_displayNameHasBeenSet = true;
64 m_displayName = std::forward<DisplayNameT>(value);
65 }
66 template <typename DisplayNameT = Aws::String>
67 ExtensionSummary& WithDisplayName(DisplayNameT&& value) {
68 SetDisplayName(std::forward<DisplayNameT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetArn() const { return m_arn; }
78 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
79 template <typename ArnT = Aws::String>
80 void SetArn(ArnT&& value) {
81 m_arnHasBeenSet = true;
82 m_arn = std::forward<ArnT>(value);
83 }
84 template <typename ArnT = Aws::String>
85 ExtensionSummary& WithArn(ArnT&& value) {
86 SetArn(std::forward<ArnT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetVersion() const { return m_version; }
96 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
97 template <typename VersionT = Aws::String>
98 void SetVersion(VersionT&& value) {
99 m_versionHasBeenSet = true;
100 m_version = std::forward<VersionT>(value);
101 }
102 template <typename VersionT = Aws::String>
103 ExtensionSummary& WithVersion(VersionT&& value) {
104 SetVersion(std::forward<VersionT>(value));
105 return *this;
106 }
108
110
114 inline const Aws::String& GetOverview() const { return m_overview; }
115 inline bool OverviewHasBeenSet() const { return m_overviewHasBeenSet; }
116 template <typename OverviewT = Aws::String>
117 void SetOverview(OverviewT&& value) {
118 m_overviewHasBeenSet = true;
119 m_overview = std::forward<OverviewT>(value);
120 }
121 template <typename OverviewT = Aws::String>
122 ExtensionSummary& WithOverview(OverviewT&& value) {
123 SetOverview(std::forward<OverviewT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::String& GetDocumentationLink() const { return m_documentationLink; }
133 inline bool DocumentationLinkHasBeenSet() const { return m_documentationLinkHasBeenSet; }
134 template <typename DocumentationLinkT = Aws::String>
135 void SetDocumentationLink(DocumentationLinkT&& value) {
136 m_documentationLinkHasBeenSet = true;
137 m_documentationLink = std::forward<DocumentationLinkT>(value);
138 }
139 template <typename DocumentationLinkT = Aws::String>
140 ExtensionSummary& WithDocumentationLink(DocumentationLinkT&& value) {
141 SetDocumentationLink(std::forward<DocumentationLinkT>(value));
142 return *this;
143 }
145
147
150 inline const Aws::String& GetReleaseNotes() const { return m_releaseNotes; }
151 inline bool ReleaseNotesHasBeenSet() const { return m_releaseNotesHasBeenSet; }
152 template <typename ReleaseNotesT = Aws::String>
153 void SetReleaseNotes(ReleaseNotesT&& value) {
154 m_releaseNotesHasBeenSet = true;
155 m_releaseNotes = std::forward<ReleaseNotesT>(value);
156 }
157 template <typename ReleaseNotesT = Aws::String>
158 ExtensionSummary& WithReleaseNotes(ReleaseNotesT&& value) {
159 SetReleaseNotes(std::forward<ReleaseNotesT>(value));
160 return *this;
161 }
163
165
168 inline const Aws::Utils::DateTime& GetReleasedAt() const { return m_releasedAt; }
169 inline bool ReleasedAtHasBeenSet() const { return m_releasedAtHasBeenSet; }
170 template <typename ReleasedAtT = Aws::Utils::DateTime>
171 void SetReleasedAt(ReleasedAtT&& value) {
172 m_releasedAtHasBeenSet = true;
173 m_releasedAt = std::forward<ReleasedAtT>(value);
174 }
175 template <typename ReleasedAtT = Aws::Utils::DateTime>
176 ExtensionSummary& WithReleasedAt(ReleasedAtT&& value) {
177 SetReleasedAt(std::forward<ReleasedAtT>(value));
178 return *this;
179 }
181 private:
182 Aws::String m_id;
183
184 Aws::String m_displayName;
185
186 Aws::String m_arn;
187
188 Aws::String m_version;
189
190 Aws::String m_overview;
191
192 Aws::String m_documentationLink;
193
194 Aws::String m_releaseNotes;
195
196 Aws::Utils::DateTime m_releasedAt{};
197 bool m_idHasBeenSet = false;
198 bool m_displayNameHasBeenSet = false;
199 bool m_arnHasBeenSet = false;
200 bool m_versionHasBeenSet = false;
201 bool m_overviewHasBeenSet = false;
202 bool m_documentationLinkHasBeenSet = false;
203 bool m_releaseNotesHasBeenSet = false;
204 bool m_releasedAtHasBeenSet = false;
205};
206
207} // namespace Model
208} // namespace CloudExtensions
209} // namespace Aws
ExtensionSummary & WithReleaseNotes(ReleaseNotesT &&value)
AWS_CLOUDEXTENSIONS_API ExtensionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ExtensionSummary & WithDisplayName(DisplayNameT &&value)
AWS_CLOUDEXTENSIONS_API ExtensionSummary(Aws::Utils::Json::JsonView jsonValue)
ExtensionSummary & WithDocumentationLink(DocumentationLinkT &&value)
AWS_CLOUDEXTENSIONS_API ExtensionSummary()=default
AWS_CLOUDEXTENSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
ExtensionSummary & WithVersion(VersionT &&value)
ExtensionSummary & WithArn(ArnT &&value)
ExtensionSummary & WithReleasedAt(ReleasedAtT &&value)
const Aws::Utils::DateTime & GetReleasedAt() const
ExtensionSummary & WithOverview(OverviewT &&value)
void SetDocumentationLink(DocumentationLinkT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue