AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateMlflowTrackingServerRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/TrackingServerSize.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/sagemaker/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace SageMaker
18{
19namespace Model
20{
21
25 {
26 public:
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateMlflowTrackingServer"; }
34
35 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
36
38
39
41
45 inline const Aws::String& GetTrackingServerName() const{ return m_trackingServerName; }
46 inline bool TrackingServerNameHasBeenSet() const { return m_trackingServerNameHasBeenSet; }
47 inline void SetTrackingServerName(const Aws::String& value) { m_trackingServerNameHasBeenSet = true; m_trackingServerName = value; }
48 inline void SetTrackingServerName(Aws::String&& value) { m_trackingServerNameHasBeenSet = true; m_trackingServerName = std::move(value); }
49 inline void SetTrackingServerName(const char* value) { m_trackingServerNameHasBeenSet = true; m_trackingServerName.assign(value); }
52 inline CreateMlflowTrackingServerRequest& WithTrackingServerName(const char* value) { SetTrackingServerName(value); return *this;}
54
56
60 inline const Aws::String& GetArtifactStoreUri() const{ return m_artifactStoreUri; }
61 inline bool ArtifactStoreUriHasBeenSet() const { return m_artifactStoreUriHasBeenSet; }
62 inline void SetArtifactStoreUri(const Aws::String& value) { m_artifactStoreUriHasBeenSet = true; m_artifactStoreUri = value; }
63 inline void SetArtifactStoreUri(Aws::String&& value) { m_artifactStoreUriHasBeenSet = true; m_artifactStoreUri = std::move(value); }
64 inline void SetArtifactStoreUri(const char* value) { m_artifactStoreUriHasBeenSet = true; m_artifactStoreUri.assign(value); }
67 inline CreateMlflowTrackingServerRequest& WithArtifactStoreUri(const char* value) { SetArtifactStoreUri(value); return *this;}
69
71
81 inline const TrackingServerSize& GetTrackingServerSize() const{ return m_trackingServerSize; }
82 inline bool TrackingServerSizeHasBeenSet() const { return m_trackingServerSizeHasBeenSet; }
83 inline void SetTrackingServerSize(const TrackingServerSize& value) { m_trackingServerSizeHasBeenSet = true; m_trackingServerSize = value; }
84 inline void SetTrackingServerSize(TrackingServerSize&& value) { m_trackingServerSizeHasBeenSet = true; m_trackingServerSize = std::move(value); }
88
90
96 inline const Aws::String& GetMlflowVersion() const{ return m_mlflowVersion; }
97 inline bool MlflowVersionHasBeenSet() const { return m_mlflowVersionHasBeenSet; }
98 inline void SetMlflowVersion(const Aws::String& value) { m_mlflowVersionHasBeenSet = true; m_mlflowVersion = value; }
99 inline void SetMlflowVersion(Aws::String&& value) { m_mlflowVersionHasBeenSet = true; m_mlflowVersion = std::move(value); }
100 inline void SetMlflowVersion(const char* value) { m_mlflowVersionHasBeenSet = true; m_mlflowVersion.assign(value); }
102 inline CreateMlflowTrackingServerRequest& WithMlflowVersion(Aws::String&& value) { SetMlflowVersion(std::move(value)); return *this;}
103 inline CreateMlflowTrackingServerRequest& WithMlflowVersion(const char* value) { SetMlflowVersion(value); return *this;}
105
107
115 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
116 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
117 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
118 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
119 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
120 inline CreateMlflowTrackingServerRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
121 inline CreateMlflowTrackingServerRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
122 inline CreateMlflowTrackingServerRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
124
126
133 inline bool GetAutomaticModelRegistration() const{ return m_automaticModelRegistration; }
134 inline bool AutomaticModelRegistrationHasBeenSet() const { return m_automaticModelRegistrationHasBeenSet; }
135 inline void SetAutomaticModelRegistration(bool value) { m_automaticModelRegistrationHasBeenSet = true; m_automaticModelRegistration = value; }
138
140
145 inline const Aws::String& GetWeeklyMaintenanceWindowStart() const{ return m_weeklyMaintenanceWindowStart; }
146 inline bool WeeklyMaintenanceWindowStartHasBeenSet() const { return m_weeklyMaintenanceWindowStartHasBeenSet; }
147 inline void SetWeeklyMaintenanceWindowStart(const Aws::String& value) { m_weeklyMaintenanceWindowStartHasBeenSet = true; m_weeklyMaintenanceWindowStart = value; }
148 inline void SetWeeklyMaintenanceWindowStart(Aws::String&& value) { m_weeklyMaintenanceWindowStartHasBeenSet = true; m_weeklyMaintenanceWindowStart = std::move(value); }
149 inline void SetWeeklyMaintenanceWindowStart(const char* value) { m_weeklyMaintenanceWindowStartHasBeenSet = true; m_weeklyMaintenanceWindowStart.assign(value); }
154
156
160 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
161 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
162 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
163 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
164 inline CreateMlflowTrackingServerRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
165 inline CreateMlflowTrackingServerRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
166 inline CreateMlflowTrackingServerRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
167 inline CreateMlflowTrackingServerRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
169 private:
170
171 Aws::String m_trackingServerName;
172 bool m_trackingServerNameHasBeenSet = false;
173
174 Aws::String m_artifactStoreUri;
175 bool m_artifactStoreUriHasBeenSet = false;
176
177 TrackingServerSize m_trackingServerSize;
178 bool m_trackingServerSizeHasBeenSet = false;
179
180 Aws::String m_mlflowVersion;
181 bool m_mlflowVersionHasBeenSet = false;
182
183 Aws::String m_roleArn;
184 bool m_roleArnHasBeenSet = false;
185
186 bool m_automaticModelRegistration;
187 bool m_automaticModelRegistrationHasBeenSet = false;
188
189 Aws::String m_weeklyMaintenanceWindowStart;
190 bool m_weeklyMaintenanceWindowStartHasBeenSet = false;
191
192 Aws::Vector<Tag> m_tags;
193 bool m_tagsHasBeenSet = false;
194 };
195
196} // namespace Model
197} // namespace SageMaker
198} // namespace Aws
CreateMlflowTrackingServerRequest & WithMlflowVersion(const char *value)
CreateMlflowTrackingServerRequest & WithTrackingServerName(Aws::String &&value)
CreateMlflowTrackingServerRequest & WithRoleArn(Aws::String &&value)
CreateMlflowTrackingServerRequest & WithWeeklyMaintenanceWindowStart(const Aws::String &value)
CreateMlflowTrackingServerRequest & AddTags(const Tag &value)
CreateMlflowTrackingServerRequest & WithArtifactStoreUri(const Aws::String &value)
CreateMlflowTrackingServerRequest & WithArtifactStoreUri(Aws::String &&value)
CreateMlflowTrackingServerRequest & WithMlflowVersion(const Aws::String &value)
CreateMlflowTrackingServerRequest & WithTrackingServerName(const char *value)
CreateMlflowTrackingServerRequest & WithTags(Aws::Vector< Tag > &&value)
CreateMlflowTrackingServerRequest & WithWeeklyMaintenanceWindowStart(Aws::String &&value)
CreateMlflowTrackingServerRequest & WithTrackingServerName(const Aws::String &value)
CreateMlflowTrackingServerRequest & WithWeeklyMaintenanceWindowStart(const char *value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
CreateMlflowTrackingServerRequest & WithRoleArn(const char *value)
CreateMlflowTrackingServerRequest & WithTrackingServerSize(const TrackingServerSize &value)
CreateMlflowTrackingServerRequest & WithMlflowVersion(Aws::String &&value)
CreateMlflowTrackingServerRequest & WithAutomaticModelRegistration(bool value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateMlflowTrackingServerRequest & WithArtifactStoreUri(const char *value)
CreateMlflowTrackingServerRequest & WithTrackingServerSize(TrackingServerSize &&value)
CreateMlflowTrackingServerRequest & WithRoleArn(const Aws::String &value)
CreateMlflowTrackingServerRequest & WithTags(const Aws::Vector< Tag > &value)
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