AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProfilerConfig.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SAGEMAKER_API ProfilerConfig();
37 AWS_SAGEMAKER_API ProfilerConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetS3OutputPath() const{ return m_s3OutputPath; }
47 inline bool S3OutputPathHasBeenSet() const { return m_s3OutputPathHasBeenSet; }
48 inline void SetS3OutputPath(const Aws::String& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = value; }
49 inline void SetS3OutputPath(Aws::String&& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = std::move(value); }
50 inline void SetS3OutputPath(const char* value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath.assign(value); }
51 inline ProfilerConfig& WithS3OutputPath(const Aws::String& value) { SetS3OutputPath(value); return *this;}
52 inline ProfilerConfig& WithS3OutputPath(Aws::String&& value) { SetS3OutputPath(std::move(value)); return *this;}
53 inline ProfilerConfig& WithS3OutputPath(const char* value) { SetS3OutputPath(value); return *this;}
55
57
62 inline long long GetProfilingIntervalInMilliseconds() const{ return m_profilingIntervalInMilliseconds; }
63 inline bool ProfilingIntervalInMillisecondsHasBeenSet() const { return m_profilingIntervalInMillisecondsHasBeenSet; }
64 inline void SetProfilingIntervalInMilliseconds(long long value) { m_profilingIntervalInMillisecondsHasBeenSet = true; m_profilingIntervalInMilliseconds = value; }
67
69
80 inline const Aws::Map<Aws::String, Aws::String>& GetProfilingParameters() const{ return m_profilingParameters; }
81 inline bool ProfilingParametersHasBeenSet() const { return m_profilingParametersHasBeenSet; }
82 inline void SetProfilingParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_profilingParametersHasBeenSet = true; m_profilingParameters = value; }
83 inline void SetProfilingParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_profilingParametersHasBeenSet = true; m_profilingParameters = std::move(value); }
86 inline ProfilerConfig& AddProfilingParameters(const Aws::String& key, const Aws::String& value) { m_profilingParametersHasBeenSet = true; m_profilingParameters.emplace(key, value); return *this; }
87 inline ProfilerConfig& AddProfilingParameters(Aws::String&& key, const Aws::String& value) { m_profilingParametersHasBeenSet = true; m_profilingParameters.emplace(std::move(key), value); return *this; }
88 inline ProfilerConfig& AddProfilingParameters(const Aws::String& key, Aws::String&& value) { m_profilingParametersHasBeenSet = true; m_profilingParameters.emplace(key, std::move(value)); return *this; }
89 inline ProfilerConfig& AddProfilingParameters(Aws::String&& key, Aws::String&& value) { m_profilingParametersHasBeenSet = true; m_profilingParameters.emplace(std::move(key), std::move(value)); return *this; }
90 inline ProfilerConfig& AddProfilingParameters(const char* key, Aws::String&& value) { m_profilingParametersHasBeenSet = true; m_profilingParameters.emplace(key, std::move(value)); return *this; }
91 inline ProfilerConfig& AddProfilingParameters(Aws::String&& key, const char* value) { m_profilingParametersHasBeenSet = true; m_profilingParameters.emplace(std::move(key), value); return *this; }
92 inline ProfilerConfig& AddProfilingParameters(const char* key, const char* value) { m_profilingParametersHasBeenSet = true; m_profilingParameters.emplace(key, value); return *this; }
94
96
100 inline bool GetDisableProfiler() const{ return m_disableProfiler; }
101 inline bool DisableProfilerHasBeenSet() const { return m_disableProfilerHasBeenSet; }
102 inline void SetDisableProfiler(bool value) { m_disableProfilerHasBeenSet = true; m_disableProfiler = value; }
103 inline ProfilerConfig& WithDisableProfiler(bool value) { SetDisableProfiler(value); return *this;}
105 private:
106
107 Aws::String m_s3OutputPath;
108 bool m_s3OutputPathHasBeenSet = false;
109
110 long long m_profilingIntervalInMilliseconds;
111 bool m_profilingIntervalInMillisecondsHasBeenSet = false;
112
113 Aws::Map<Aws::String, Aws::String> m_profilingParameters;
114 bool m_profilingParametersHasBeenSet = false;
115
116 bool m_disableProfiler;
117 bool m_disableProfilerHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace SageMaker
122} // namespace Aws
ProfilerConfig & AddProfilingParameters(const Aws::String &key, Aws::String &&value)
ProfilerConfig & AddProfilingParameters(const char *key, Aws::String &&value)
void SetProfilingParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetS3OutputPath(Aws::String &&value)
ProfilerConfig & AddProfilingParameters(const char *key, const char *value)
ProfilerConfig & AddProfilingParameters(Aws::String &&key, const Aws::String &value)
ProfilerConfig & WithS3OutputPath(Aws::String &&value)
const Aws::String & GetS3OutputPath() const
void SetProfilingParameters(const Aws::Map< Aws::String, Aws::String > &value)
ProfilerConfig & WithProfilingParameters(const Aws::Map< Aws::String, Aws::String > &value)
ProfilerConfig & AddProfilingParameters(const Aws::String &key, const Aws::String &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ProfilerConfig & WithS3OutputPath(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetProfilingParameters() const
ProfilerConfig & WithS3OutputPath(const Aws::String &value)
ProfilerConfig & WithDisableProfiler(bool value)
ProfilerConfig & WithProfilingIntervalInMilliseconds(long long value)
void SetS3OutputPath(const char *value)
ProfilerConfig & WithProfilingParameters(Aws::Map< Aws::String, Aws::String > &&value)
AWS_SAGEMAKER_API ProfilerConfig(Aws::Utils::Json::JsonView jsonValue)
ProfilerConfig & AddProfilingParameters(Aws::String &&key, Aws::String &&value)
long long GetProfilingIntervalInMilliseconds() const
void SetProfilingIntervalInMilliseconds(long long value)
void SetS3OutputPath(const Aws::String &value)
AWS_SAGEMAKER_API ProfilerConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ProfilerConfig & AddProfilingParameters(Aws::String &&key, const char *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
Aws::Utils::Json::JsonValue JsonValue