AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AdditionalModelDataSource.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/S3ModelDataSource.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SageMaker {
21namespace Model {
22
31 public:
32 AWS_SAGEMAKER_API AdditionalModelDataSource() = default;
35 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetChannelName() const { return m_channelName; }
42 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
43 template <typename ChannelNameT = Aws::String>
44 void SetChannelName(ChannelNameT&& value) {
45 m_channelNameHasBeenSet = true;
46 m_channelName = std::forward<ChannelNameT>(value);
47 }
48 template <typename ChannelNameT = Aws::String>
50 SetChannelName(std::forward<ChannelNameT>(value));
51 return *this;
52 }
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) {
61 m_s3DataSourceHasBeenSet = true;
62 m_s3DataSource = std::forward<S3DataSourceT>(value);
63 }
64 template <typename S3DataSourceT = S3ModelDataSource>
66 SetS3DataSource(std::forward<S3DataSourceT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_channelName;
72
73 S3ModelDataSource m_s3DataSource;
74 bool m_channelNameHasBeenSet = false;
75 bool m_s3DataSourceHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace SageMaker
80} // 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