AWS SDK for C++  1.9.153
AWS SDK for C++
ChannelSpecification.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace SageMaker
25 {
26 namespace Model
27 {
28 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetName() const{ return m_name; }
48 
52  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
53 
57  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
58 
62  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
63 
67  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
68 
72  inline ChannelSpecification& WithName(const Aws::String& value) { SetName(value); return *this;}
73 
77  inline ChannelSpecification& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
78 
82  inline ChannelSpecification& WithName(const char* value) { SetName(value); return *this;}
83 
84 
88  inline const Aws::String& GetDescription() const{ return m_description; }
89 
93  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
94 
98  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
99 
103  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
104 
108  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
109 
113  inline ChannelSpecification& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
114 
118  inline ChannelSpecification& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
119 
123  inline ChannelSpecification& WithDescription(const char* value) { SetDescription(value); return *this;}
124 
125 
129  inline bool GetIsRequired() const{ return m_isRequired; }
130 
134  inline bool IsRequiredHasBeenSet() const { return m_isRequiredHasBeenSet; }
135 
139  inline void SetIsRequired(bool value) { m_isRequiredHasBeenSet = true; m_isRequired = value; }
140 
144  inline ChannelSpecification& WithIsRequired(bool value) { SetIsRequired(value); return *this;}
145 
146 
150  inline const Aws::Vector<Aws::String>& GetSupportedContentTypes() const{ return m_supportedContentTypes; }
151 
155  inline bool SupportedContentTypesHasBeenSet() const { return m_supportedContentTypesHasBeenSet; }
156 
160  inline void SetSupportedContentTypes(const Aws::Vector<Aws::String>& value) { m_supportedContentTypesHasBeenSet = true; m_supportedContentTypes = value; }
161 
165  inline void SetSupportedContentTypes(Aws::Vector<Aws::String>&& value) { m_supportedContentTypesHasBeenSet = true; m_supportedContentTypes = std::move(value); }
166 
170  inline ChannelSpecification& WithSupportedContentTypes(const Aws::Vector<Aws::String>& value) { SetSupportedContentTypes(value); return *this;}
171 
175  inline ChannelSpecification& WithSupportedContentTypes(Aws::Vector<Aws::String>&& value) { SetSupportedContentTypes(std::move(value)); return *this;}
176 
180  inline ChannelSpecification& AddSupportedContentTypes(const Aws::String& value) { m_supportedContentTypesHasBeenSet = true; m_supportedContentTypes.push_back(value); return *this; }
181 
185  inline ChannelSpecification& AddSupportedContentTypes(Aws::String&& value) { m_supportedContentTypesHasBeenSet = true; m_supportedContentTypes.push_back(std::move(value)); return *this; }
186 
190  inline ChannelSpecification& AddSupportedContentTypes(const char* value) { m_supportedContentTypesHasBeenSet = true; m_supportedContentTypes.push_back(value); return *this; }
191 
192 
196  inline const Aws::Vector<CompressionType>& GetSupportedCompressionTypes() const{ return m_supportedCompressionTypes; }
197 
201  inline bool SupportedCompressionTypesHasBeenSet() const { return m_supportedCompressionTypesHasBeenSet; }
202 
206  inline void SetSupportedCompressionTypes(const Aws::Vector<CompressionType>& value) { m_supportedCompressionTypesHasBeenSet = true; m_supportedCompressionTypes = value; }
207 
211  inline void SetSupportedCompressionTypes(Aws::Vector<CompressionType>&& value) { m_supportedCompressionTypesHasBeenSet = true; m_supportedCompressionTypes = std::move(value); }
212 
216  inline ChannelSpecification& WithSupportedCompressionTypes(const Aws::Vector<CompressionType>& value) { SetSupportedCompressionTypes(value); return *this;}
217 
221  inline ChannelSpecification& WithSupportedCompressionTypes(Aws::Vector<CompressionType>&& value) { SetSupportedCompressionTypes(std::move(value)); return *this;}
222 
226  inline ChannelSpecification& AddSupportedCompressionTypes(const CompressionType& value) { m_supportedCompressionTypesHasBeenSet = true; m_supportedCompressionTypes.push_back(value); return *this; }
227 
231  inline ChannelSpecification& AddSupportedCompressionTypes(CompressionType&& value) { m_supportedCompressionTypesHasBeenSet = true; m_supportedCompressionTypes.push_back(std::move(value)); return *this; }
232 
233 
242  inline const Aws::Vector<TrainingInputMode>& GetSupportedInputModes() const{ return m_supportedInputModes; }
243 
252  inline bool SupportedInputModesHasBeenSet() const { return m_supportedInputModesHasBeenSet; }
253 
262  inline void SetSupportedInputModes(const Aws::Vector<TrainingInputMode>& value) { m_supportedInputModesHasBeenSet = true; m_supportedInputModes = value; }
263 
272  inline void SetSupportedInputModes(Aws::Vector<TrainingInputMode>&& value) { m_supportedInputModesHasBeenSet = true; m_supportedInputModes = std::move(value); }
273 
282  inline ChannelSpecification& WithSupportedInputModes(const Aws::Vector<TrainingInputMode>& value) { SetSupportedInputModes(value); return *this;}
283 
292  inline ChannelSpecification& WithSupportedInputModes(Aws::Vector<TrainingInputMode>&& value) { SetSupportedInputModes(std::move(value)); return *this;}
293 
302  inline ChannelSpecification& AddSupportedInputModes(const TrainingInputMode& value) { m_supportedInputModesHasBeenSet = true; m_supportedInputModes.push_back(value); return *this; }
303 
312  inline ChannelSpecification& AddSupportedInputModes(TrainingInputMode&& value) { m_supportedInputModesHasBeenSet = true; m_supportedInputModes.push_back(std::move(value)); return *this; }
313 
314  private:
315 
316  Aws::String m_name;
317  bool m_nameHasBeenSet;
318 
319  Aws::String m_description;
320  bool m_descriptionHasBeenSet;
321 
322  bool m_isRequired;
323  bool m_isRequiredHasBeenSet;
324 
325  Aws::Vector<Aws::String> m_supportedContentTypes;
326  bool m_supportedContentTypesHasBeenSet;
327 
328  Aws::Vector<CompressionType> m_supportedCompressionTypes;
329  bool m_supportedCompressionTypesHasBeenSet;
330 
331  Aws::Vector<TrainingInputMode> m_supportedInputModes;
332  bool m_supportedInputModesHasBeenSet;
333  };
334 
335 } // namespace Model
336 } // namespace SageMaker
337 } // namespace Aws
Aws::SageMaker::Model::ChannelSpecification::WithDescription
ChannelSpecification & WithDescription(Aws::String &&value)
Definition: ChannelSpecification.h:118
Aws::SageMaker::Model::ChannelSpecification::AddSupportedInputModes
ChannelSpecification & AddSupportedInputModes(const TrainingInputMode &value)
Definition: ChannelSpecification.h:302
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ChannelSpecification::WithName
ChannelSpecification & WithName(const Aws::String &value)
Definition: ChannelSpecification.h:72
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ChannelSpecification::SetSupportedContentTypes
void SetSupportedContentTypes(const Aws::Vector< Aws::String > &value)
Definition: ChannelSpecification.h:160
Aws::SageMaker::Model::ChannelSpecification::GetSupportedContentTypes
const Aws::Vector< Aws::String > & GetSupportedContentTypes() const
Definition: ChannelSpecification.h:150
Aws::SageMaker::Model::ChannelSpecification::SetDescription
void SetDescription(Aws::String &&value)
Definition: ChannelSpecification.h:103
Aws::SageMaker::Model::ChannelSpecification::GetSupportedCompressionTypes
const Aws::Vector< CompressionType > & GetSupportedCompressionTypes() const
Definition: ChannelSpecification.h:196
Aws::SageMaker::Model::ChannelSpecification::AddSupportedContentTypes
ChannelSpecification & AddSupportedContentTypes(const Aws::String &value)
Definition: ChannelSpecification.h:180
Aws::SageMaker::Model::ChannelSpecification::SetIsRequired
void SetIsRequired(bool value)
Definition: ChannelSpecification.h:139
Aws::SageMaker::Model::ChannelSpecification::SetName
void SetName(const Aws::String &value)
Definition: ChannelSpecification.h:57
Aws::SageMaker::Model::ChannelSpecification::AddSupportedInputModes
ChannelSpecification & AddSupportedInputModes(TrainingInputMode &&value)
Definition: ChannelSpecification.h:312
Aws::SageMaker::Model::ChannelSpecification::SetName
void SetName(Aws::String &&value)
Definition: ChannelSpecification.h:62
Aws::SageMaker::Model::ChannelSpecification::WithSupportedInputModes
ChannelSpecification & WithSupportedInputModes(const Aws::Vector< TrainingInputMode > &value)
Definition: ChannelSpecification.h:282
Aws::SageMaker::Model::ChannelSpecification::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: ChannelSpecification.h:93
Aws::SageMaker::Model::ChannelSpecification::GetSupportedInputModes
const Aws::Vector< TrainingInputMode > & GetSupportedInputModes() const
Definition: ChannelSpecification.h:242
Aws::SageMaker::Model::ChannelSpecification::ChannelSpecification
ChannelSpecification(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::TrainingInputMode
TrainingInputMode
Definition: TrainingInputMode.h:17
Aws::SageMaker::Model::ChannelSpecification::AddSupportedContentTypes
ChannelSpecification & AddSupportedContentTypes(Aws::String &&value)
Definition: ChannelSpecification.h:185
Aws::SageMaker::Model::ChannelSpecification::WithSupportedContentTypes
ChannelSpecification & WithSupportedContentTypes(const Aws::Vector< Aws::String > &value)
Definition: ChannelSpecification.h:170
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::ChannelSpecification::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::ChannelSpecification::SetSupportedCompressionTypes
void SetSupportedCompressionTypes(Aws::Vector< CompressionType > &&value)
Definition: ChannelSpecification.h:211
TrainingInputMode.h
Aws::SageMaker::Model::ChannelSpecification::SetDescription
void SetDescription(const char *value)
Definition: ChannelSpecification.h:108
AWSVector.h
Aws::SageMaker::Model::ChannelSpecification::AddSupportedCompressionTypes
ChannelSpecification & AddSupportedCompressionTypes(CompressionType &&value)
Definition: ChannelSpecification.h:231
Aws::SageMaker::Model::ChannelSpecification::WithName
ChannelSpecification & WithName(const char *value)
Definition: ChannelSpecification.h:82
Aws::SageMaker::Model::ChannelSpecification::NameHasBeenSet
bool NameHasBeenSet() const
Definition: ChannelSpecification.h:52
CompressionType.h
Aws::SageMaker::Model::ChannelSpecification::SetName
void SetName(const char *value)
Definition: ChannelSpecification.h:67
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ChannelSpecification::AddSupportedCompressionTypes
ChannelSpecification & AddSupportedCompressionTypes(const CompressionType &value)
Definition: ChannelSpecification.h:226
Aws::SageMaker::Model::ChannelSpecification::AddSupportedContentTypes
ChannelSpecification & AddSupportedContentTypes(const char *value)
Definition: ChannelSpecification.h:190
Aws::SageMaker::Model::CompressionType
CompressionType
Definition: CompressionType.h:17
Aws::SageMaker::Model::ChannelSpecification::SupportedInputModesHasBeenSet
bool SupportedInputModesHasBeenSet() const
Definition: ChannelSpecification.h:252
Aws::SageMaker::Model::ChannelSpecification::WithSupportedInputModes
ChannelSpecification & WithSupportedInputModes(Aws::Vector< TrainingInputMode > &&value)
Definition: ChannelSpecification.h:292
Aws::SageMaker::Model::ChannelSpecification::SupportedContentTypesHasBeenSet
bool SupportedContentTypesHasBeenSet() const
Definition: ChannelSpecification.h:155
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::ChannelSpecification::GetName
const Aws::String & GetName() const
Definition: ChannelSpecification.h:47
Aws::SageMaker::Model::ChannelSpecification::IsRequiredHasBeenSet
bool IsRequiredHasBeenSet() const
Definition: ChannelSpecification.h:134
Aws::SageMaker::Model::ChannelSpecification
Definition: ChannelSpecification.h:36
Aws::SageMaker::Model::ChannelSpecification::GetDescription
const Aws::String & GetDescription() const
Definition: ChannelSpecification.h:88
Aws::SageMaker::Model::ChannelSpecification::WithSupportedCompressionTypes
ChannelSpecification & WithSupportedCompressionTypes(Aws::Vector< CompressionType > &&value)
Definition: ChannelSpecification.h:221
Aws::SageMaker::Model::ChannelSpecification::ChannelSpecification
ChannelSpecification()
Aws::SageMaker::Model::ChannelSpecification::WithIsRequired
ChannelSpecification & WithIsRequired(bool value)
Definition: ChannelSpecification.h:144
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ChannelSpecification::operator=
ChannelSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ChannelSpecification::SetSupportedContentTypes
void SetSupportedContentTypes(Aws::Vector< Aws::String > &&value)
Definition: ChannelSpecification.h:165
Aws::SageMaker::Model::ChannelSpecification::WithDescription
ChannelSpecification & WithDescription(const char *value)
Definition: ChannelSpecification.h:123
Aws::SageMaker::Model::ChannelSpecification::SetSupportedInputModes
void SetSupportedInputModes(const Aws::Vector< TrainingInputMode > &value)
Definition: ChannelSpecification.h:262
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ChannelSpecification::WithSupportedContentTypes
ChannelSpecification & WithSupportedContentTypes(Aws::Vector< Aws::String > &&value)
Definition: ChannelSpecification.h:175
Aws::SageMaker::Model::ChannelSpecification::SetSupportedInputModes
void SetSupportedInputModes(Aws::Vector< TrainingInputMode > &&value)
Definition: ChannelSpecification.h:272
Aws::SageMaker::Model::ChannelSpecification::WithSupportedCompressionTypes
ChannelSpecification & WithSupportedCompressionTypes(const Aws::Vector< CompressionType > &value)
Definition: ChannelSpecification.h:216
Aws::SageMaker::Model::ChannelSpecification::SupportedCompressionTypesHasBeenSet
bool SupportedCompressionTypesHasBeenSet() const
Definition: ChannelSpecification.h:201
Aws::SageMaker::Model::ChannelSpecification::WithName
ChannelSpecification & WithName(Aws::String &&value)
Definition: ChannelSpecification.h:77
Aws::SageMaker::Model::ChannelSpecification::GetIsRequired
bool GetIsRequired() const
Definition: ChannelSpecification.h:129
Aws::SageMaker::Model::ChannelSpecification::SetDescription
void SetDescription(const Aws::String &value)
Definition: ChannelSpecification.h:98
Aws::SageMaker::Model::ChannelSpecification::SetSupportedCompressionTypes
void SetSupportedCompressionTypes(const Aws::Vector< CompressionType > &value)
Definition: ChannelSpecification.h:206
Aws::SageMaker::Model::ChannelSpecification::WithDescription
ChannelSpecification & WithDescription(const Aws::String &value)
Definition: ChannelSpecification.h:113