AWS SDK for C++  1.9.40
AWS SDK for C++
UpdateExperimentRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SageMaker
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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 "UpdateExperiment"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetExperimentName() const{ return m_experimentName; }
41 
45  inline bool ExperimentNameHasBeenSet() const { return m_experimentNameHasBeenSet; }
46 
50  inline void SetExperimentName(const Aws::String& value) { m_experimentNameHasBeenSet = true; m_experimentName = value; }
51 
55  inline void SetExperimentName(Aws::String&& value) { m_experimentNameHasBeenSet = true; m_experimentName = std::move(value); }
56 
60  inline void SetExperimentName(const char* value) { m_experimentNameHasBeenSet = true; m_experimentName.assign(value); }
61 
65  inline UpdateExperimentRequest& WithExperimentName(const Aws::String& value) { SetExperimentName(value); return *this;}
66 
70  inline UpdateExperimentRequest& WithExperimentName(Aws::String&& value) { SetExperimentName(std::move(value)); return *this;}
71 
75  inline UpdateExperimentRequest& WithExperimentName(const char* value) { SetExperimentName(value); return *this;}
76 
77 
83  inline const Aws::String& GetDisplayName() const{ return m_displayName; }
84 
90  inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
91 
97  inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
98 
104  inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
105 
111  inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
112 
118  inline UpdateExperimentRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
119 
125  inline UpdateExperimentRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
126 
132  inline UpdateExperimentRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
133 
134 
138  inline const Aws::String& GetDescription() const{ return m_description; }
139 
143  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
144 
148  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
149 
153  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
154 
158  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
159 
163  inline UpdateExperimentRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
164 
168  inline UpdateExperimentRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
169 
173  inline UpdateExperimentRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
174 
175  private:
176 
177  Aws::String m_experimentName;
178  bool m_experimentNameHasBeenSet;
179 
180  Aws::String m_displayName;
181  bool m_displayNameHasBeenSet;
182 
183  Aws::String m_description;
184  bool m_descriptionHasBeenSet;
185  };
186 
187 } // namespace Model
188 } // namespace SageMaker
189 } // namespace Aws
Aws::SageMaker::Model::UpdateExperimentRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateExperimentRequest.h:158
Aws::SageMaker::Model::UpdateExperimentRequest::WithExperimentName
UpdateExperimentRequest & WithExperimentName(const char *value)
Definition: UpdateExperimentRequest.h:75
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::UpdateExperimentRequest::WithExperimentName
UpdateExperimentRequest & WithExperimentName(const Aws::String &value)
Definition: UpdateExperimentRequest.h:65
SageMaker_EXPORTS.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::UpdateExperimentRequest::WithDisplayName
UpdateExperimentRequest & WithDisplayName(const char *value)
Definition: UpdateExperimentRequest.h:132
Aws::SageMaker::Model::UpdateExperimentRequest::WithDisplayName
UpdateExperimentRequest & WithDisplayName(Aws::String &&value)
Definition: UpdateExperimentRequest.h:125
Aws::SageMaker::Model::UpdateExperimentRequest::SetDisplayName
void SetDisplayName(const char *value)
Definition: UpdateExperimentRequest.h:111
Aws::SageMaker::Model::UpdateExperimentRequest::WithDisplayName
UpdateExperimentRequest & WithDisplayName(const Aws::String &value)
Definition: UpdateExperimentRequest.h:118
Aws::SageMaker::Model::UpdateExperimentRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::UpdateExperimentRequest::SetExperimentName
void SetExperimentName(const char *value)
Definition: UpdateExperimentRequest.h:60
Aws::SageMaker::Model::UpdateExperimentRequest::WithDescription
UpdateExperimentRequest & WithDescription(const char *value)
Definition: UpdateExperimentRequest.h:173
Aws::SageMaker::Model::UpdateExperimentRequest::SetDisplayName
void SetDisplayName(const Aws::String &value)
Definition: UpdateExperimentRequest.h:97
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::UpdateExperimentRequest::WithDescription
UpdateExperimentRequest & WithDescription(Aws::String &&value)
Definition: UpdateExperimentRequest.h:168
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::UpdateExperimentRequest::GetExperimentName
const Aws::String & GetExperimentName() const
Definition: UpdateExperimentRequest.h:40
Aws::SageMaker::Model::UpdateExperimentRequest
Definition: UpdateExperimentRequest.h:22
Aws::SageMaker::Model::UpdateExperimentRequest::SetDisplayName
void SetDisplayName(Aws::String &&value)
Definition: UpdateExperimentRequest.h:104
Aws::SageMaker::Model::UpdateExperimentRequest::WithDescription
UpdateExperimentRequest & WithDescription(const Aws::String &value)
Definition: UpdateExperimentRequest.h:163
Aws::SageMaker::Model::UpdateExperimentRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateExperimentRequest.h:153
AWSString.h
Aws::SageMaker::Model::UpdateExperimentRequest::GetDisplayName
const Aws::String & GetDisplayName() const
Definition: UpdateExperimentRequest.h:83
Aws::SageMaker::Model::UpdateExperimentRequest::DisplayNameHasBeenSet
bool DisplayNameHasBeenSet() const
Definition: UpdateExperimentRequest.h:90
Aws::SageMaker::Model::UpdateExperimentRequest::SetExperimentName
void SetExperimentName(Aws::String &&value)
Definition: UpdateExperimentRequest.h:55
Aws::SageMaker::Model::UpdateExperimentRequest::SetExperimentName
void SetExperimentName(const Aws::String &value)
Definition: UpdateExperimentRequest.h:50
Aws
Definition: AccessManagementClient.h:15
SageMakerRequest.h
Aws::SageMaker::Model::UpdateExperimentRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateExperimentRequest.h:143
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::UpdateExperimentRequest::UpdateExperimentRequest
UpdateExperimentRequest()
Aws::SageMaker::Model::UpdateExperimentRequest::WithExperimentName
UpdateExperimentRequest & WithExperimentName(Aws::String &&value)
Definition: UpdateExperimentRequest.h:70
Aws::SageMaker::Model::UpdateExperimentRequest::ExperimentNameHasBeenSet
bool ExperimentNameHasBeenSet() const
Definition: UpdateExperimentRequest.h:45
Aws::SageMaker::Model::UpdateExperimentRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::UpdateExperimentRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateExperimentRequest.h:30
Aws::SageMaker::Model::UpdateExperimentRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateExperimentRequest.h:148
Aws::SageMaker::Model::UpdateExperimentRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateExperimentRequest.h:138