AWS SDK for C++

AWS SDK for C++ Version 1.11.925

Loading...
Searching...
No Matches
ExecuteSamplingOperationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemakertrainingsessionruntime/SageMakerTrainingSessionRuntimeRequest.h>
9#include <aws/sagemakertrainingsessionruntime/SageMakerTrainingSessionRuntime_EXPORTS.h>
10#include <aws/sagemakertrainingsessionruntime/model/SampleOperationConfig.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SageMakerTrainingSessionRuntime {
16namespace Model {
17
21 public:
22 AWS_SAGEMAKERTRAININGSESSIONRUNTIME_API ExecuteSamplingOperationRequest() = 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 "ExecuteSamplingOperation"; }
29
30 AWS_SAGEMAKERTRAININGSESSIONRUNTIME_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetTrainingSessionName() const { return m_trainingSessionName; }
37 inline bool TrainingSessionNameHasBeenSet() const { return m_trainingSessionNameHasBeenSet; }
38 template <typename TrainingSessionNameT = Aws::String>
39 void SetTrainingSessionName(TrainingSessionNameT&& value) {
40 m_trainingSessionNameHasBeenSet = true;
41 m_trainingSessionName = std::forward<TrainingSessionNameT>(value);
42 }
43 template <typename TrainingSessionNameT = Aws::String>
45 SetTrainingSessionName(std::forward<TrainingSessionNameT>(value));
46 return *this;
47 }
49
51
56 inline const SampleOperationConfig& GetOperationConfig() const { return m_operationConfig; }
57 inline bool OperationConfigHasBeenSet() const { return m_operationConfigHasBeenSet; }
58 template <typename OperationConfigT = SampleOperationConfig>
59 void SetOperationConfig(OperationConfigT&& value) {
60 m_operationConfigHasBeenSet = true;
61 m_operationConfig = std::forward<OperationConfigT>(value);
62 }
63 template <typename OperationConfigT = SampleOperationConfig>
65 SetOperationConfig(std::forward<OperationConfigT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_trainingSessionName;
71
72 SampleOperationConfig m_operationConfig;
73 bool m_trainingSessionNameHasBeenSet = false;
74 bool m_operationConfigHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace SageMakerTrainingSessionRuntime
79} // namespace Aws
AWS_SAGEMAKERTRAININGSESSIONRUNTIME_API ExecuteSamplingOperationRequest()=default
ExecuteSamplingOperationRequest & WithTrainingSessionName(TrainingSessionNameT &&value)
AWS_SAGEMAKERTRAININGSESSIONRUNTIME_API Aws::String SerializePayload() const override
ExecuteSamplingOperationRequest & WithOperationConfig(OperationConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String