AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProfilerConfigForUpdate.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
35 {
36 public:
37 AWS_SAGEMAKER_API ProfilerConfigForUpdate();
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetS3OutputPath() const{ return m_s3OutputPath; }
48 inline bool S3OutputPathHasBeenSet() const { return m_s3OutputPathHasBeenSet; }
49 inline void SetS3OutputPath(const Aws::String& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = value; }
50 inline void SetS3OutputPath(Aws::String&& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = std::move(value); }
51 inline void SetS3OutputPath(const char* value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath.assign(value); }
52 inline ProfilerConfigForUpdate& WithS3OutputPath(const Aws::String& value) { SetS3OutputPath(value); return *this;}
53 inline ProfilerConfigForUpdate& WithS3OutputPath(Aws::String&& value) { SetS3OutputPath(std::move(value)); return *this;}
54 inline ProfilerConfigForUpdate& WithS3OutputPath(const char* value) { SetS3OutputPath(value); return *this;}
56
58
63 inline long long GetProfilingIntervalInMilliseconds() const{ return m_profilingIntervalInMilliseconds; }
64 inline bool ProfilingIntervalInMillisecondsHasBeenSet() const { return m_profilingIntervalInMillisecondsHasBeenSet; }
65 inline void SetProfilingIntervalInMilliseconds(long long value) { m_profilingIntervalInMillisecondsHasBeenSet = true; m_profilingIntervalInMilliseconds = value; }
68
70
81 inline const Aws::Map<Aws::String, Aws::String>& GetProfilingParameters() const{ return m_profilingParameters; }
82 inline bool ProfilingParametersHasBeenSet() const { return m_profilingParametersHasBeenSet; }
83 inline void SetProfilingParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_profilingParametersHasBeenSet = true; m_profilingParameters = value; }
84 inline void SetProfilingParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_profilingParametersHasBeenSet = true; m_profilingParameters = std::move(value); }
87 inline ProfilerConfigForUpdate& AddProfilingParameters(const Aws::String& key, const Aws::String& value) { m_profilingParametersHasBeenSet = true; m_profilingParameters.emplace(key, value); return *this; }
88 inline ProfilerConfigForUpdate& AddProfilingParameters(Aws::String&& key, const Aws::String& value) { m_profilingParametersHasBeenSet = true; m_profilingParameters.emplace(std::move(key), value); return *this; }
89 inline ProfilerConfigForUpdate& AddProfilingParameters(const Aws::String& key, Aws::String&& value) { m_profilingParametersHasBeenSet = true; m_profilingParameters.emplace(key, std::move(value)); return *this; }
90 inline ProfilerConfigForUpdate& AddProfilingParameters(Aws::String&& key, Aws::String&& value) { m_profilingParametersHasBeenSet = true; m_profilingParameters.emplace(std::move(key), std::move(value)); return *this; }
91 inline ProfilerConfigForUpdate& AddProfilingParameters(const char* key, Aws::String&& value) { m_profilingParametersHasBeenSet = true; m_profilingParameters.emplace(key, std::move(value)); return *this; }
92 inline ProfilerConfigForUpdate& AddProfilingParameters(Aws::String&& key, const char* value) { m_profilingParametersHasBeenSet = true; m_profilingParameters.emplace(std::move(key), value); return *this; }
93 inline ProfilerConfigForUpdate& AddProfilingParameters(const char* key, const char* value) { m_profilingParametersHasBeenSet = true; m_profilingParameters.emplace(key, value); return *this; }
95
97
101 inline bool GetDisableProfiler() const{ return m_disableProfiler; }
102 inline bool DisableProfilerHasBeenSet() const { return m_disableProfilerHasBeenSet; }
103 inline void SetDisableProfiler(bool value) { m_disableProfilerHasBeenSet = true; m_disableProfiler = value; }
104 inline ProfilerConfigForUpdate& WithDisableProfiler(bool value) { SetDisableProfiler(value); return *this;}
106 private:
107
108 Aws::String m_s3OutputPath;
109 bool m_s3OutputPathHasBeenSet = false;
110
111 long long m_profilingIntervalInMilliseconds;
112 bool m_profilingIntervalInMillisecondsHasBeenSet = false;
113
114 Aws::Map<Aws::String, Aws::String> m_profilingParameters;
115 bool m_profilingParametersHasBeenSet = false;
116
117 bool m_disableProfiler;
118 bool m_disableProfilerHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace SageMaker
123} // namespace Aws
ProfilerConfigForUpdate & AddProfilingParameters(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetProfilingParameters() const
ProfilerConfigForUpdate & AddProfilingParameters(const Aws::String &key, const Aws::String &value)
void SetProfilingParameters(const Aws::Map< Aws::String, Aws::String > &value)
AWS_SAGEMAKER_API ProfilerConfigForUpdate(Aws::Utils::Json::JsonView jsonValue)
ProfilerConfigForUpdate & WithProfilingParameters(Aws::Map< Aws::String, Aws::String > &&value)
ProfilerConfigForUpdate & WithS3OutputPath(Aws::String &&value)
ProfilerConfigForUpdate & AddProfilingParameters(Aws::String &&key, const char *value)
ProfilerConfigForUpdate & AddProfilingParameters(const char *key, const char *value)
ProfilerConfigForUpdate & WithDisableProfiler(bool value)
ProfilerConfigForUpdate & WithS3OutputPath(const char *value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProfilingParameters(Aws::Map< Aws::String, Aws::String > &&value)
ProfilerConfigForUpdate & AddProfilingParameters(const Aws::String &key, Aws::String &&value)
ProfilerConfigForUpdate & WithProfilingParameters(const Aws::Map< Aws::String, Aws::String > &value)
ProfilerConfigForUpdate & WithProfilingIntervalInMilliseconds(long long value)
ProfilerConfigForUpdate & AddProfilingParameters(Aws::String &&key, Aws::String &&value)
ProfilerConfigForUpdate & WithS3OutputPath(const Aws::String &value)
AWS_SAGEMAKER_API ProfilerConfigForUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
ProfilerConfigForUpdate & AddProfilingParameters(Aws::String &&key, const Aws::String &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