AWS SDK for C++  1.9.159
AWS SDK for C++
ArtifactSourceType.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SageMaker
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const ArtifactSourceIdType& GetSourceIdType() const{ return m_sourceIdType; }
45 
49  inline bool SourceIdTypeHasBeenSet() const { return m_sourceIdTypeHasBeenSet; }
50 
54  inline void SetSourceIdType(const ArtifactSourceIdType& value) { m_sourceIdTypeHasBeenSet = true; m_sourceIdType = value; }
55 
59  inline void SetSourceIdType(ArtifactSourceIdType&& value) { m_sourceIdTypeHasBeenSet = true; m_sourceIdType = std::move(value); }
60 
64  inline ArtifactSourceType& WithSourceIdType(const ArtifactSourceIdType& value) { SetSourceIdType(value); return *this;}
65 
69  inline ArtifactSourceType& WithSourceIdType(ArtifactSourceIdType&& value) { SetSourceIdType(std::move(value)); return *this;}
70 
71 
75  inline const Aws::String& GetValue() const{ return m_value; }
76 
80  inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
81 
85  inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
86 
90  inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
91 
95  inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
96 
100  inline ArtifactSourceType& WithValue(const Aws::String& value) { SetValue(value); return *this;}
101 
105  inline ArtifactSourceType& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
106 
110  inline ArtifactSourceType& WithValue(const char* value) { SetValue(value); return *this;}
111 
112  private:
113 
114  ArtifactSourceIdType m_sourceIdType;
115  bool m_sourceIdTypeHasBeenSet;
116 
117  Aws::String m_value;
118  bool m_valueHasBeenSet;
119  };
120 
121 } // namespace Model
122 } // namespace SageMaker
123 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ArtifactSourceType::SetSourceIdType
void SetSourceIdType(const ArtifactSourceIdType &value)
Definition: ArtifactSourceType.h:54
Aws::SageMaker::Model::ArtifactSourceType::WithValue
ArtifactSourceType & WithValue(Aws::String &&value)
Definition: ArtifactSourceType.h:105
Aws::SageMaker::Model::ArtifactSourceType::SourceIdTypeHasBeenSet
bool SourceIdTypeHasBeenSet() const
Definition: ArtifactSourceType.h:49
Aws::SageMaker::Model::ArtifactSourceType::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::ArtifactSourceType::GetValue
const Aws::String & GetValue() const
Definition: ArtifactSourceType.h:75
Aws::SageMaker::Model::ArtifactSourceType::ArtifactSourceType
ArtifactSourceType()
Aws::SageMaker::Model::ArtifactSourceIdType
ArtifactSourceIdType
Definition: ArtifactSourceIdType.h:17
Aws::SageMaker::Model::ArtifactSourceType::GetSourceIdType
const ArtifactSourceIdType & GetSourceIdType() const
Definition: ArtifactSourceType.h:44
Aws::SageMaker::Model::ArtifactSourceType::SetValue
void SetValue(const Aws::String &value)
Definition: ArtifactSourceType.h:85
Aws::SageMaker::Model::ArtifactSourceType::WithSourceIdType
ArtifactSourceType & WithSourceIdType(ArtifactSourceIdType &&value)
Definition: ArtifactSourceType.h:69
Aws::SageMaker::Model::ArtifactSourceType::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: ArtifactSourceType.h:80
Aws::SageMaker::Model::ArtifactSourceType::WithValue
ArtifactSourceType & WithValue(const char *value)
Definition: ArtifactSourceType.h:110
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ArtifactSourceType::SetValue
void SetValue(const char *value)
Definition: ArtifactSourceType.h:95
ArtifactSourceIdType.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::ArtifactSourceType
Definition: ArtifactSourceType.h:33
Aws::SageMaker::Model::ArtifactSourceType::ArtifactSourceType
ArtifactSourceType(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ArtifactSourceType::operator=
ArtifactSourceType & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ArtifactSourceType::SetValue
void SetValue(Aws::String &&value)
Definition: ArtifactSourceType.h:90
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ArtifactSourceType::WithSourceIdType
ArtifactSourceType & WithSourceIdType(const ArtifactSourceIdType &value)
Definition: ArtifactSourceType.h:64
Aws::SageMaker::Model::ArtifactSourceType::WithValue
ArtifactSourceType & WithValue(const Aws::String &value)
Definition: ArtifactSourceType.h:100
Aws::SageMaker::Model::ArtifactSourceType::SetSourceIdType
void SetSourceIdType(ArtifactSourceIdType &&value)
Definition: ArtifactSourceType.h:59