AWS SDK for C++

AWS SDK for C++ Version 1.11.819

Loading...
Searching...
No Matches
DescribeModelPackageGroupResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/ManagedConfiguration.h>
12#include <aws/sagemaker/model/ModelPackageGroupStatus.h>
13#include <aws/sagemaker/model/UserContext.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace SageMaker {
27namespace Model {
29 public:
30 AWS_SAGEMAKER_API DescribeModelPackageGroupResult() = default;
33
35
38 inline const Aws::String& GetModelPackageGroupName() const { return m_modelPackageGroupName; }
39 template <typename ModelPackageGroupNameT = Aws::String>
40 void SetModelPackageGroupName(ModelPackageGroupNameT&& value) {
41 m_modelPackageGroupNameHasBeenSet = true;
42 m_modelPackageGroupName = std::forward<ModelPackageGroupNameT>(value);
43 }
44 template <typename ModelPackageGroupNameT = Aws::String>
46 SetModelPackageGroupName(std::forward<ModelPackageGroupNameT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetModelPackageGroupArn() const { return m_modelPackageGroupArn; }
56 template <typename ModelPackageGroupArnT = Aws::String>
57 void SetModelPackageGroupArn(ModelPackageGroupArnT&& value) {
58 m_modelPackageGroupArnHasBeenSet = true;
59 m_modelPackageGroupArn = std::forward<ModelPackageGroupArnT>(value);
60 }
61 template <typename ModelPackageGroupArnT = Aws::String>
63 SetModelPackageGroupArn(std::forward<ModelPackageGroupArnT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetModelPackageGroupDescription() const { return m_modelPackageGroupDescription; }
73 template <typename ModelPackageGroupDescriptionT = Aws::String>
74 void SetModelPackageGroupDescription(ModelPackageGroupDescriptionT&& value) {
75 m_modelPackageGroupDescriptionHasBeenSet = true;
76 m_modelPackageGroupDescription = std::forward<ModelPackageGroupDescriptionT>(value);
77 }
78 template <typename ModelPackageGroupDescriptionT = Aws::String>
79 DescribeModelPackageGroupResult& WithModelPackageGroupDescription(ModelPackageGroupDescriptionT&& value) {
80 SetModelPackageGroupDescription(std::forward<ModelPackageGroupDescriptionT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
90 template <typename CreationTimeT = Aws::Utils::DateTime>
91 void SetCreationTime(CreationTimeT&& value) {
92 m_creationTimeHasBeenSet = true;
93 m_creationTime = std::forward<CreationTimeT>(value);
94 }
95 template <typename CreationTimeT = Aws::Utils::DateTime>
97 SetCreationTime(std::forward<CreationTimeT>(value));
98 return *this;
99 }
101
103
104 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
105 template <typename CreatedByT = UserContext>
106 void SetCreatedBy(CreatedByT&& value) {
107 m_createdByHasBeenSet = true;
108 m_createdBy = std::forward<CreatedByT>(value);
109 }
110 template <typename CreatedByT = UserContext>
112 SetCreatedBy(std::forward<CreatedByT>(value));
113 return *this;
114 }
116
118
121 inline ModelPackageGroupStatus GetModelPackageGroupStatus() const { return m_modelPackageGroupStatus; }
123 m_modelPackageGroupStatusHasBeenSet = true;
124 m_modelPackageGroupStatus = value;
125 }
128 return *this;
129 }
131
133
136 inline const ManagedConfiguration& GetManagedConfiguration() const { return m_managedConfiguration; }
137 template <typename ManagedConfigurationT = ManagedConfiguration>
138 void SetManagedConfiguration(ManagedConfigurationT&& value) {
139 m_managedConfigurationHasBeenSet = true;
140 m_managedConfiguration = std::forward<ManagedConfigurationT>(value);
141 }
142 template <typename ManagedConfigurationT = ManagedConfiguration>
144 SetManagedConfiguration(std::forward<ManagedConfigurationT>(value));
145 return *this;
146 }
148
150
151 inline const Aws::String& GetRequestId() const { return m_requestId; }
152 template <typename RequestIdT = Aws::String>
153 void SetRequestId(RequestIdT&& value) {
154 m_requestIdHasBeenSet = true;
155 m_requestId = std::forward<RequestIdT>(value);
156 }
157 template <typename RequestIdT = Aws::String>
159 SetRequestId(std::forward<RequestIdT>(value));
160 return *this;
161 }
163 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
164
165 private:
166 Aws::String m_modelPackageGroupName;
167
168 Aws::String m_modelPackageGroupArn;
169
170 Aws::String m_modelPackageGroupDescription;
171
172 Aws::Utils::DateTime m_creationTime{};
173
174 UserContext m_createdBy;
175
177
178 ManagedConfiguration m_managedConfiguration;
179
180 Aws::String m_requestId;
181 Aws::Http::HttpResponseCode m_HttpResponseCode;
182 bool m_modelPackageGroupNameHasBeenSet = false;
183 bool m_modelPackageGroupArnHasBeenSet = false;
184 bool m_modelPackageGroupDescriptionHasBeenSet = false;
185 bool m_creationTimeHasBeenSet = false;
186 bool m_createdByHasBeenSet = false;
187 bool m_modelPackageGroupStatusHasBeenSet = false;
188 bool m_managedConfigurationHasBeenSet = false;
189 bool m_requestIdHasBeenSet = false;
190};
191
192} // namespace Model
193} // namespace SageMaker
194} // namespace Aws
DescribeModelPackageGroupResult & WithManagedConfiguration(ManagedConfigurationT &&value)
DescribeModelPackageGroupResult & WithModelPackageGroupStatus(ModelPackageGroupStatus value)
void SetModelPackageGroupDescription(ModelPackageGroupDescriptionT &&value)
DescribeModelPackageGroupResult & WithModelPackageGroupArn(ModelPackageGroupArnT &&value)
AWS_SAGEMAKER_API DescribeModelPackageGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeModelPackageGroupResult & WithRequestId(RequestIdT &&value)
DescribeModelPackageGroupResult & WithCreatedBy(CreatedByT &&value)
AWS_SAGEMAKER_API DescribeModelPackageGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeModelPackageGroupResult & WithCreationTime(CreationTimeT &&value)
DescribeModelPackageGroupResult & WithModelPackageGroupName(ModelPackageGroupNameT &&value)
DescribeModelPackageGroupResult & WithModelPackageGroupDescription(ModelPackageGroupDescriptionT &&value)
AWS_SAGEMAKER_API DescribeModelPackageGroupResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue