AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
StartClusterHealthCheckRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/SageMakerRequest.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/InstanceGroupHealthCheckConfiguration.h>
12
13#include <utility>
14
15namespace Aws {
16namespace SageMaker {
17namespace Model {
18
22 public:
23 AWS_SAGEMAKER_API StartClusterHealthCheckRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "StartClusterHealthCheck"; }
30
31 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
32
34
36
40 inline const Aws::String& GetClusterName() const { return m_clusterName; }
41 inline bool ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; }
42 template <typename ClusterNameT = Aws::String>
43 void SetClusterName(ClusterNameT&& value) {
44 m_clusterNameHasBeenSet = true;
45 m_clusterName = std::forward<ClusterNameT>(value);
46 }
47 template <typename ClusterNameT = Aws::String>
49 SetClusterName(std::forward<ClusterNameT>(value));
50 return *this;
51 }
53
55
60 return m_deepHealthCheckConfigurations;
61 }
62 inline bool DeepHealthCheckConfigurationsHasBeenSet() const { return m_deepHealthCheckConfigurationsHasBeenSet; }
63 template <typename DeepHealthCheckConfigurationsT = Aws::Vector<InstanceGroupHealthCheckConfiguration>>
64 void SetDeepHealthCheckConfigurations(DeepHealthCheckConfigurationsT&& value) {
65 m_deepHealthCheckConfigurationsHasBeenSet = true;
66 m_deepHealthCheckConfigurations = std::forward<DeepHealthCheckConfigurationsT>(value);
67 }
68 template <typename DeepHealthCheckConfigurationsT = Aws::Vector<InstanceGroupHealthCheckConfiguration>>
69 StartClusterHealthCheckRequest& WithDeepHealthCheckConfigurations(DeepHealthCheckConfigurationsT&& value) {
70 SetDeepHealthCheckConfigurations(std::forward<DeepHealthCheckConfigurationsT>(value));
71 return *this;
72 }
73 template <typename DeepHealthCheckConfigurationsT = InstanceGroupHealthCheckConfiguration>
74 StartClusterHealthCheckRequest& AddDeepHealthCheckConfigurations(DeepHealthCheckConfigurationsT&& value) {
75 m_deepHealthCheckConfigurationsHasBeenSet = true;
76 m_deepHealthCheckConfigurations.emplace_back(std::forward<DeepHealthCheckConfigurationsT>(value));
77 return *this;
78 }
80 private:
81 Aws::String m_clusterName;
82
83 Aws::Vector<InstanceGroupHealthCheckConfiguration> m_deepHealthCheckConfigurations;
84 bool m_clusterNameHasBeenSet = false;
85 bool m_deepHealthCheckConfigurationsHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace SageMaker
90} // namespace Aws
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartClusterHealthCheckRequest & AddDeepHealthCheckConfigurations(DeepHealthCheckConfigurationsT &&value)
StartClusterHealthCheckRequest & WithClusterName(ClusterNameT &&value)
AWS_SAGEMAKER_API StartClusterHealthCheckRequest()=default
const Aws::Vector< InstanceGroupHealthCheckConfiguration > & GetDeepHealthCheckConfigurations() const
void SetDeepHealthCheckConfigurations(DeepHealthCheckConfigurationsT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
StartClusterHealthCheckRequest & WithDeepHealthCheckConfigurations(DeepHealthCheckConfigurationsT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector