AWS SDK for C++

AWS SDK for C++ Version 1.11.804

Loading...
Searching...
No Matches
AIDatasetConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/AIWorkloadInputDataConfig.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
30 public:
31 AWS_SAGEMAKER_API AIDatasetConfig() = default;
32 AWS_SAGEMAKER_API AIDatasetConfig(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<AIWorkloadInputDataConfig>& GetInputDataConfig() const { return m_inputDataConfig; }
41 inline bool InputDataConfigHasBeenSet() const { return m_inputDataConfigHasBeenSet; }
42 template <typename InputDataConfigT = Aws::Vector<AIWorkloadInputDataConfig>>
43 void SetInputDataConfig(InputDataConfigT&& value) {
44 m_inputDataConfigHasBeenSet = true;
45 m_inputDataConfig = std::forward<InputDataConfigT>(value);
46 }
47 template <typename InputDataConfigT = Aws::Vector<AIWorkloadInputDataConfig>>
48 AIDatasetConfig& WithInputDataConfig(InputDataConfigT&& value) {
49 SetInputDataConfig(std::forward<InputDataConfigT>(value));
50 return *this;
51 }
52 template <typename InputDataConfigT = AIWorkloadInputDataConfig>
53 AIDatasetConfig& AddInputDataConfig(InputDataConfigT&& value) {
54 m_inputDataConfigHasBeenSet = true;
55 m_inputDataConfig.emplace_back(std::forward<InputDataConfigT>(value));
56 return *this;
57 }
59 private:
61 bool m_inputDataConfigHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace SageMaker
66} // namespace Aws
AIDatasetConfig & WithInputDataConfig(InputDataConfigT &&value)
AWS_SAGEMAKER_API AIDatasetConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AIDatasetConfig & AddInputDataConfig(InputDataConfigT &&value)
const Aws::Vector< AIWorkloadInputDataConfig > & GetInputDataConfig() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetInputDataConfig(InputDataConfigT &&value)
AWS_SAGEMAKER_API AIDatasetConfig()=default
AWS_SAGEMAKER_API AIDatasetConfig(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue