AWS SDK for C++

AWS SDK for C++ Version 1.11.925

Loading...
Searching...
No Matches
SampleTrainingSessionRequest.h
1
6#pragma once
7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemakertrainingsessionruntime/SageMakerTrainingSessionRuntimeRequest.h>
10#include <aws/sagemakertrainingsessionruntime/SageMakerTrainingSessionRuntime_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SageMakerTrainingSessionRuntime {
16namespace Model {
17
21 public:
22 AWS_SAGEMAKERTRAININGSESSIONRUNTIME_API SampleTrainingSessionRequest() = 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 "SampleTrainingSession"; }
29
30 AWS_SAGEMAKERTRAININGSESSIONRUNTIME_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() 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
54 inline const Aws::String& GetAccept() const { return m_accept; }
55 inline bool AcceptHasBeenSet() const { return m_acceptHasBeenSet; }
56 template <typename AcceptT = Aws::String>
57 void SetAccept(AcceptT&& value) {
58 m_acceptHasBeenSet = true;
59 m_accept = std::forward<AcceptT>(value);
60 }
61 template <typename AcceptT = Aws::String>
63 SetAccept(std::forward<AcceptT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetModelPackageArn() const { return m_modelPackageArn; }
73 inline bool ModelPackageArnHasBeenSet() const { return m_modelPackageArnHasBeenSet; }
74 template <typename ModelPackageArnT = Aws::String>
75 void SetModelPackageArn(ModelPackageArnT&& value) {
76 m_modelPackageArnHasBeenSet = true;
77 m_modelPackageArn = std::forward<ModelPackageArnT>(value);
78 }
79 template <typename ModelPackageArnT = Aws::String>
81 SetModelPackageArn(std::forward<ModelPackageArnT>(value));
82 return *this;
83 }
85 private:
86 Aws::String m_trainingSessionName;
87
88 Aws::String m_accept;
89
90 Aws::String m_modelPackageArn;
91
92 bool m_trainingSessionNameHasBeenSet = false;
93 bool m_acceptHasBeenSet = false;
94 bool m_modelPackageArnHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace SageMakerTrainingSessionRuntime
99} // namespace Aws
SampleTrainingSessionRequest & WithTrainingSessionName(TrainingSessionNameT &&value)
AWS_SAGEMAKERTRAININGSESSIONRUNTIME_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
SampleTrainingSessionRequest & WithModelPackageArn(ModelPackageArnT &&value)
AWS_SAGEMAKERTRAININGSESSIONRUNTIME_API SampleTrainingSessionRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String