AWS SDK for C++

AWS SDK for C++ Version 1.11.925

Loading...
Searching...
No Matches
GetSamplingOperationResultRequest.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
11#include <utility>
12
13namespace Aws {
14namespace SageMakerTrainingSessionRuntime {
15namespace Model {
16
20 public:
21 AWS_SAGEMAKERTRAININGSESSIONRUNTIME_API GetSamplingOperationResultRequest() = 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 "GetSamplingOperationResult"; }
28
29 AWS_SAGEMAKERTRAININGSESSIONRUNTIME_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetTrainingSessionName() const { return m_trainingSessionName; }
36 inline bool TrainingSessionNameHasBeenSet() const { return m_trainingSessionNameHasBeenSet; }
37 template <typename TrainingSessionNameT = Aws::String>
38 void SetTrainingSessionName(TrainingSessionNameT&& value) {
39 m_trainingSessionNameHasBeenSet = true;
40 m_trainingSessionName = std::forward<TrainingSessionNameT>(value);
41 }
42 template <typename TrainingSessionNameT = Aws::String>
44 SetTrainingSessionName(std::forward<TrainingSessionNameT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetOperationId() const { return m_operationId; }
55 inline bool OperationIdHasBeenSet() const { return m_operationIdHasBeenSet; }
56 template <typename OperationIdT = Aws::String>
57 void SetOperationId(OperationIdT&& value) {
58 m_operationIdHasBeenSet = true;
59 m_operationId = std::forward<OperationIdT>(value);
60 }
61 template <typename OperationIdT = Aws::String>
63 SetOperationId(std::forward<OperationIdT>(value));
64 return *this;
65 }
67 private:
68 Aws::String m_trainingSessionName;
69
70 Aws::String m_operationId;
71 bool m_trainingSessionNameHasBeenSet = false;
72 bool m_operationIdHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace SageMakerTrainingSessionRuntime
77} // namespace Aws
GetSamplingOperationResultRequest & WithTrainingSessionName(TrainingSessionNameT &&value)
AWS_SAGEMAKERTRAININGSESSIONRUNTIME_API GetSamplingOperationResultRequest()=default
AWS_SAGEMAKERTRAININGSESSIONRUNTIME_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String