AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLocalPath(const Aws::String& value) { m_localPathHasBeenSet = true; m_localPath = value; }
56 inline void SetLocalPath(Aws::String&& value) { m_localPathHasBeenSet = true; m_localPath = std::move(value); }
57 inline void SetLocalPath(const char* value) { m_localPathHasBeenSet = true; m_localPath.assign(value); }
58 inline DebugHookConfig& WithLocalPath(const Aws::String& value) { SetLocalPath(value); return *this;}
59 inline DebugHookConfig& WithLocalPath(Aws::String&& value) { SetLocalPath(std::move(value)); return *this;}
60 inline DebugHookConfig& WithLocalPath(const char* value) { SetLocalPath(value); return *this;}
62
64
67 inline const Aws::String& GetS3OutputPath() const{ return m_s3OutputPath; }
68 inline bool S3OutputPathHasBeenSet() const { return m_s3OutputPathHasBeenSet; }
69 inline void SetS3OutputPath(const Aws::String& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = value; }
70 inline void SetS3OutputPath(Aws::String&& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = std::move(value); }
71 inline void SetS3OutputPath(const char* value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath.assign(value); }
72 inline DebugHookConfig& WithS3OutputPath(const Aws::String& value) { SetS3OutputPath(value); return *this;}
73 inline DebugHookConfig& WithS3OutputPath(Aws::String&& value) { SetS3OutputPath(std::move(value)); return *this;}
74 inline DebugHookConfig& WithS3OutputPath(const char* value) { SetS3OutputPath(value); return *this;}
76
78
82 inline const Aws::Map<Aws::String, Aws::String>& GetHookParameters() const{ return m_hookParameters; }
83 inline bool HookParametersHasBeenSet() const { return m_hookParametersHasBeenSet; }
84 inline void SetHookParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_hookParametersHasBeenSet = true; m_hookParameters = value; }
85 inline void SetHookParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_hookParametersHasBeenSet = true; m_hookParameters = std::move(value); }
88 inline DebugHookConfig& AddHookParameters(const Aws::String& key, const Aws::String& value) { m_hookParametersHasBeenSet = true; m_hookParameters.emplace(key, value); return *this; }
89 inline DebugHookConfig& AddHookParameters(Aws::String&& key, const Aws::String& value) { m_hookParametersHasBeenSet = true; m_hookParameters.emplace(std::move(key), value); return *this; }
90 inline DebugHookConfig& AddHookParameters(const Aws::String& key, Aws::String&& value) { m_hookParametersHasBeenSet = true; m_hookParameters.emplace(key, std::move(value)); return *this; }
91 inline DebugHookConfig& AddHookParameters(Aws::String&& key, Aws::String&& value) { m_hookParametersHasBeenSet = true; m_hookParameters.emplace(std::move(key), std::move(value)); return *this; }
92 inline DebugHookConfig& AddHookParameters(const char* key, Aws::String&& value) { m_hookParametersHasBeenSet = true; m_hookParameters.emplace(key, std::move(value)); return *this; }
93 inline DebugHookConfig& AddHookParameters(Aws::String&& key, const char* value) { m_hookParametersHasBeenSet = true; m_hookParameters.emplace(std::move(key), value); return *this; }
94 inline DebugHookConfig& AddHookParameters(const char* key, const char* value) { m_hookParametersHasBeenSet = true; m_hookParameters.emplace(key, value); return *this; }
96
98
106 inline const Aws::Vector<CollectionConfiguration>& GetCollectionConfigurations() const{ return m_collectionConfigurations; }
107 inline bool CollectionConfigurationsHasBeenSet() const { return m_collectionConfigurationsHasBeenSet; }
108 inline void SetCollectionConfigurations(const Aws::Vector<CollectionConfiguration>& value) { m_collectionConfigurationsHasBeenSet = true; m_collectionConfigurations = value; }
109 inline void SetCollectionConfigurations(Aws::Vector<CollectionConfiguration>&& value) { m_collectionConfigurationsHasBeenSet = true; m_collectionConfigurations = std::move(value); }
112 inline DebugHookConfig& AddCollectionConfigurations(const CollectionConfiguration& value) { m_collectionConfigurationsHasBeenSet = true; m_collectionConfigurations.push_back(value); return *this; }
113 inline DebugHookConfig& AddCollectionConfigurations(CollectionConfiguration&& value) { m_collectionConfigurationsHasBeenSet = true; m_collectionConfigurations.push_back(std::move(value)); return *this; }
115 private:
116
117 Aws::String m_localPath;
118 bool m_localPathHasBeenSet = false;
119
120 Aws::String m_s3OutputPath;
121 bool m_s3OutputPathHasBeenSet = false;
122
123 Aws::Map<Aws::String, Aws::String> m_hookParameters;
124 bool m_hookParametersHasBeenSet = false;
125
126 Aws::Vector<CollectionConfiguration> m_collectionConfigurations;
127 bool m_collectionConfigurationsHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace SageMaker
132} // namespace Aws
AWS_SAGEMAKER_API DebugHookConfig(Aws::Utils::Json::JsonView jsonValue)
DebugHookConfig & AddHookParameters(const Aws::String &key, Aws::String &&value)
DebugHookConfig & WithS3OutputPath(const Aws::String &value)
DebugHookConfig & WithS3OutputPath(const char *value)
const Aws::Vector< CollectionConfiguration > & GetCollectionConfigurations() const
DebugHookConfig & WithHookParameters(const Aws::Map< Aws::String, Aws::String > &value)
void SetLocalPath(Aws::String &&value)
void SetS3OutputPath(const Aws::String &value)
DebugHookConfig & WithCollectionConfigurations(const Aws::Vector< CollectionConfiguration > &value)
const Aws::Map< Aws::String, Aws::String > & GetHookParameters() const
void SetHookParameters(Aws::Map< Aws::String, Aws::String > &&value)
DebugHookConfig & AddHookParameters(Aws::String &&key, Aws::String &&value)
void SetHookParameters(const Aws::Map< Aws::String, Aws::String > &value)
DebugHookConfig & AddHookParameters(const char *key, Aws::String &&value)
DebugHookConfig & AddHookParameters(Aws::String &&key, const char *value)
DebugHookConfig & AddHookParameters(const Aws::String &key, const Aws::String &value)
void SetS3OutputPath(Aws::String &&value)
void SetCollectionConfigurations(const Aws::Vector< CollectionConfiguration > &value)
void SetCollectionConfigurations(Aws::Vector< CollectionConfiguration > &&value)
AWS_SAGEMAKER_API DebugHookConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLocalPath() const
void SetLocalPath(const Aws::String &value)
DebugHookConfig & WithLocalPath(const Aws::String &value)
DebugHookConfig & AddHookParameters(Aws::String &&key, const Aws::String &value)
const Aws::String & GetS3OutputPath() const
DebugHookConfig & WithHookParameters(Aws::Map< Aws::String, Aws::String > &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetS3OutputPath(const char *value)
DebugHookConfig & AddCollectionConfigurations(CollectionConfiguration &&value)
DebugHookConfig & AddHookParameters(const char *key, const char *value)
DebugHookConfig & WithCollectionConfigurations(Aws::Vector< CollectionConfiguration > &&value)
DebugHookConfig & WithLocalPath(Aws::String &&value)
DebugHookConfig & WithLocalPath(const char *value)
DebugHookConfig & WithS3OutputPath(Aws::String &&value)
DebugHookConfig & AddCollectionConfigurations(const CollectionConfiguration &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