AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateClusterSchedulerConfigRequest.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/SchedulerConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SageMaker
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SAGEMAKER_API UpdateClusterSchedulerConfigRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateClusterSchedulerConfig"; }
32
33 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetClusterSchedulerConfigId() const { return m_clusterSchedulerConfigId; }
43 inline bool ClusterSchedulerConfigIdHasBeenSet() const { return m_clusterSchedulerConfigIdHasBeenSet; }
44 template<typename ClusterSchedulerConfigIdT = Aws::String>
45 void SetClusterSchedulerConfigId(ClusterSchedulerConfigIdT&& value) { m_clusterSchedulerConfigIdHasBeenSet = true; m_clusterSchedulerConfigId = std::forward<ClusterSchedulerConfigIdT>(value); }
46 template<typename ClusterSchedulerConfigIdT = Aws::String>
47 UpdateClusterSchedulerConfigRequest& WithClusterSchedulerConfigId(ClusterSchedulerConfigIdT&& value) { SetClusterSchedulerConfigId(std::forward<ClusterSchedulerConfigIdT>(value)); return *this;}
49
51
54 inline int GetTargetVersion() const { return m_targetVersion; }
55 inline bool TargetVersionHasBeenSet() const { return m_targetVersionHasBeenSet; }
56 inline void SetTargetVersion(int value) { m_targetVersionHasBeenSet = true; m_targetVersion = value; }
59
61
64 inline const SchedulerConfig& GetSchedulerConfig() const { return m_schedulerConfig; }
65 inline bool SchedulerConfigHasBeenSet() const { return m_schedulerConfigHasBeenSet; }
66 template<typename SchedulerConfigT = SchedulerConfig>
67 void SetSchedulerConfig(SchedulerConfigT&& value) { m_schedulerConfigHasBeenSet = true; m_schedulerConfig = std::forward<SchedulerConfigT>(value); }
68 template<typename SchedulerConfigT = SchedulerConfig>
69 UpdateClusterSchedulerConfigRequest& WithSchedulerConfig(SchedulerConfigT&& value) { SetSchedulerConfig(std::forward<SchedulerConfigT>(value)); return *this;}
71
73
76 inline const Aws::String& GetDescription() const { return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 template<typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
80 template<typename DescriptionT = Aws::String>
81 UpdateClusterSchedulerConfigRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
83 private:
84
85 Aws::String m_clusterSchedulerConfigId;
86 bool m_clusterSchedulerConfigIdHasBeenSet = false;
87
88 int m_targetVersion{0};
89 bool m_targetVersionHasBeenSet = false;
90
91 SchedulerConfig m_schedulerConfig;
92 bool m_schedulerConfigHasBeenSet = false;
93
94 Aws::String m_description;
95 bool m_descriptionHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace SageMaker
100} // namespace Aws
UpdateClusterSchedulerConfigRequest & WithDescription(DescriptionT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
UpdateClusterSchedulerConfigRequest & WithSchedulerConfig(SchedulerConfigT &&value)
UpdateClusterSchedulerConfigRequest & WithClusterSchedulerConfigId(ClusterSchedulerConfigIdT &&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