AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
UpdateExperimentRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace SageMaker {
15namespace Model {
16
20 public:
21 AWS_SAGEMAKER_API UpdateExperimentRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateExperiment"; }
28
29 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
30
32
34
37 inline const Aws::String& GetExperimentName() const { return m_experimentName; }
38 inline bool ExperimentNameHasBeenSet() const { return m_experimentNameHasBeenSet; }
39 template <typename ExperimentNameT = Aws::String>
40 void SetExperimentName(ExperimentNameT&& value) {
41 m_experimentNameHasBeenSet = true;
42 m_experimentName = std::forward<ExperimentNameT>(value);
43 }
44 template <typename ExperimentNameT = Aws::String>
45 UpdateExperimentRequest& WithExperimentName(ExperimentNameT&& value) {
46 SetExperimentName(std::forward<ExperimentNameT>(value));
47 return *this;
48 }
50
52
57 inline const Aws::String& GetDisplayName() const { return m_displayName; }
58 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
59 template <typename DisplayNameT = Aws::String>
60 void SetDisplayName(DisplayNameT&& value) {
61 m_displayNameHasBeenSet = true;
62 m_displayName = std::forward<DisplayNameT>(value);
63 }
64 template <typename DisplayNameT = Aws::String>
66 SetDisplayName(std::forward<DisplayNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDescription() const { return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 template <typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) {
79 m_descriptionHasBeenSet = true;
80 m_description = std::forward<DescriptionT>(value);
81 }
82 template <typename DescriptionT = Aws::String>
84 SetDescription(std::forward<DescriptionT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_experimentName;
90
91 Aws::String m_displayName;
92
93 Aws::String m_description;
94 bool m_experimentNameHasBeenSet = false;
95 bool m_displayNameHasBeenSet = false;
96 bool m_descriptionHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace SageMaker
101} // 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