AWS SDK for C++  1.9.153
AWS SDK for C++
ProfilerConfig.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SageMaker
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetS3OutputPath() const{ return m_s3OutputPath; }
46 
50  inline bool S3OutputPathHasBeenSet() const { return m_s3OutputPathHasBeenSet; }
51 
55  inline void SetS3OutputPath(const Aws::String& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = value; }
56 
60  inline void SetS3OutputPath(Aws::String&& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = std::move(value); }
61 
65  inline void SetS3OutputPath(const char* value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath.assign(value); }
66 
70  inline ProfilerConfig& WithS3OutputPath(const Aws::String& value) { SetS3OutputPath(value); return *this;}
71 
75  inline ProfilerConfig& WithS3OutputPath(Aws::String&& value) { SetS3OutputPath(std::move(value)); return *this;}
76 
80  inline ProfilerConfig& WithS3OutputPath(const char* value) { SetS3OutputPath(value); return *this;}
81 
82 
88  inline long long GetProfilingIntervalInMilliseconds() const{ return m_profilingIntervalInMilliseconds; }
89 
95  inline bool ProfilingIntervalInMillisecondsHasBeenSet() const { return m_profilingIntervalInMillisecondsHasBeenSet; }
96 
102  inline void SetProfilingIntervalInMilliseconds(long long value) { m_profilingIntervalInMillisecondsHasBeenSet = true; m_profilingIntervalInMilliseconds = value; }
103 
109  inline ProfilerConfig& WithProfilingIntervalInMilliseconds(long long value) { SetProfilingIntervalInMilliseconds(value); return *this;}
110 
111 
123  inline const Aws::Map<Aws::String, Aws::String>& GetProfilingParameters() const{ return m_profilingParameters; }
124 
136  inline bool ProfilingParametersHasBeenSet() const { return m_profilingParametersHasBeenSet; }
137 
149  inline void SetProfilingParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_profilingParametersHasBeenSet = true; m_profilingParameters = value; }
150 
162  inline void SetProfilingParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_profilingParametersHasBeenSet = true; m_profilingParameters = std::move(value); }
163 
175  inline ProfilerConfig& WithProfilingParameters(const Aws::Map<Aws::String, Aws::String>& value) { SetProfilingParameters(value); return *this;}
176 
188  inline ProfilerConfig& WithProfilingParameters(Aws::Map<Aws::String, Aws::String>&& value) { SetProfilingParameters(std::move(value)); return *this;}
189 
201  inline ProfilerConfig& AddProfilingParameters(const Aws::String& key, const Aws::String& value) { m_profilingParametersHasBeenSet = true; m_profilingParameters.emplace(key, value); return *this; }
202 
214  inline ProfilerConfig& AddProfilingParameters(Aws::String&& key, const Aws::String& value) { m_profilingParametersHasBeenSet = true; m_profilingParameters.emplace(std::move(key), value); return *this; }
215 
227  inline ProfilerConfig& AddProfilingParameters(const Aws::String& key, Aws::String&& value) { m_profilingParametersHasBeenSet = true; m_profilingParameters.emplace(key, std::move(value)); return *this; }
228 
240  inline ProfilerConfig& AddProfilingParameters(Aws::String&& key, Aws::String&& value) { m_profilingParametersHasBeenSet = true; m_profilingParameters.emplace(std::move(key), std::move(value)); return *this; }
241 
253  inline ProfilerConfig& AddProfilingParameters(const char* key, Aws::String&& value) { m_profilingParametersHasBeenSet = true; m_profilingParameters.emplace(key, std::move(value)); return *this; }
254 
266  inline ProfilerConfig& AddProfilingParameters(Aws::String&& key, const char* value) { m_profilingParametersHasBeenSet = true; m_profilingParameters.emplace(std::move(key), value); return *this; }
267 
279  inline ProfilerConfig& AddProfilingParameters(const char* key, const char* value) { m_profilingParametersHasBeenSet = true; m_profilingParameters.emplace(key, value); return *this; }
280 
281  private:
282 
283  Aws::String m_s3OutputPath;
284  bool m_s3OutputPathHasBeenSet;
285 
286  long long m_profilingIntervalInMilliseconds;
287  bool m_profilingIntervalInMillisecondsHasBeenSet;
288 
289  Aws::Map<Aws::String, Aws::String> m_profilingParameters;
290  bool m_profilingParametersHasBeenSet;
291  };
292 
293 } // namespace Model
294 } // namespace SageMaker
295 } // namespace Aws
Aws::SageMaker::Model::ProfilerConfig::AddProfilingParameters
ProfilerConfig & AddProfilingParameters(const char *key, const char *value)
Definition: ProfilerConfig.h:279
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ProfilerConfig::ProfilerConfig
ProfilerConfig()
Aws::SageMaker::Model::ProfilerConfig::WithProfilingIntervalInMilliseconds
ProfilerConfig & WithProfilingIntervalInMilliseconds(long long value)
Definition: ProfilerConfig.h:109
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ProfilerConfig::SetProfilingParameters
void SetProfilingParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: ProfilerConfig.h:162
Aws::SageMaker::Model::ProfilerConfig::SetS3OutputPath
void SetS3OutputPath(Aws::String &&value)
Definition: ProfilerConfig.h:60
Aws::SageMaker::Model::ProfilerConfig::GetProfilingIntervalInMilliseconds
long long GetProfilingIntervalInMilliseconds() const
Definition: ProfilerConfig.h:88
Aws::SageMaker::Model::ProfilerConfig::SetS3OutputPath
void SetS3OutputPath(const Aws::String &value)
Definition: ProfilerConfig.h:55
Aws::SageMaker::Model::ProfilerConfig::AddProfilingParameters
ProfilerConfig & AddProfilingParameters(Aws::String &&key, const Aws::String &value)
Definition: ProfilerConfig.h:214
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ProfilerConfig::ProfilingIntervalInMillisecondsHasBeenSet
bool ProfilingIntervalInMillisecondsHasBeenSet() const
Definition: ProfilerConfig.h:95
Aws::SageMaker::Model::ProfilerConfig::ProfilerConfig
ProfilerConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::ProfilerConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::ProfilerConfig::WithS3OutputPath
ProfilerConfig & WithS3OutputPath(const Aws::String &value)
Definition: ProfilerConfig.h:70
Aws::SageMaker::Model::ProfilerConfig::SetS3OutputPath
void SetS3OutputPath(const char *value)
Definition: ProfilerConfig.h:65
Aws::SageMaker::Model::ProfilerConfig::AddProfilingParameters
ProfilerConfig & AddProfilingParameters(const Aws::String &key, Aws::String &&value)
Definition: ProfilerConfig.h:227
Aws::SageMaker::Model::ProfilerConfig::GetS3OutputPath
const Aws::String & GetS3OutputPath() const
Definition: ProfilerConfig.h:45
Aws::SageMaker::Model::ProfilerConfig::AddProfilingParameters
ProfilerConfig & AddProfilingParameters(Aws::String &&key, const char *value)
Definition: ProfilerConfig.h:266
Aws::SageMaker::Model::ProfilerConfig::S3OutputPathHasBeenSet
bool S3OutputPathHasBeenSet() const
Definition: ProfilerConfig.h:50
Aws::SageMaker::Model::ProfilerConfig::AddProfilingParameters
ProfilerConfig & AddProfilingParameters(const char *key, Aws::String &&value)
Definition: ProfilerConfig.h:253
Aws::SageMaker::Model::ProfilerConfig::AddProfilingParameters
ProfilerConfig & AddProfilingParameters(Aws::String &&key, Aws::String &&value)
Definition: ProfilerConfig.h:240
Aws::SageMaker::Model::ProfilerConfig
Definition: ProfilerConfig.h:34
Aws::SageMaker::Model::ProfilerConfig::WithS3OutputPath
ProfilerConfig & WithS3OutputPath(const char *value)
Definition: ProfilerConfig.h:80
Aws::SageMaker::Model::ProfilerConfig::WithProfilingParameters
ProfilerConfig & WithProfilingParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: ProfilerConfig.h:175
Aws::SageMaker::Model::ProfilerConfig::operator=
ProfilerConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ProfilerConfig::WithS3OutputPath
ProfilerConfig & WithS3OutputPath(Aws::String &&value)
Definition: ProfilerConfig.h:75
Aws::SageMaker::Model::ProfilerConfig::SetProfilingParameters
void SetProfilingParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: ProfilerConfig.h:149
Aws::SageMaker::Model::ProfilerConfig::AddProfilingParameters
ProfilerConfig & AddProfilingParameters(const Aws::String &key, const Aws::String &value)
Definition: ProfilerConfig.h:201
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ProfilerConfig::ProfilingParametersHasBeenSet
bool ProfilingParametersHasBeenSet() const
Definition: ProfilerConfig.h:136
Aws::SageMaker::Model::ProfilerConfig::SetProfilingIntervalInMilliseconds
void SetProfilingIntervalInMilliseconds(long long value)
Definition: ProfilerConfig.h:102
Aws::SageMaker::Model::ProfilerConfig::GetProfilingParameters
const Aws::Map< Aws::String, Aws::String > & GetProfilingParameters() const
Definition: ProfilerConfig.h:123
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::ProfilerConfig::WithProfilingParameters
ProfilerConfig & WithProfilingParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: ProfilerConfig.h:188