AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SelectiveExecutionConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/model/SelectedStep.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SAGEMAKER_API SelectiveExecutionConfig() = default;
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
54 inline const Aws::String& GetSourcePipelineExecutionArn() const { return m_sourcePipelineExecutionArn; }
55 inline bool SourcePipelineExecutionArnHasBeenSet() const { return m_sourcePipelineExecutionArnHasBeenSet; }
56 template<typename SourcePipelineExecutionArnT = Aws::String>
57 void SetSourcePipelineExecutionArn(SourcePipelineExecutionArnT&& value) { m_sourcePipelineExecutionArnHasBeenSet = true; m_sourcePipelineExecutionArn = std::forward<SourcePipelineExecutionArnT>(value); }
58 template<typename SourcePipelineExecutionArnT = Aws::String>
59 SelectiveExecutionConfig& WithSourcePipelineExecutionArn(SourcePipelineExecutionArnT&& value) { SetSourcePipelineExecutionArn(std::forward<SourcePipelineExecutionArnT>(value)); return *this;}
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) { m_selectedStepsHasBeenSet = true; m_selectedSteps = std::forward<SelectedStepsT>(value); }
71 template<typename SelectedStepsT = Aws::Vector<SelectedStep>>
72 SelectiveExecutionConfig& WithSelectedSteps(SelectedStepsT&& value) { SetSelectedSteps(std::forward<SelectedStepsT>(value)); return *this;}
73 template<typename SelectedStepsT = SelectedStep>
74 SelectiveExecutionConfig& AddSelectedSteps(SelectedStepsT&& value) { m_selectedStepsHasBeenSet = true; m_selectedSteps.emplace_back(std::forward<SelectedStepsT>(value)); return *this; }
76 private:
77
78 Aws::String m_sourcePipelineExecutionArn;
79 bool m_sourcePipelineExecutionArnHasBeenSet = false;
80
81 Aws::Vector<SelectedStep> m_selectedSteps;
82 bool m_selectedStepsHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace SageMaker
87} // 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