AWS SDK for C++  1.9.160
AWS SDK for C++
ExperimentSource.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SageMaker
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
44 
48  inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
49 
53  inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
54 
58  inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
59 
63  inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
64 
68  inline ExperimentSource& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
69 
73  inline ExperimentSource& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
74 
78  inline ExperimentSource& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
79 
80 
84  inline const Aws::String& GetSourceType() const{ return m_sourceType; }
85 
89  inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
90 
94  inline void SetSourceType(const Aws::String& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
95 
99  inline void SetSourceType(Aws::String&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); }
100 
104  inline void SetSourceType(const char* value) { m_sourceTypeHasBeenSet = true; m_sourceType.assign(value); }
105 
109  inline ExperimentSource& WithSourceType(const Aws::String& value) { SetSourceType(value); return *this;}
110 
114  inline ExperimentSource& WithSourceType(Aws::String&& value) { SetSourceType(std::move(value)); return *this;}
115 
119  inline ExperimentSource& WithSourceType(const char* value) { SetSourceType(value); return *this;}
120 
121  private:
122 
123  Aws::String m_sourceArn;
124  bool m_sourceArnHasBeenSet;
125 
126  Aws::String m_sourceType;
127  bool m_sourceTypeHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace SageMaker
132 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ExperimentSource::SetSourceType
void SetSourceType(Aws::String &&value)
Definition: ExperimentSource.h:99
Aws::SageMaker::Model::ExperimentSource::SetSourceArn
void SetSourceArn(const char *value)
Definition: ExperimentSource.h:63
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ExperimentSource::ExperimentSource
ExperimentSource()
Aws::SageMaker::Model::ExperimentSource::ExperimentSource
ExperimentSource(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ExperimentSource::SetSourceArn
void SetSourceArn(Aws::String &&value)
Definition: ExperimentSource.h:58
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ExperimentSource::SetSourceArn
void SetSourceArn(const Aws::String &value)
Definition: ExperimentSource.h:53
Aws::SageMaker::Model::ExperimentSource::GetSourceArn
const Aws::String & GetSourceArn() const
Definition: ExperimentSource.h:43
Aws::SageMaker::Model::ExperimentSource::SetSourceType
void SetSourceType(const char *value)
Definition: ExperimentSource.h:104
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::ExperimentSource
Definition: ExperimentSource.h:32
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::ExperimentSource::WithSourceArn
ExperimentSource & WithSourceArn(Aws::String &&value)
Definition: ExperimentSource.h:73
Aws::SageMaker::Model::ExperimentSource::WithSourceType
ExperimentSource & WithSourceType(Aws::String &&value)
Definition: ExperimentSource.h:114
Aws::SageMaker::Model::ExperimentSource::WithSourceArn
ExperimentSource & WithSourceArn(const Aws::String &value)
Definition: ExperimentSource.h:68
Aws::SageMaker::Model::ExperimentSource::SourceTypeHasBeenSet
bool SourceTypeHasBeenSet() const
Definition: ExperimentSource.h:89
Aws::SageMaker::Model::ExperimentSource::GetSourceType
const Aws::String & GetSourceType() const
Definition: ExperimentSource.h:84
Aws::SageMaker::Model::ExperimentSource::WithSourceArn
ExperimentSource & WithSourceArn(const char *value)
Definition: ExperimentSource.h:78
Aws::SageMaker::Model::ExperimentSource::WithSourceType
ExperimentSource & WithSourceType(const char *value)
Definition: ExperimentSource.h:119
Aws::SageMaker::Model::ExperimentSource::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::ExperimentSource::WithSourceType
ExperimentSource & WithSourceType(const Aws::String &value)
Definition: ExperimentSource.h:109
Aws::SageMaker::Model::ExperimentSource::SetSourceType
void SetSourceType(const Aws::String &value)
Definition: ExperimentSource.h:94
Aws::SageMaker::Model::ExperimentSource::SourceArnHasBeenSet
bool SourceArnHasBeenSet() const
Definition: ExperimentSource.h:48
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ExperimentSource::operator=
ExperimentSource & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97