AWS SDK for C++  1.9.159
AWS SDK for C++
TrialComponentSource.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 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
45 
49  inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
50 
54  inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
55 
59  inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
60 
64  inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
65 
69  inline TrialComponentSource& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
70 
74  inline TrialComponentSource& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
75 
79  inline TrialComponentSource& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
80 
81 
85  inline const Aws::String& GetSourceType() const{ return m_sourceType; }
86 
90  inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
91 
95  inline void SetSourceType(const Aws::String& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
96 
100  inline void SetSourceType(Aws::String&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); }
101 
105  inline void SetSourceType(const char* value) { m_sourceTypeHasBeenSet = true; m_sourceType.assign(value); }
106 
110  inline TrialComponentSource& WithSourceType(const Aws::String& value) { SetSourceType(value); return *this;}
111 
115  inline TrialComponentSource& WithSourceType(Aws::String&& value) { SetSourceType(std::move(value)); return *this;}
116 
120  inline TrialComponentSource& WithSourceType(const char* value) { SetSourceType(value); return *this;}
121 
122  private:
123 
124  Aws::String m_sourceArn;
125  bool m_sourceArnHasBeenSet;
126 
127  Aws::String m_sourceType;
128  bool m_sourceTypeHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace SageMaker
133 } // namespace Aws
Aws::SageMaker::Model::TrialComponentSource::SetSourceArn
void SetSourceArn(const char *value)
Definition: TrialComponentSource.h:64
Aws::SageMaker::Model::TrialComponentSource::GetSourceType
const Aws::String & GetSourceType() const
Definition: TrialComponentSource.h:85
Aws::SageMaker::Model::TrialComponentSource::operator=
TrialComponentSource & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::TrialComponentSource::SetSourceArn
void SetSourceArn(const Aws::String &value)
Definition: TrialComponentSource.h:54
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::TrialComponentSource::WithSourceType
TrialComponentSource & WithSourceType(const Aws::String &value)
Definition: TrialComponentSource.h:110
Aws::SageMaker::Model::TrialComponentSource::SetSourceType
void SetSourceType(Aws::String &&value)
Definition: TrialComponentSource.h:100
SageMaker_EXPORTS.h
Aws::SageMaker::Model::TrialComponentSource::SourceArnHasBeenSet
bool SourceArnHasBeenSet() const
Definition: TrialComponentSource.h:49
Aws::SageMaker::Model::TrialComponentSource::WithSourceArn
TrialComponentSource & WithSourceArn(Aws::String &&value)
Definition: TrialComponentSource.h:74
Aws::SageMaker::Model::TrialComponentSource::WithSourceType
TrialComponentSource & WithSourceType(Aws::String &&value)
Definition: TrialComponentSource.h:115
Aws::SageMaker::Model::TrialComponentSource::SetSourceType
void SetSourceType(const char *value)
Definition: TrialComponentSource.h:105
Aws::SageMaker::Model::TrialComponentSource::SetSourceArn
void SetSourceArn(Aws::String &&value)
Definition: TrialComponentSource.h:59
Aws::SageMaker::Model::TrialComponentSource::SourceTypeHasBeenSet
bool SourceTypeHasBeenSet() const
Definition: TrialComponentSource.h:90
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::TrialComponentSource
Definition: TrialComponentSource.h:33
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::TrialComponentSource::GetSourceArn
const Aws::String & GetSourceArn() const
Definition: TrialComponentSource.h:44
Aws::SageMaker::Model::TrialComponentSource::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::TrialComponentSource::WithSourceArn
TrialComponentSource & WithSourceArn(const char *value)
Definition: TrialComponentSource.h:79
Aws::SageMaker::Model::TrialComponentSource::SetSourceType
void SetSourceType(const Aws::String &value)
Definition: TrialComponentSource.h:95
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::TrialComponentSource::TrialComponentSource
TrialComponentSource(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::TrialComponentSource::TrialComponentSource
TrialComponentSource()
Aws::SageMaker::Model::TrialComponentSource::WithSourceType
TrialComponentSource & WithSourceType(const char *value)
Definition: TrialComponentSource.h:120
Aws::SageMaker::Model::TrialComponentSource::WithSourceArn
TrialComponentSource & WithSourceArn(const Aws::String &value)
Definition: TrialComponentSource.h:69