AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DescribeClusterSchedulerConfigRequest.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 DescribeClusterSchedulerConfigRequest() = 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 "DescribeClusterSchedulerConfig"; }
28
29 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
30
32
34
37 inline const Aws::String& GetClusterSchedulerConfigId() const { return m_clusterSchedulerConfigId; }
38 inline bool ClusterSchedulerConfigIdHasBeenSet() const { return m_clusterSchedulerConfigIdHasBeenSet; }
39 template <typename ClusterSchedulerConfigIdT = Aws::String>
40 void SetClusterSchedulerConfigId(ClusterSchedulerConfigIdT&& value) {
41 m_clusterSchedulerConfigIdHasBeenSet = true;
42 m_clusterSchedulerConfigId = std::forward<ClusterSchedulerConfigIdT>(value);
43 }
44 template <typename ClusterSchedulerConfigIdT = Aws::String>
46 SetClusterSchedulerConfigId(std::forward<ClusterSchedulerConfigIdT>(value));
47 return *this;
48 }
50
52
55 inline int GetClusterSchedulerConfigVersion() const { return m_clusterSchedulerConfigVersion; }
56 inline bool ClusterSchedulerConfigVersionHasBeenSet() const { return m_clusterSchedulerConfigVersionHasBeenSet; }
57 inline void SetClusterSchedulerConfigVersion(int value) {
58 m_clusterSchedulerConfigVersionHasBeenSet = true;
59 m_clusterSchedulerConfigVersion = value;
60 }
63 return *this;
64 }
66 private:
67 Aws::String m_clusterSchedulerConfigId;
68
69 int m_clusterSchedulerConfigVersion{0};
70 bool m_clusterSchedulerConfigIdHasBeenSet = false;
71 bool m_clusterSchedulerConfigVersionHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace SageMaker
76} // namespace Aws
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
DescribeClusterSchedulerConfigRequest & WithClusterSchedulerConfigId(ClusterSchedulerConfigIdT &&value)
DescribeClusterSchedulerConfigRequest & WithClusterSchedulerConfigVersion(int 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