AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
UpdateClusterExtensionRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMakerRequest.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SageMaker {
16namespace Model {
17
21 public:
22 AWS_SAGEMAKER_API UpdateClusterExtensionRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateClusterExtension"; }
29
30 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
40 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
41 template <typename ClusterArnT = Aws::String>
42 void SetClusterArn(ClusterArnT&& value) {
43 m_clusterArnHasBeenSet = true;
44 m_clusterArn = std::forward<ClusterArnT>(value);
45 }
46 template <typename ClusterArnT = Aws::String>
48 SetClusterArn(std::forward<ClusterArnT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetExtensionArn() const { return m_extensionArn; }
58 inline bool ExtensionArnHasBeenSet() const { return m_extensionArnHasBeenSet; }
59 template <typename ExtensionArnT = Aws::String>
60 void SetExtensionArn(ExtensionArnT&& value) {
61 m_extensionArnHasBeenSet = true;
62 m_extensionArn = std::forward<ExtensionArnT>(value);
63 }
64 template <typename ExtensionArnT = Aws::String>
66 SetExtensionArn(std::forward<ExtensionArnT>(value));
67 return *this;
68 }
70
72
77 inline const Aws::String& GetExtensionVersion() const { return m_extensionVersion; }
78 inline bool ExtensionVersionHasBeenSet() const { return m_extensionVersionHasBeenSet; }
79 template <typename ExtensionVersionT = Aws::String>
80 void SetExtensionVersion(ExtensionVersionT&& value) {
81 m_extensionVersionHasBeenSet = true;
82 m_extensionVersion = std::forward<ExtensionVersionT>(value);
83 }
84 template <typename ExtensionVersionT = Aws::String>
86 SetExtensionVersion(std::forward<ExtensionVersionT>(value));
87 return *this;
88 }
90
92
99 inline const Aws::String& GetConfigurationValues() const { return m_configurationValues; }
100 inline bool ConfigurationValuesHasBeenSet() const { return m_configurationValuesHasBeenSet; }
101 template <typename ConfigurationValuesT = Aws::String>
102 void SetConfigurationValues(ConfigurationValuesT&& value) {
103 m_configurationValuesHasBeenSet = true;
104 m_configurationValues = std::forward<ConfigurationValuesT>(value);
105 }
106 template <typename ConfigurationValuesT = Aws::String>
108 SetConfigurationValues(std::forward<ConfigurationValuesT>(value));
109 return *this;
110 }
112
114
119 inline const Aws::String& GetClientToken() const { return m_clientToken; }
120 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
121 template <typename ClientTokenT = Aws::String>
122 void SetClientToken(ClientTokenT&& value) {
123 m_clientTokenHasBeenSet = true;
124 m_clientToken = std::forward<ClientTokenT>(value);
125 }
126 template <typename ClientTokenT = Aws::String>
128 SetClientToken(std::forward<ClientTokenT>(value));
129 return *this;
130 }
132 private:
133 Aws::String m_clusterArn;
134
135 Aws::String m_extensionArn;
136
137 Aws::String m_extensionVersion;
138
139 Aws::String m_configurationValues;
140
142 bool m_clusterArnHasBeenSet = false;
143 bool m_extensionArnHasBeenSet = false;
144 bool m_extensionVersionHasBeenSet = false;
145 bool m_configurationValuesHasBeenSet = false;
146 bool m_clientTokenHasBeenSet = true;
147};
148
149} // namespace Model
150} // namespace SageMaker
151} // namespace Aws
AWS_SAGEMAKER_API UpdateClusterExtensionRequest()=default
UpdateClusterExtensionRequest & WithExtensionVersion(ExtensionVersionT &&value)
UpdateClusterExtensionRequest & WithConfigurationValues(ConfigurationValuesT &&value)
UpdateClusterExtensionRequest & WithClusterArn(ClusterArnT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateClusterExtensionRequest & WithExtensionArn(ExtensionArnT &&value)
UpdateClusterExtensionRequest & WithClientToken(ClientTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String