AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
50 inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
51 inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
52 inline AdditionalModelDataSource& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
53 inline AdditionalModelDataSource& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
54 inline AdditionalModelDataSource& WithChannelName(const char* value) { SetChannelName(value); return *this;}
56
58
59 inline const S3ModelDataSource& GetS3DataSource() const{ return m_s3DataSource; }
60 inline bool S3DataSourceHasBeenSet() const { return m_s3DataSourceHasBeenSet; }
61 inline void SetS3DataSource(const S3ModelDataSource& value) { m_s3DataSourceHasBeenSet = true; m_s3DataSource = value; }
62 inline void SetS3DataSource(S3ModelDataSource&& value) { m_s3DataSourceHasBeenSet = true; m_s3DataSource = std::move(value); }
63 inline AdditionalModelDataSource& WithS3DataSource(const S3ModelDataSource& value) { SetS3DataSource(value); return *this;}
64 inline AdditionalModelDataSource& WithS3DataSource(S3ModelDataSource&& value) { SetS3DataSource(std::move(value)); return *this;}
66 private:
67
68 Aws::String m_channelName;
69 bool m_channelNameHasBeenSet = false;
70
71 S3ModelDataSource m_s3DataSource;
72 bool m_s3DataSourceHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace SageMaker
77} // namespace Aws
AdditionalModelDataSource & WithChannelName(const char *value)
AdditionalModelDataSource & WithS3DataSource(const S3ModelDataSource &value)
AWS_SAGEMAKER_API AdditionalModelDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API AdditionalModelDataSource(Aws::Utils::Json::JsonView jsonValue)
AdditionalModelDataSource & WithChannelName(Aws::String &&value)
AdditionalModelDataSource & WithChannelName(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AdditionalModelDataSource & WithS3DataSource(S3ModelDataSource &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue