AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
UpdateMlflowAppRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/SageMakerRequest.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/AccountDefaultStatus.h>
12#include <aws/sagemaker/model/ModelRegistrationMode.h>
13
14#include <utility>
15
16namespace Aws {
17namespace SageMaker {
18namespace Model {
19
23 public:
24 AWS_SAGEMAKER_API UpdateMlflowAppRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateMlflowApp"; }
31
32 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
33
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
42 template <typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) {
44 m_arnHasBeenSet = true;
45 m_arn = std::forward<ArnT>(value);
46 }
47 template <typename ArnT = Aws::String>
49 SetArn(std::forward<ArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template <typename NameT = Aws::String>
61 void SetName(NameT&& value) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetArtifactStoreUri() const { return m_artifactStoreUri; }
78 inline bool ArtifactStoreUriHasBeenSet() const { return m_artifactStoreUriHasBeenSet; }
79 template <typename ArtifactStoreUriT = Aws::String>
80 void SetArtifactStoreUri(ArtifactStoreUriT&& value) {
81 m_artifactStoreUriHasBeenSet = true;
82 m_artifactStoreUri = std::forward<ArtifactStoreUriT>(value);
83 }
84 template <typename ArtifactStoreUriT = Aws::String>
85 UpdateMlflowAppRequest& WithArtifactStoreUri(ArtifactStoreUriT&& value) {
86 SetArtifactStoreUri(std::forward<ArtifactStoreUriT>(value));
87 return *this;
88 }
90
92
100 inline ModelRegistrationMode GetModelRegistrationMode() const { return m_modelRegistrationMode; }
101 inline bool ModelRegistrationModeHasBeenSet() const { return m_modelRegistrationModeHasBeenSet; }
103 m_modelRegistrationModeHasBeenSet = true;
104 m_modelRegistrationMode = value;
105 }
108 return *this;
109 }
111
113
118 inline const Aws::String& GetWeeklyMaintenanceWindowStart() const { return m_weeklyMaintenanceWindowStart; }
119 inline bool WeeklyMaintenanceWindowStartHasBeenSet() const { return m_weeklyMaintenanceWindowStartHasBeenSet; }
120 template <typename WeeklyMaintenanceWindowStartT = Aws::String>
121 void SetWeeklyMaintenanceWindowStart(WeeklyMaintenanceWindowStartT&& value) {
122 m_weeklyMaintenanceWindowStartHasBeenSet = true;
123 m_weeklyMaintenanceWindowStart = std::forward<WeeklyMaintenanceWindowStartT>(value);
124 }
125 template <typename WeeklyMaintenanceWindowStartT = Aws::String>
126 UpdateMlflowAppRequest& WithWeeklyMaintenanceWindowStart(WeeklyMaintenanceWindowStartT&& value) {
127 SetWeeklyMaintenanceWindowStart(std::forward<WeeklyMaintenanceWindowStartT>(value));
128 return *this;
129 }
131
133
136 inline const Aws::Vector<Aws::String>& GetDefaultDomainIdList() const { return m_defaultDomainIdList; }
137 inline bool DefaultDomainIdListHasBeenSet() const { return m_defaultDomainIdListHasBeenSet; }
138 template <typename DefaultDomainIdListT = Aws::Vector<Aws::String>>
139 void SetDefaultDomainIdList(DefaultDomainIdListT&& value) {
140 m_defaultDomainIdListHasBeenSet = true;
141 m_defaultDomainIdList = std::forward<DefaultDomainIdListT>(value);
142 }
143 template <typename DefaultDomainIdListT = Aws::Vector<Aws::String>>
144 UpdateMlflowAppRequest& WithDefaultDomainIdList(DefaultDomainIdListT&& value) {
145 SetDefaultDomainIdList(std::forward<DefaultDomainIdListT>(value));
146 return *this;
147 }
148 template <typename DefaultDomainIdListT = Aws::String>
149 UpdateMlflowAppRequest& AddDefaultDomainIdList(DefaultDomainIdListT&& value) {
150 m_defaultDomainIdListHasBeenSet = true;
151 m_defaultDomainIdList.emplace_back(std::forward<DefaultDomainIdListT>(value));
152 return *this;
153 }
155
157
160 inline AccountDefaultStatus GetAccountDefaultStatus() const { return m_accountDefaultStatus; }
161 inline bool AccountDefaultStatusHasBeenSet() const { return m_accountDefaultStatusHasBeenSet; }
163 m_accountDefaultStatusHasBeenSet = true;
164 m_accountDefaultStatus = value;
165 }
168 return *this;
169 }
171 private:
172 Aws::String m_arn;
173
174 Aws::String m_name;
175
176 Aws::String m_artifactStoreUri;
177
179
180 Aws::String m_weeklyMaintenanceWindowStart;
181
182 Aws::Vector<Aws::String> m_defaultDomainIdList;
183
185 bool m_arnHasBeenSet = false;
186 bool m_nameHasBeenSet = false;
187 bool m_artifactStoreUriHasBeenSet = false;
188 bool m_modelRegistrationModeHasBeenSet = false;
189 bool m_weeklyMaintenanceWindowStartHasBeenSet = false;
190 bool m_defaultDomainIdListHasBeenSet = false;
191 bool m_accountDefaultStatusHasBeenSet = false;
192};
193
194} // namespace Model
195} // namespace SageMaker
196} // namespace Aws
void SetAccountDefaultStatus(AccountDefaultStatus value)
UpdateMlflowAppRequest & WithAccountDefaultStatus(AccountDefaultStatus value)
UpdateMlflowAppRequest & WithModelRegistrationMode(ModelRegistrationMode value)
UpdateMlflowAppRequest & WithArn(ArnT &&value)
void SetWeeklyMaintenanceWindowStart(WeeklyMaintenanceWindowStartT &&value)
virtual const char * GetServiceRequestName() const override
UpdateMlflowAppRequest & WithName(NameT &&value)
void SetDefaultDomainIdList(DefaultDomainIdListT &&value)
AWS_SAGEMAKER_API UpdateMlflowAppRequest()=default
UpdateMlflowAppRequest & WithWeeklyMaintenanceWindowStart(WeeklyMaintenanceWindowStartT &&value)
UpdateMlflowAppRequest & AddDefaultDomainIdList(DefaultDomainIdListT &&value)
const Aws::Vector< Aws::String > & GetDefaultDomainIdList() const
UpdateMlflowAppRequest & WithArtifactStoreUri(ArtifactStoreUriT &&value)
void SetModelRegistrationMode(ModelRegistrationMode value)
UpdateMlflowAppRequest & WithDefaultDomainIdList(DefaultDomainIdListT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetArtifactStoreUri(ArtifactStoreUriT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector