AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DebugHookConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/model/CollectionConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker
25{
26namespace Model
27{
28
40 {
41 public:
42 AWS_SAGEMAKER_API DebugHookConfig() = default;
43 AWS_SAGEMAKER_API DebugHookConfig(Aws::Utils::Json::JsonView jsonValue);
45 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
53 inline const Aws::String& GetLocalPath() const { return m_localPath; }
54 inline bool LocalPathHasBeenSet() const { return m_localPathHasBeenSet; }
55 template<typename LocalPathT = Aws::String>
56 void SetLocalPath(LocalPathT&& value) { m_localPathHasBeenSet = true; m_localPath = std::forward<LocalPathT>(value); }
57 template<typename LocalPathT = Aws::String>
58 DebugHookConfig& WithLocalPath(LocalPathT&& value) { SetLocalPath(std::forward<LocalPathT>(value)); return *this;}
60
62
65 inline const Aws::String& GetS3OutputPath() const { return m_s3OutputPath; }
66 inline bool S3OutputPathHasBeenSet() const { return m_s3OutputPathHasBeenSet; }
67 template<typename S3OutputPathT = Aws::String>
68 void SetS3OutputPath(S3OutputPathT&& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = std::forward<S3OutputPathT>(value); }
69 template<typename S3OutputPathT = Aws::String>
70 DebugHookConfig& WithS3OutputPath(S3OutputPathT&& value) { SetS3OutputPath(std::forward<S3OutputPathT>(value)); return *this;}
72
74
78 inline const Aws::Map<Aws::String, Aws::String>& GetHookParameters() const { return m_hookParameters; }
79 inline bool HookParametersHasBeenSet() const { return m_hookParametersHasBeenSet; }
80 template<typename HookParametersT = Aws::Map<Aws::String, Aws::String>>
81 void SetHookParameters(HookParametersT&& value) { m_hookParametersHasBeenSet = true; m_hookParameters = std::forward<HookParametersT>(value); }
82 template<typename HookParametersT = Aws::Map<Aws::String, Aws::String>>
83 DebugHookConfig& WithHookParameters(HookParametersT&& value) { SetHookParameters(std::forward<HookParametersT>(value)); return *this;}
84 template<typename HookParametersKeyT = Aws::String, typename HookParametersValueT = Aws::String>
85 DebugHookConfig& AddHookParameters(HookParametersKeyT&& key, HookParametersValueT&& value) {
86 m_hookParametersHasBeenSet = true; m_hookParameters.emplace(std::forward<HookParametersKeyT>(key), std::forward<HookParametersValueT>(value)); return *this;
87 }
89
91
99 inline const Aws::Vector<CollectionConfiguration>& GetCollectionConfigurations() const { return m_collectionConfigurations; }
100 inline bool CollectionConfigurationsHasBeenSet() const { return m_collectionConfigurationsHasBeenSet; }
101 template<typename CollectionConfigurationsT = Aws::Vector<CollectionConfiguration>>
102 void SetCollectionConfigurations(CollectionConfigurationsT&& value) { m_collectionConfigurationsHasBeenSet = true; m_collectionConfigurations = std::forward<CollectionConfigurationsT>(value); }
103 template<typename CollectionConfigurationsT = Aws::Vector<CollectionConfiguration>>
104 DebugHookConfig& WithCollectionConfigurations(CollectionConfigurationsT&& value) { SetCollectionConfigurations(std::forward<CollectionConfigurationsT>(value)); return *this;}
105 template<typename CollectionConfigurationsT = CollectionConfiguration>
106 DebugHookConfig& AddCollectionConfigurations(CollectionConfigurationsT&& value) { m_collectionConfigurationsHasBeenSet = true; m_collectionConfigurations.emplace_back(std::forward<CollectionConfigurationsT>(value)); return *this; }
108 private:
109
110 Aws::String m_localPath;
111 bool m_localPathHasBeenSet = false;
112
113 Aws::String m_s3OutputPath;
114 bool m_s3OutputPathHasBeenSet = false;
115
116 Aws::Map<Aws::String, Aws::String> m_hookParameters;
117 bool m_hookParametersHasBeenSet = false;
118
119 Aws::Vector<CollectionConfiguration> m_collectionConfigurations;
120 bool m_collectionConfigurationsHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace SageMaker
125} // namespace Aws
AWS_SAGEMAKER_API DebugHookConfig(Aws::Utils::Json::JsonView jsonValue)
void SetCollectionConfigurations(CollectionConfigurationsT &&value)
const Aws::Vector< CollectionConfiguration > & GetCollectionConfigurations() const
void SetLocalPath(LocalPathT &&value)
const Aws::Map< Aws::String, Aws::String > & GetHookParameters() const
void SetHookParameters(HookParametersT &&value)
DebugHookConfig & WithHookParameters(HookParametersT &&value)
AWS_SAGEMAKER_API DebugHookConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLocalPath() const
const Aws::String & GetS3OutputPath() const
AWS_SAGEMAKER_API DebugHookConfig()=default
DebugHookConfig & WithS3OutputPath(S3OutputPathT &&value)
DebugHookConfig & AddHookParameters(HookParametersKeyT &&key, HookParametersValueT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
DebugHookConfig & AddCollectionConfigurations(CollectionConfigurationsT &&value)
void SetS3OutputPath(S3OutputPathT &&value)
DebugHookConfig & WithLocalPath(LocalPathT &&value)
DebugHookConfig & WithCollectionConfigurations(CollectionConfigurationsT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue