AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSourcePipelineExecutionArn(const Aws::String& value) { m_sourcePipelineExecutionArnHasBeenSet = true; m_sourcePipelineExecutionArn = value; }
57 inline void SetSourcePipelineExecutionArn(Aws::String&& value) { m_sourcePipelineExecutionArnHasBeenSet = true; m_sourcePipelineExecutionArn = std::move(value); }
58 inline void SetSourcePipelineExecutionArn(const char* value) { m_sourcePipelineExecutionArnHasBeenSet = true; m_sourcePipelineExecutionArn.assign(value); }
63
65
69 inline const Aws::Vector<SelectedStep>& GetSelectedSteps() const{ return m_selectedSteps; }
70 inline bool SelectedStepsHasBeenSet() const { return m_selectedStepsHasBeenSet; }
71 inline void SetSelectedSteps(const Aws::Vector<SelectedStep>& value) { m_selectedStepsHasBeenSet = true; m_selectedSteps = value; }
72 inline void SetSelectedSteps(Aws::Vector<SelectedStep>&& value) { m_selectedStepsHasBeenSet = true; m_selectedSteps = std::move(value); }
74 inline SelectiveExecutionConfig& WithSelectedSteps(Aws::Vector<SelectedStep>&& value) { SetSelectedSteps(std::move(value)); return *this;}
75 inline SelectiveExecutionConfig& AddSelectedSteps(const SelectedStep& value) { m_selectedStepsHasBeenSet = true; m_selectedSteps.push_back(value); return *this; }
76 inline SelectiveExecutionConfig& AddSelectedSteps(SelectedStep&& value) { m_selectedStepsHasBeenSet = true; m_selectedSteps.push_back(std::move(value)); return *this; }
78 private:
79
80 Aws::String m_sourcePipelineExecutionArn;
81 bool m_sourcePipelineExecutionArnHasBeenSet = false;
82
83 Aws::Vector<SelectedStep> m_selectedSteps;
84 bool m_selectedStepsHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace SageMaker
89} // namespace Aws
SelectiveExecutionConfig & WithSelectedSteps(Aws::Vector< SelectedStep > &&value)
AWS_SAGEMAKER_API SelectiveExecutionConfig(Aws::Utils::Json::JsonView jsonValue)
SelectiveExecutionConfig & WithSourcePipelineExecutionArn(Aws::String &&value)
const Aws::Vector< SelectedStep > & GetSelectedSteps() const
AWS_SAGEMAKER_API SelectiveExecutionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
SelectiveExecutionConfig & WithSelectedSteps(const Aws::Vector< SelectedStep > &value)
SelectiveExecutionConfig & WithSourcePipelineExecutionArn(const Aws::String &value)
void SetSelectedSteps(const Aws::Vector< SelectedStep > &value)
SelectiveExecutionConfig & AddSelectedSteps(SelectedStep &&value)
SelectiveExecutionConfig & WithSourcePipelineExecutionArn(const char *value)
SelectiveExecutionConfig & AddSelectedSteps(const SelectedStep &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSelectedSteps(Aws::Vector< SelectedStep > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue