AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateExperimentRequest.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 <utility>
11
12namespace Aws
13{
14namespace SageMaker
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_SAGEMAKER_API UpdateExperimentRequest() = 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 "UpdateExperiment"; }
31
32 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetExperimentName() const { return m_experimentName; }
42 inline bool ExperimentNameHasBeenSet() const { return m_experimentNameHasBeenSet; }
43 template<typename ExperimentNameT = Aws::String>
44 void SetExperimentName(ExperimentNameT&& value) { m_experimentNameHasBeenSet = true; m_experimentName = std::forward<ExperimentNameT>(value); }
45 template<typename ExperimentNameT = Aws::String>
46 UpdateExperimentRequest& WithExperimentName(ExperimentNameT&& value) { SetExperimentName(std::forward<ExperimentNameT>(value)); return *this;}
48
50
55 inline const Aws::String& GetDisplayName() const { return m_displayName; }
56 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
57 template<typename DisplayNameT = Aws::String>
58 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
59 template<typename DisplayNameT = Aws::String>
60 UpdateExperimentRequest& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
62
64
67 inline const Aws::String& GetDescription() const { return m_description; }
68 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
69 template<typename DescriptionT = Aws::String>
70 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
71 template<typename DescriptionT = Aws::String>
72 UpdateExperimentRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
74 private:
75
76 Aws::String m_experimentName;
77 bool m_experimentNameHasBeenSet = false;
78
79 Aws::String m_displayName;
80 bool m_displayNameHasBeenSet = false;
81
82 Aws::String m_description;
83 bool m_descriptionHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace SageMaker
88} // namespace Aws
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
AWS_SAGEMAKER_API UpdateExperimentRequest()=default
UpdateExperimentRequest & WithDescription(DescriptionT &&value)
UpdateExperimentRequest & WithExperimentName(ExperimentNameT &&value)
virtual const char * GetServiceRequestName() const override
UpdateExperimentRequest & WithDisplayName(DisplayNameT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String