AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename S3OutputPathT = Aws::String>
50 void SetS3OutputPath(S3OutputPathT&& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = std::forward<S3OutputPathT>(value); }
51 template<typename S3OutputPathT = Aws::String>
52 ProfilerConfigForUpdate& WithS3OutputPath(S3OutputPathT&& value) { SetS3OutputPath(std::forward<S3OutputPathT>(value)); return *this;}
54
56
61 inline long long GetProfilingIntervalInMilliseconds() const { return m_profilingIntervalInMilliseconds; }
62 inline bool ProfilingIntervalInMillisecondsHasBeenSet() const { return m_profilingIntervalInMillisecondsHasBeenSet; }
63 inline void SetProfilingIntervalInMilliseconds(long long value) { m_profilingIntervalInMillisecondsHasBeenSet = true; m_profilingIntervalInMilliseconds = value; }
66
68
79 inline const Aws::Map<Aws::String, Aws::String>& GetProfilingParameters() const { return m_profilingParameters; }
80 inline bool ProfilingParametersHasBeenSet() const { return m_profilingParametersHasBeenSet; }
81 template<typename ProfilingParametersT = Aws::Map<Aws::String, Aws::String>>
82 void SetProfilingParameters(ProfilingParametersT&& value) { m_profilingParametersHasBeenSet = true; m_profilingParameters = std::forward<ProfilingParametersT>(value); }
83 template<typename ProfilingParametersT = Aws::Map<Aws::String, Aws::String>>
84 ProfilerConfigForUpdate& WithProfilingParameters(ProfilingParametersT&& value) { SetProfilingParameters(std::forward<ProfilingParametersT>(value)); return *this;}
85 template<typename ProfilingParametersKeyT = Aws::String, typename ProfilingParametersValueT = Aws::String>
86 ProfilerConfigForUpdate& AddProfilingParameters(ProfilingParametersKeyT&& key, ProfilingParametersValueT&& value) {
87 m_profilingParametersHasBeenSet = true; m_profilingParameters.emplace(std::forward<ProfilingParametersKeyT>(key), std::forward<ProfilingParametersValueT>(value)); return *this;
88 }
90
92
96 inline bool GetDisableProfiler() const { return m_disableProfiler; }
97 inline bool DisableProfilerHasBeenSet() const { return m_disableProfilerHasBeenSet; }
98 inline void SetDisableProfiler(bool value) { m_disableProfilerHasBeenSet = true; m_disableProfiler = value; }
99 inline ProfilerConfigForUpdate& WithDisableProfiler(bool value) { SetDisableProfiler(value); return *this;}
101 private:
102
103 Aws::String m_s3OutputPath;
104 bool m_s3OutputPathHasBeenSet = false;
105
106 long long m_profilingIntervalInMilliseconds{0};
107 bool m_profilingIntervalInMillisecondsHasBeenSet = false;
108
109 Aws::Map<Aws::String, Aws::String> m_profilingParameters;
110 bool m_profilingParametersHasBeenSet = false;
111
112 bool m_disableProfiler{false};
113 bool m_disableProfilerHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace SageMaker
118} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetProfilingParameters() const
AWS_SAGEMAKER_API ProfilerConfigForUpdate(Aws::Utils::Json::JsonView jsonValue)
void SetProfilingParameters(ProfilingParametersT &&value)
ProfilerConfigForUpdate & WithS3OutputPath(S3OutputPathT &&value)
ProfilerConfigForUpdate & AddProfilingParameters(ProfilingParametersKeyT &&key, ProfilingParametersValueT &&value)
ProfilerConfigForUpdate & WithDisableProfiler(bool value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ProfilerConfigForUpdate & WithProfilingIntervalInMilliseconds(long long value)
AWS_SAGEMAKER_API ProfilerConfigForUpdate()=default
ProfilerConfigForUpdate & WithProfilingParameters(ProfilingParametersT &&value)
AWS_SAGEMAKER_API ProfilerConfigForUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
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