AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
SelectiveExecutionConfig.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/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/SelectedStep.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker {
22namespace Model {
23
31 public:
32 AWS_SAGEMAKER_API SelectiveExecutionConfig() = default;
35 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
48 inline const Aws::String& GetSourcePipelineExecutionArn() const { return m_sourcePipelineExecutionArn; }
49 inline bool SourcePipelineExecutionArnHasBeenSet() const { return m_sourcePipelineExecutionArnHasBeenSet; }
50 template <typename SourcePipelineExecutionArnT = Aws::String>
51 void SetSourcePipelineExecutionArn(SourcePipelineExecutionArnT&& value) {
52 m_sourcePipelineExecutionArnHasBeenSet = true;
53 m_sourcePipelineExecutionArn = std::forward<SourcePipelineExecutionArnT>(value);
54 }
55 template <typename SourcePipelineExecutionArnT = Aws::String>
56 SelectiveExecutionConfig& WithSourcePipelineExecutionArn(SourcePipelineExecutionArnT&& value) {
57 SetSourcePipelineExecutionArn(std::forward<SourcePipelineExecutionArnT>(value));
58 return *this;
59 }
61
63
67 inline const Aws::Vector<SelectedStep>& GetSelectedSteps() const { return m_selectedSteps; }
68 inline bool SelectedStepsHasBeenSet() const { return m_selectedStepsHasBeenSet; }
69 template <typename SelectedStepsT = Aws::Vector<SelectedStep>>
70 void SetSelectedSteps(SelectedStepsT&& value) {
71 m_selectedStepsHasBeenSet = true;
72 m_selectedSteps = std::forward<SelectedStepsT>(value);
73 }
74 template <typename SelectedStepsT = Aws::Vector<SelectedStep>>
76 SetSelectedSteps(std::forward<SelectedStepsT>(value));
77 return *this;
78 }
79 template <typename SelectedStepsT = SelectedStep>
80 SelectiveExecutionConfig& AddSelectedSteps(SelectedStepsT&& value) {
81 m_selectedStepsHasBeenSet = true;
82 m_selectedSteps.emplace_back(std::forward<SelectedStepsT>(value));
83 return *this;
84 }
86 private:
87 Aws::String m_sourcePipelineExecutionArn;
88
89 Aws::Vector<SelectedStep> m_selectedSteps;
90 bool m_sourcePipelineExecutionArnHasBeenSet = false;
91 bool m_selectedStepsHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace SageMaker
96} // namespace Aws
AWS_SAGEMAKER_API SelectiveExecutionConfig(Aws::Utils::Json::JsonView jsonValue)
SelectiveExecutionConfig & AddSelectedSteps(SelectedStepsT &&value)
const Aws::Vector< SelectedStep > & GetSelectedSteps() const
AWS_SAGEMAKER_API SelectiveExecutionConfig()=default
SelectiveExecutionConfig & WithSelectedSteps(SelectedStepsT &&value)
AWS_SAGEMAKER_API SelectiveExecutionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSourcePipelineExecutionArn(SourcePipelineExecutionArnT &&value)
SelectiveExecutionConfig & WithSourcePipelineExecutionArn(SourcePipelineExecutionArnT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue