AWS SDK for C++  1.9.125
AWS SDK for C++
TrialComponentArtifact.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 
37  {
38  public:
43 
44 
52  inline const Aws::String& GetMediaType() const{ return m_mediaType; }
53 
61  inline bool MediaTypeHasBeenSet() const { return m_mediaTypeHasBeenSet; }
62 
70  inline void SetMediaType(const Aws::String& value) { m_mediaTypeHasBeenSet = true; m_mediaType = value; }
71 
79  inline void SetMediaType(Aws::String&& value) { m_mediaTypeHasBeenSet = true; m_mediaType = std::move(value); }
80 
88  inline void SetMediaType(const char* value) { m_mediaTypeHasBeenSet = true; m_mediaType.assign(value); }
89 
97  inline TrialComponentArtifact& WithMediaType(const Aws::String& value) { SetMediaType(value); return *this;}
98 
106  inline TrialComponentArtifact& WithMediaType(Aws::String&& value) { SetMediaType(std::move(value)); return *this;}
107 
115  inline TrialComponentArtifact& WithMediaType(const char* value) { SetMediaType(value); return *this;}
116 
117 
121  inline const Aws::String& GetValue() const{ return m_value; }
122 
126  inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
127 
131  inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
132 
136  inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
137 
141  inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
142 
146  inline TrialComponentArtifact& WithValue(const Aws::String& value) { SetValue(value); return *this;}
147 
151  inline TrialComponentArtifact& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
152 
156  inline TrialComponentArtifact& WithValue(const char* value) { SetValue(value); return *this;}
157 
158  private:
159 
160  Aws::String m_mediaType;
161  bool m_mediaTypeHasBeenSet;
162 
163  Aws::String m_value;
164  bool m_valueHasBeenSet;
165  };
166 
167 } // namespace Model
168 } // namespace SageMaker
169 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::TrialComponentArtifact::TrialComponentArtifact
TrialComponentArtifact()
Aws::SageMaker::Model::TrialComponentArtifact::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::TrialComponentArtifact::WithMediaType
TrialComponentArtifact & WithMediaType(Aws::String &&value)
Definition: TrialComponentArtifact.h:106
Aws::SageMaker::Model::TrialComponentArtifact::MediaTypeHasBeenSet
bool MediaTypeHasBeenSet() const
Definition: TrialComponentArtifact.h:61
Aws::SageMaker::Model::TrialComponentArtifact::WithMediaType
TrialComponentArtifact & WithMediaType(const Aws::String &value)
Definition: TrialComponentArtifact.h:97
Aws::SageMaker::Model::TrialComponentArtifact::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: TrialComponentArtifact.h:126
Aws::SageMaker::Model::TrialComponentArtifact::SetMediaType
void SetMediaType(const char *value)
Definition: TrialComponentArtifact.h:88
Aws::SageMaker::Model::TrialComponentArtifact::GetMediaType
const Aws::String & GetMediaType() const
Definition: TrialComponentArtifact.h:52
Aws::SageMaker::Model::TrialComponentArtifact::SetMediaType
void SetMediaType(Aws::String &&value)
Definition: TrialComponentArtifact.h:79
Aws::SageMaker::Model::TrialComponentArtifact::WithValue
TrialComponentArtifact & WithValue(Aws::String &&value)
Definition: TrialComponentArtifact.h:151
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::TrialComponentArtifact::WithMediaType
TrialComponentArtifact & WithMediaType(const char *value)
Definition: TrialComponentArtifact.h:115
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::TrialComponentArtifact::WithValue
TrialComponentArtifact & WithValue(const Aws::String &value)
Definition: TrialComponentArtifact.h:146
Aws::SageMaker::Model::TrialComponentArtifact::TrialComponentArtifact
TrialComponentArtifact(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::TrialComponentArtifact::operator=
TrialComponentArtifact & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::TrialComponentArtifact::WithValue
TrialComponentArtifact & WithValue(const char *value)
Definition: TrialComponentArtifact.h:156
Aws::SageMaker::Model::TrialComponentArtifact::GetValue
const Aws::String & GetValue() const
Definition: TrialComponentArtifact.h:121
Aws::SageMaker::Model::TrialComponentArtifact::SetValue
void SetValue(Aws::String &&value)
Definition: TrialComponentArtifact.h:136
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::TrialComponentArtifact::SetValue
void SetValue(const char *value)
Definition: TrialComponentArtifact.h:141
Aws::SageMaker::Model::TrialComponentArtifact
Definition: TrialComponentArtifact.h:37
Aws::SageMaker::Model::TrialComponentArtifact::SetValue
void SetValue(const Aws::String &value)
Definition: TrialComponentArtifact.h:131
Aws::SageMaker::Model::TrialComponentArtifact::SetMediaType
void SetMediaType(const Aws::String &value)
Definition: TrialComponentArtifact.h:70