AWS SDK for C++  1.9.158
AWS SDK for C++
TrialSource.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 TrialSource& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
69 
73  inline TrialSource& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
74 
78  inline TrialSource& 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 TrialSource& WithSourceType(const Aws::String& value) { SetSourceType(value); return *this;}
110 
114  inline TrialSource& WithSourceType(Aws::String&& value) { SetSourceType(std::move(value)); return *this;}
115 
119  inline TrialSource& 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::SageMaker::Model::TrialSource::WithSourceArn
TrialSource & WithSourceArn(const Aws::String &value)
Definition: TrialSource.h:68
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::TrialSource::SetSourceType
void SetSourceType(Aws::String &&value)
Definition: TrialSource.h:99
Aws::SageMaker::Model::TrialSource::SetSourceArn
void SetSourceArn(const char *value)
Definition: TrialSource.h:63
Aws::SageMaker::Model::TrialSource::WithSourceType
TrialSource & WithSourceType(const Aws::String &value)
Definition: TrialSource.h:109
Aws::SageMaker::Model::TrialSource::WithSourceType
TrialSource & WithSourceType(Aws::String &&value)
Definition: TrialSource.h:114
Aws::SageMaker::Model::TrialSource::SetSourceType
void SetSourceType(const Aws::String &value)
Definition: TrialSource.h:94
Aws::SageMaker::Model::TrialSource::SourceArnHasBeenSet
bool SourceArnHasBeenSet() const
Definition: TrialSource.h:48
Aws::SageMaker::Model::TrialSource::SourceTypeHasBeenSet
bool SourceTypeHasBeenSet() const
Definition: TrialSource.h:89
Aws::SageMaker::Model::TrialSource::GetSourceArn
const Aws::String & GetSourceArn() const
Definition: TrialSource.h:43
Aws::SageMaker::Model::TrialSource::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::TrialSource::TrialSource
TrialSource()
Aws::SageMaker::Model::TrialSource::TrialSource
TrialSource(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::TrialSource::SetSourceArn
void SetSourceArn(const Aws::String &value)
Definition: TrialSource.h:53
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::TrialSource::SetSourceType
void SetSourceType(const char *value)
Definition: TrialSource.h:104
Aws::SageMaker::Model::TrialSource::operator=
TrialSource & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::TrialSource::GetSourceType
const Aws::String & GetSourceType() const
Definition: TrialSource.h:84
Aws::SageMaker::Model::TrialSource::WithSourceArn
TrialSource & WithSourceArn(const char *value)
Definition: TrialSource.h:78
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::TrialSource::SetSourceArn
void SetSourceArn(Aws::String &&value)
Definition: TrialSource.h:58
Aws::SageMaker::Model::TrialSource::WithSourceType
TrialSource & WithSourceType(const char *value)
Definition: TrialSource.h:119
Aws::SageMaker::Model::TrialSource
Definition: TrialSource.h:32
Aws::SageMaker::Model::TrialSource::WithSourceArn
TrialSource & WithSourceArn(Aws::String &&value)
Definition: TrialSource.h:73