AWS SDK for C++  1.9.154
AWS SDK for C++
DebugHookConfig.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace SageMaker
25 {
26 namespace Model
27 {
28 
40  {
41  public:
46 
47 
52  inline const Aws::String& GetLocalPath() const{ return m_localPath; }
53 
58  inline bool LocalPathHasBeenSet() const { return m_localPathHasBeenSet; }
59 
64  inline void SetLocalPath(const Aws::String& value) { m_localPathHasBeenSet = true; m_localPath = value; }
65 
70  inline void SetLocalPath(Aws::String&& value) { m_localPathHasBeenSet = true; m_localPath = std::move(value); }
71 
76  inline void SetLocalPath(const char* value) { m_localPathHasBeenSet = true; m_localPath.assign(value); }
77 
82  inline DebugHookConfig& WithLocalPath(const Aws::String& value) { SetLocalPath(value); return *this;}
83 
88  inline DebugHookConfig& WithLocalPath(Aws::String&& value) { SetLocalPath(std::move(value)); return *this;}
89 
94  inline DebugHookConfig& WithLocalPath(const char* value) { SetLocalPath(value); return *this;}
95 
96 
100  inline const Aws::String& GetS3OutputPath() const{ return m_s3OutputPath; }
101 
105  inline bool S3OutputPathHasBeenSet() const { return m_s3OutputPathHasBeenSet; }
106 
110  inline void SetS3OutputPath(const Aws::String& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = value; }
111 
115  inline void SetS3OutputPath(Aws::String&& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = std::move(value); }
116 
120  inline void SetS3OutputPath(const char* value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath.assign(value); }
121 
125  inline DebugHookConfig& WithS3OutputPath(const Aws::String& value) { SetS3OutputPath(value); return *this;}
126 
130  inline DebugHookConfig& WithS3OutputPath(Aws::String&& value) { SetS3OutputPath(std::move(value)); return *this;}
131 
135  inline DebugHookConfig& WithS3OutputPath(const char* value) { SetS3OutputPath(value); return *this;}
136 
137 
141  inline const Aws::Map<Aws::String, Aws::String>& GetHookParameters() const{ return m_hookParameters; }
142 
146  inline bool HookParametersHasBeenSet() const { return m_hookParametersHasBeenSet; }
147 
151  inline void SetHookParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_hookParametersHasBeenSet = true; m_hookParameters = value; }
152 
156  inline void SetHookParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_hookParametersHasBeenSet = true; m_hookParameters = std::move(value); }
157 
161  inline DebugHookConfig& WithHookParameters(const Aws::Map<Aws::String, Aws::String>& value) { SetHookParameters(value); return *this;}
162 
166  inline DebugHookConfig& WithHookParameters(Aws::Map<Aws::String, Aws::String>&& value) { SetHookParameters(std::move(value)); return *this;}
167 
171  inline DebugHookConfig& AddHookParameters(const Aws::String& key, const Aws::String& value) { m_hookParametersHasBeenSet = true; m_hookParameters.emplace(key, value); return *this; }
172 
176  inline DebugHookConfig& AddHookParameters(Aws::String&& key, const Aws::String& value) { m_hookParametersHasBeenSet = true; m_hookParameters.emplace(std::move(key), value); return *this; }
177 
181  inline DebugHookConfig& AddHookParameters(const Aws::String& key, Aws::String&& value) { m_hookParametersHasBeenSet = true; m_hookParameters.emplace(key, std::move(value)); return *this; }
182 
186  inline DebugHookConfig& AddHookParameters(Aws::String&& key, Aws::String&& value) { m_hookParametersHasBeenSet = true; m_hookParameters.emplace(std::move(key), std::move(value)); return *this; }
187 
191  inline DebugHookConfig& AddHookParameters(const char* key, Aws::String&& value) { m_hookParametersHasBeenSet = true; m_hookParameters.emplace(key, std::move(value)); return *this; }
192 
196  inline DebugHookConfig& AddHookParameters(Aws::String&& key, const char* value) { m_hookParametersHasBeenSet = true; m_hookParameters.emplace(std::move(key), value); return *this; }
197 
201  inline DebugHookConfig& AddHookParameters(const char* key, const char* value) { m_hookParametersHasBeenSet = true; m_hookParameters.emplace(key, value); return *this; }
202 
203 
212  inline const Aws::Vector<CollectionConfiguration>& GetCollectionConfigurations() const{ return m_collectionConfigurations; }
213 
222  inline bool CollectionConfigurationsHasBeenSet() const { return m_collectionConfigurationsHasBeenSet; }
223 
232  inline void SetCollectionConfigurations(const Aws::Vector<CollectionConfiguration>& value) { m_collectionConfigurationsHasBeenSet = true; m_collectionConfigurations = value; }
233 
242  inline void SetCollectionConfigurations(Aws::Vector<CollectionConfiguration>&& value) { m_collectionConfigurationsHasBeenSet = true; m_collectionConfigurations = std::move(value); }
243 
252  inline DebugHookConfig& WithCollectionConfigurations(const Aws::Vector<CollectionConfiguration>& value) { SetCollectionConfigurations(value); return *this;}
253 
262  inline DebugHookConfig& WithCollectionConfigurations(Aws::Vector<CollectionConfiguration>&& value) { SetCollectionConfigurations(std::move(value)); return *this;}
263 
272  inline DebugHookConfig& AddCollectionConfigurations(const CollectionConfiguration& value) { m_collectionConfigurationsHasBeenSet = true; m_collectionConfigurations.push_back(value); return *this; }
273 
282  inline DebugHookConfig& AddCollectionConfigurations(CollectionConfiguration&& value) { m_collectionConfigurationsHasBeenSet = true; m_collectionConfigurations.push_back(std::move(value)); return *this; }
283 
284  private:
285 
286  Aws::String m_localPath;
287  bool m_localPathHasBeenSet;
288 
289  Aws::String m_s3OutputPath;
290  bool m_s3OutputPathHasBeenSet;
291 
292  Aws::Map<Aws::String, Aws::String> m_hookParameters;
293  bool m_hookParametersHasBeenSet;
294 
295  Aws::Vector<CollectionConfiguration> m_collectionConfigurations;
296  bool m_collectionConfigurationsHasBeenSet;
297  };
298 
299 } // namespace Model
300 } // namespace SageMaker
301 } // namespace Aws
Aws::SageMaker::Model::DebugHookConfig::operator=
DebugHookConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::DebugHookConfig::SetS3OutputPath
void SetS3OutputPath(Aws::String &&value)
Definition: DebugHookConfig.h:115
SageMaker_EXPORTS.h
Aws::SageMaker::Model::DebugHookConfig::S3OutputPathHasBeenSet
bool S3OutputPathHasBeenSet() const
Definition: DebugHookConfig.h:105
Aws::SageMaker::Model::DebugHookConfig::AddHookParameters
DebugHookConfig & AddHookParameters(const Aws::String &key, Aws::String &&value)
Definition: DebugHookConfig.h:181
Aws::SageMaker::Model::DebugHookConfig::SetCollectionConfigurations
void SetCollectionConfigurations(const Aws::Vector< CollectionConfiguration > &value)
Definition: DebugHookConfig.h:232
Aws::SageMaker::Model::DebugHookConfig::AddHookParameters
DebugHookConfig & AddHookParameters(const Aws::String &key, const Aws::String &value)
Definition: DebugHookConfig.h:171
Aws::SageMaker::Model::DebugHookConfig::WithS3OutputPath
DebugHookConfig & WithS3OutputPath(const char *value)
Definition: DebugHookConfig.h:135
Aws::SageMaker::Model::DebugHookConfig::SetLocalPath
void SetLocalPath(const Aws::String &value)
Definition: DebugHookConfig.h:64
CollectionConfiguration.h
Aws::SageMaker::Model::DebugHookConfig::AddCollectionConfigurations
DebugHookConfig & AddCollectionConfigurations(CollectionConfiguration &&value)
Definition: DebugHookConfig.h:282
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::DebugHookConfig::WithCollectionConfigurations
DebugHookConfig & WithCollectionConfigurations(Aws::Vector< CollectionConfiguration > &&value)
Definition: DebugHookConfig.h:262
Aws::SageMaker::Model::DebugHookConfig::AddHookParameters
DebugHookConfig & AddHookParameters(const char *key, Aws::String &&value)
Definition: DebugHookConfig.h:191
Aws::SageMaker::Model::DebugHookConfig::WithS3OutputPath
DebugHookConfig & WithS3OutputPath(Aws::String &&value)
Definition: DebugHookConfig.h:130
AWSVector.h
Aws::SageMaker::Model::DebugHookConfig::AddCollectionConfigurations
DebugHookConfig & AddCollectionConfigurations(const CollectionConfiguration &value)
Definition: DebugHookConfig.h:272
Aws::SageMaker::Model::DebugHookConfig::AddHookParameters
DebugHookConfig & AddHookParameters(Aws::String &&key, const char *value)
Definition: DebugHookConfig.h:196
Aws::SageMaker::Model::DebugHookConfig::AddHookParameters
DebugHookConfig & AddHookParameters(Aws::String &&key, Aws::String &&value)
Definition: DebugHookConfig.h:186
Aws::SageMaker::Model::DebugHookConfig::LocalPathHasBeenSet
bool LocalPathHasBeenSet() const
Definition: DebugHookConfig.h:58
Aws::SageMaker::Model::DebugHookConfig::GetCollectionConfigurations
const Aws::Vector< CollectionConfiguration > & GetCollectionConfigurations() const
Definition: DebugHookConfig.h:212
Aws::SageMaker::Model::DebugHookConfig::GetLocalPath
const Aws::String & GetLocalPath() const
Definition: DebugHookConfig.h:52
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::DebugHookConfig::WithLocalPath
DebugHookConfig & WithLocalPath(Aws::String &&value)
Definition: DebugHookConfig.h:88
Aws::SageMaker::Model::DebugHookConfig::WithS3OutputPath
DebugHookConfig & WithS3OutputPath(const Aws::String &value)
Definition: DebugHookConfig.h:125
Aws::SageMaker::Model::DebugHookConfig::DebugHookConfig
DebugHookConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::CollectionConfiguration
Definition: CollectionConfiguration.h:34
Aws::SageMaker::Model::DebugHookConfig::CollectionConfigurationsHasBeenSet
bool CollectionConfigurationsHasBeenSet() const
Definition: DebugHookConfig.h:222
Aws::SageMaker::Model::DebugHookConfig::SetS3OutputPath
void SetS3OutputPath(const char *value)
Definition: DebugHookConfig.h:120
Aws::SageMaker::Model::DebugHookConfig::SetCollectionConfigurations
void SetCollectionConfigurations(Aws::Vector< CollectionConfiguration > &&value)
Definition: DebugHookConfig.h:242
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::DebugHookConfig::WithCollectionConfigurations
DebugHookConfig & WithCollectionConfigurations(const Aws::Vector< CollectionConfiguration > &value)
Definition: DebugHookConfig.h:252
Aws::SageMaker::Model::DebugHookConfig::SetLocalPath
void SetLocalPath(Aws::String &&value)
Definition: DebugHookConfig.h:70
Aws::SageMaker::Model::DebugHookConfig::SetLocalPath
void SetLocalPath(const char *value)
Definition: DebugHookConfig.h:76
Aws::SageMaker::Model::DebugHookConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::DebugHookConfig::HookParametersHasBeenSet
bool HookParametersHasBeenSet() const
Definition: DebugHookConfig.h:146
Aws::SageMaker::Model::DebugHookConfig::WithLocalPath
DebugHookConfig & WithLocalPath(const char *value)
Definition: DebugHookConfig.h:94
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::DebugHookConfig::SetHookParameters
void SetHookParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: DebugHookConfig.h:156
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::DebugHookConfig::WithLocalPath
DebugHookConfig & WithLocalPath(const Aws::String &value)
Definition: DebugHookConfig.h:82
Aws::SageMaker::Model::DebugHookConfig
Definition: DebugHookConfig.h:40
Aws::SageMaker::Model::DebugHookConfig::WithHookParameters
DebugHookConfig & WithHookParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: DebugHookConfig.h:166
Aws::SageMaker::Model::DebugHookConfig::SetHookParameters
void SetHookParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: DebugHookConfig.h:151
Aws::SageMaker::Model::DebugHookConfig::GetS3OutputPath
const Aws::String & GetS3OutputPath() const
Definition: DebugHookConfig.h:100
Aws::SageMaker::Model::DebugHookConfig::AddHookParameters
DebugHookConfig & AddHookParameters(const char *key, const char *value)
Definition: DebugHookConfig.h:201
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::DebugHookConfig::WithHookParameters
DebugHookConfig & WithHookParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: DebugHookConfig.h:161
Aws::SageMaker::Model::DebugHookConfig::SetS3OutputPath
void SetS3OutputPath(const Aws::String &value)
Definition: DebugHookConfig.h:110
Aws::SageMaker::Model::DebugHookConfig::DebugHookConfig
DebugHookConfig()
AWSMap.h
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::SageMaker::Model::DebugHookConfig::AddHookParameters
DebugHookConfig & AddHookParameters(Aws::String &&key, const Aws::String &value)
Definition: DebugHookConfig.h:176
Aws::SageMaker::Model::DebugHookConfig::GetHookParameters
const Aws::Map< Aws::String, Aws::String > & GetHookParameters() const
Definition: DebugHookConfig.h:141