AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
GetProfileResult.h
1
6#pragma once
7#include <aws/cloudextensions/CloudExtensions_EXPORTS.h>
8#include <aws/cloudextensions/model/ExtensionDefaults.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace CloudExtensions {
25namespace Model {
34 public:
35 AWS_CLOUDEXTENSIONS_API GetProfileResult() = default;
38
40
43 inline const Aws::String& GetId() const { return m_id; }
44 template <typename IdT = Aws::String>
45 void SetId(IdT&& value) {
46 m_idHasBeenSet = true;
47 m_id = std::forward<IdT>(value);
48 }
49 template <typename IdT = Aws::String>
50 GetProfileResult& WithId(IdT&& value) {
51 SetId(std::forward<IdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetName() const { return m_name; }
61 template <typename NameT = Aws::String>
62 void SetName(NameT&& value) {
63 m_nameHasBeenSet = true;
64 m_name = std::forward<NameT>(value);
65 }
66 template <typename NameT = Aws::String>
67 GetProfileResult& WithName(NameT&& value) {
68 SetName(std::forward<NameT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetArn() const { return m_arn; }
78 template <typename ArnT = Aws::String>
79 void SetArn(ArnT&& value) {
80 m_arnHasBeenSet = true;
81 m_arn = std::forward<ArnT>(value);
82 }
83 template <typename ArnT = Aws::String>
84 GetProfileResult& WithArn(ArnT&& value) {
85 SetArn(std::forward<ArnT>(value));
86 return *this;
87 }
89
91
94 inline int GetEntryCount() const { return m_entryCount; }
95 inline void SetEntryCount(int value) {
96 m_entryCountHasBeenSet = true;
97 m_entryCount = value;
98 }
99 inline GetProfileResult& WithEntryCount(int value) {
100 SetEntryCount(value);
101 return *this;
102 }
104
106
109 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
110 template <typename CreatedAtT = Aws::Utils::DateTime>
111 void SetCreatedAt(CreatedAtT&& value) {
112 m_createdAtHasBeenSet = true;
113 m_createdAt = std::forward<CreatedAtT>(value);
114 }
115 template <typename CreatedAtT = Aws::Utils::DateTime>
116 GetProfileResult& WithCreatedAt(CreatedAtT&& value) {
117 SetCreatedAt(std::forward<CreatedAtT>(value));
118 return *this;
119 }
121
123
127 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
128 template <typename UpdatedAtT = Aws::Utils::DateTime>
129 void SetUpdatedAt(UpdatedAtT&& value) {
130 m_updatedAtHasBeenSet = true;
131 m_updatedAt = std::forward<UpdatedAtT>(value);
132 }
133 template <typename UpdatedAtT = Aws::Utils::DateTime>
134 GetProfileResult& WithUpdatedAt(UpdatedAtT&& value) {
135 SetUpdatedAt(std::forward<UpdatedAtT>(value));
136 return *this;
137 }
139
141
145 inline const Aws::String& GetDescription() const { return m_description; }
146 template <typename DescriptionT = Aws::String>
147 void SetDescription(DescriptionT&& value) {
148 m_descriptionHasBeenSet = true;
149 m_description = std::forward<DescriptionT>(value);
150 }
151 template <typename DescriptionT = Aws::String>
152 GetProfileResult& WithDescription(DescriptionT&& value) {
153 SetDescription(std::forward<DescriptionT>(value));
154 return *this;
155 }
157
159
163 inline const ExtensionDefaults& GetExtensionDefaults() const { return m_extensionDefaults; }
164 template <typename ExtensionDefaultsT = ExtensionDefaults>
165 void SetExtensionDefaults(ExtensionDefaultsT&& value) {
166 m_extensionDefaultsHasBeenSet = true;
167 m_extensionDefaults = std::forward<ExtensionDefaultsT>(value);
168 }
169 template <typename ExtensionDefaultsT = ExtensionDefaults>
170 GetProfileResult& WithExtensionDefaults(ExtensionDefaultsT&& value) {
171 SetExtensionDefaults(std::forward<ExtensionDefaultsT>(value));
172 return *this;
173 }
175
177
178 inline const Aws::String& GetRequestId() const { return m_requestId; }
179 template <typename RequestIdT = Aws::String>
180 void SetRequestId(RequestIdT&& value) {
181 m_requestIdHasBeenSet = true;
182 m_requestId = std::forward<RequestIdT>(value);
183 }
184 template <typename RequestIdT = Aws::String>
185 GetProfileResult& WithRequestId(RequestIdT&& value) {
186 SetRequestId(std::forward<RequestIdT>(value));
187 return *this;
188 }
190 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
191
192 private:
193 Aws::String m_id;
194
195 Aws::String m_name;
196
197 Aws::String m_arn;
198
199 int m_entryCount{0};
200
201 Aws::Utils::DateTime m_createdAt{};
202
203 Aws::Utils::DateTime m_updatedAt{};
204
205 Aws::String m_description;
206
207 ExtensionDefaults m_extensionDefaults;
208
209 Aws::String m_requestId;
210 Aws::Http::HttpResponseCode m_HttpResponseCode;
211 bool m_idHasBeenSet = false;
212 bool m_nameHasBeenSet = false;
213 bool m_arnHasBeenSet = false;
214 bool m_entryCountHasBeenSet = false;
215 bool m_createdAtHasBeenSet = false;
216 bool m_updatedAtHasBeenSet = false;
217 bool m_descriptionHasBeenSet = false;
218 bool m_extensionDefaultsHasBeenSet = false;
219 bool m_requestIdHasBeenSet = false;
220};
221
222} // namespace Model
223} // namespace CloudExtensions
224} // namespace Aws
const Aws::Utils::DateTime & GetUpdatedAt() const
const ExtensionDefaults & GetExtensionDefaults() const
GetProfileResult & WithName(NameT &&value)
GetProfileResult & WithEntryCount(int value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetProfileResult & WithDescription(DescriptionT &&value)
GetProfileResult & WithExtensionDefaults(ExtensionDefaultsT &&value)
AWS_CLOUDEXTENSIONS_API GetProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetProfileResult & WithUpdatedAt(UpdatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_CLOUDEXTENSIONS_API GetProfileResult()=default
AWS_CLOUDEXTENSIONS_API GetProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetProfileResult & WithRequestId(RequestIdT &&value)
GetProfileResult & WithCreatedAt(CreatedAtT &&value)
GetProfileResult & WithArn(ArnT &&value)
void SetExtensionDefaults(ExtensionDefaultsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue