AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AdditionalModelDataSource.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/S3ModelDataSource.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_SAGEMAKER_API AdditionalModelDataSource() = default;
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetChannelName() const { return m_channelName; }
48 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
49 template<typename ChannelNameT = Aws::String>
50 void SetChannelName(ChannelNameT&& value) { m_channelNameHasBeenSet = true; m_channelName = std::forward<ChannelNameT>(value); }
51 template<typename ChannelNameT = Aws::String>
52 AdditionalModelDataSource& WithChannelName(ChannelNameT&& value) { SetChannelName(std::forward<ChannelNameT>(value)); return *this;}
54
56
57 inline const S3ModelDataSource& GetS3DataSource() const { return m_s3DataSource; }
58 inline bool S3DataSourceHasBeenSet() const { return m_s3DataSourceHasBeenSet; }
59 template<typename S3DataSourceT = S3ModelDataSource>
60 void SetS3DataSource(S3DataSourceT&& value) { m_s3DataSourceHasBeenSet = true; m_s3DataSource = std::forward<S3DataSourceT>(value); }
61 template<typename S3DataSourceT = S3ModelDataSource>
62 AdditionalModelDataSource& WithS3DataSource(S3DataSourceT&& value) { SetS3DataSource(std::forward<S3DataSourceT>(value)); return *this;}
64 private:
65
66 Aws::String m_channelName;
67 bool m_channelNameHasBeenSet = false;
68
69 S3ModelDataSource m_s3DataSource;
70 bool m_s3DataSourceHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace SageMaker
75} // namespace Aws
AdditionalModelDataSource & WithS3DataSource(S3DataSourceT &&value)
AWS_SAGEMAKER_API AdditionalModelDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API AdditionalModelDataSource(Aws::Utils::Json::JsonView jsonValue)
AdditionalModelDataSource & WithChannelName(ChannelNameT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API AdditionalModelDataSource()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue