AWS SDK for C++  1.9.160
AWS SDK for C++
ProfilerConfigForUpdate.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 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetS3OutputPath() const{ return m_s3OutputPath; }
47 
51  inline bool S3OutputPathHasBeenSet() const { return m_s3OutputPathHasBeenSet; }
52 
56  inline void SetS3OutputPath(const Aws::String& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = value; }
57 
61  inline void SetS3OutputPath(Aws::String&& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = std::move(value); }
62 
66  inline void SetS3OutputPath(const char* value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath.assign(value); }
67 
71  inline ProfilerConfigForUpdate& WithS3OutputPath(const Aws::String& value) { SetS3OutputPath(value); return *this;}
72 
76  inline ProfilerConfigForUpdate& WithS3OutputPath(Aws::String&& value) { SetS3OutputPath(std::move(value)); return *this;}
77 
81  inline ProfilerConfigForUpdate& WithS3OutputPath(const char* value) { SetS3OutputPath(value); return *this;}
82 
83 
89  inline long long GetProfilingIntervalInMilliseconds() const{ return m_profilingIntervalInMilliseconds; }
90 
96  inline bool ProfilingIntervalInMillisecondsHasBeenSet() const { return m_profilingIntervalInMillisecondsHasBeenSet; }
97 
103  inline void SetProfilingIntervalInMilliseconds(long long value) { m_profilingIntervalInMillisecondsHasBeenSet = true; m_profilingIntervalInMilliseconds = value; }
104 
110  inline ProfilerConfigForUpdate& WithProfilingIntervalInMilliseconds(long long value) { SetProfilingIntervalInMilliseconds(value); return *this;}
111 
112 
124  inline const Aws::Map<Aws::String, Aws::String>& GetProfilingParameters() const{ return m_profilingParameters; }
125 
137  inline bool ProfilingParametersHasBeenSet() const { return m_profilingParametersHasBeenSet; }
138 
150  inline void SetProfilingParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_profilingParametersHasBeenSet = true; m_profilingParameters = value; }
151 
163  inline void SetProfilingParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_profilingParametersHasBeenSet = true; m_profilingParameters = std::move(value); }
164 
176  inline ProfilerConfigForUpdate& WithProfilingParameters(const Aws::Map<Aws::String, Aws::String>& value) { SetProfilingParameters(value); return *this;}
177 
189  inline ProfilerConfigForUpdate& WithProfilingParameters(Aws::Map<Aws::String, Aws::String>&& value) { SetProfilingParameters(std::move(value)); return *this;}
190 
202  inline ProfilerConfigForUpdate& AddProfilingParameters(const Aws::String& key, const Aws::String& value) { m_profilingParametersHasBeenSet = true; m_profilingParameters.emplace(key, value); return *this; }
203 
215  inline ProfilerConfigForUpdate& AddProfilingParameters(Aws::String&& key, const Aws::String& value) { m_profilingParametersHasBeenSet = true; m_profilingParameters.emplace(std::move(key), value); return *this; }
216 
228  inline ProfilerConfigForUpdate& AddProfilingParameters(const Aws::String& key, Aws::String&& value) { m_profilingParametersHasBeenSet = true; m_profilingParameters.emplace(key, std::move(value)); return *this; }
229 
241  inline ProfilerConfigForUpdate& AddProfilingParameters(Aws::String&& key, Aws::String&& value) { m_profilingParametersHasBeenSet = true; m_profilingParameters.emplace(std::move(key), std::move(value)); return *this; }
242 
254  inline ProfilerConfigForUpdate& AddProfilingParameters(const char* key, Aws::String&& value) { m_profilingParametersHasBeenSet = true; m_profilingParameters.emplace(key, std::move(value)); return *this; }
255 
267  inline ProfilerConfigForUpdate& AddProfilingParameters(Aws::String&& key, const char* value) { m_profilingParametersHasBeenSet = true; m_profilingParameters.emplace(std::move(key), value); return *this; }
268 
280  inline ProfilerConfigForUpdate& AddProfilingParameters(const char* key, const char* value) { m_profilingParametersHasBeenSet = true; m_profilingParameters.emplace(key, value); return *this; }
281 
282 
286  inline bool GetDisableProfiler() const{ return m_disableProfiler; }
287 
291  inline bool DisableProfilerHasBeenSet() const { return m_disableProfilerHasBeenSet; }
292 
296  inline void SetDisableProfiler(bool value) { m_disableProfilerHasBeenSet = true; m_disableProfiler = value; }
297 
301  inline ProfilerConfigForUpdate& WithDisableProfiler(bool value) { SetDisableProfiler(value); return *this;}
302 
303  private:
304 
305  Aws::String m_s3OutputPath;
306  bool m_s3OutputPathHasBeenSet;
307 
308  long long m_profilingIntervalInMilliseconds;
309  bool m_profilingIntervalInMillisecondsHasBeenSet;
310 
311  Aws::Map<Aws::String, Aws::String> m_profilingParameters;
312  bool m_profilingParametersHasBeenSet;
313 
314  bool m_disableProfiler;
315  bool m_disableProfilerHasBeenSet;
316  };
317 
318 } // namespace Model
319 } // namespace SageMaker
320 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ProfilerConfigForUpdate
Definition: ProfilerConfigForUpdate.h:35
Aws::SageMaker::Model::ProfilerConfigForUpdate::WithProfilingIntervalInMilliseconds
ProfilerConfigForUpdate & WithProfilingIntervalInMilliseconds(long long value)
Definition: ProfilerConfigForUpdate.h:110
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ProfilerConfigForUpdate::GetDisableProfiler
bool GetDisableProfiler() const
Definition: ProfilerConfigForUpdate.h:286
Aws::SageMaker::Model::ProfilerConfigForUpdate::DisableProfilerHasBeenSet
bool DisableProfilerHasBeenSet() const
Definition: ProfilerConfigForUpdate.h:291
Aws::SageMaker::Model::ProfilerConfigForUpdate::WithS3OutputPath
ProfilerConfigForUpdate & WithS3OutputPath(const Aws::String &value)
Definition: ProfilerConfigForUpdate.h:71
Aws::SageMaker::Model::ProfilerConfigForUpdate::AddProfilingParameters
ProfilerConfigForUpdate & AddProfilingParameters(const Aws::String &key, Aws::String &&value)
Definition: ProfilerConfigForUpdate.h:228
Aws::SageMaker::Model::ProfilerConfigForUpdate::AddProfilingParameters
ProfilerConfigForUpdate & AddProfilingParameters(Aws::String &&key, const Aws::String &value)
Definition: ProfilerConfigForUpdate.h:215
Aws::SageMaker::Model::ProfilerConfigForUpdate::WithS3OutputPath
ProfilerConfigForUpdate & WithS3OutputPath(const char *value)
Definition: ProfilerConfigForUpdate.h:81
Aws::SageMaker::Model::ProfilerConfigForUpdate::AddProfilingParameters
ProfilerConfigForUpdate & AddProfilingParameters(Aws::String &&key, Aws::String &&value)
Definition: ProfilerConfigForUpdate.h:241
Aws::SageMaker::Model::ProfilerConfigForUpdate::ProfilingParametersHasBeenSet
bool ProfilingParametersHasBeenSet() const
Definition: ProfilerConfigForUpdate.h:137
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ProfilerConfigForUpdate::AddProfilingParameters
ProfilerConfigForUpdate & AddProfilingParameters(Aws::String &&key, const char *value)
Definition: ProfilerConfigForUpdate.h:267
Aws::SageMaker::Model::ProfilerConfigForUpdate::WithDisableProfiler
ProfilerConfigForUpdate & WithDisableProfiler(bool value)
Definition: ProfilerConfigForUpdate.h:301
Aws::SageMaker::Model::ProfilerConfigForUpdate::ProfilerConfigForUpdate
ProfilerConfigForUpdate(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ProfilerConfigForUpdate::GetProfilingIntervalInMilliseconds
long long GetProfilingIntervalInMilliseconds() const
Definition: ProfilerConfigForUpdate.h:89
Aws::SageMaker::Model::ProfilerConfigForUpdate::S3OutputPathHasBeenSet
bool S3OutputPathHasBeenSet() const
Definition: ProfilerConfigForUpdate.h:51
Aws::SageMaker::Model::ProfilerConfigForUpdate::GetS3OutputPath
const Aws::String & GetS3OutputPath() const
Definition: ProfilerConfigForUpdate.h:46
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::ProfilerConfigForUpdate::ProfilerConfigForUpdate
ProfilerConfigForUpdate()
Aws::SageMaker::Model::ProfilerConfigForUpdate::WithProfilingParameters
ProfilerConfigForUpdate & WithProfilingParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: ProfilerConfigForUpdate.h:189
Aws::SageMaker::Model::ProfilerConfigForUpdate::GetProfilingParameters
const Aws::Map< Aws::String, Aws::String > & GetProfilingParameters() const
Definition: ProfilerConfigForUpdate.h:124
Aws::SageMaker::Model::ProfilerConfigForUpdate::AddProfilingParameters
ProfilerConfigForUpdate & AddProfilingParameters(const char *key, Aws::String &&value)
Definition: ProfilerConfigForUpdate.h:254
Aws::SageMaker::Model::ProfilerConfigForUpdate::ProfilingIntervalInMillisecondsHasBeenSet
bool ProfilingIntervalInMillisecondsHasBeenSet() const
Definition: ProfilerConfigForUpdate.h:96
Aws::SageMaker::Model::ProfilerConfigForUpdate::AddProfilingParameters
ProfilerConfigForUpdate & AddProfilingParameters(const char *key, const char *value)
Definition: ProfilerConfigForUpdate.h:280
Aws::SageMaker::Model::ProfilerConfigForUpdate::AddProfilingParameters
ProfilerConfigForUpdate & AddProfilingParameters(const Aws::String &key, const Aws::String &value)
Definition: ProfilerConfigForUpdate.h:202
Aws::SageMaker::Model::ProfilerConfigForUpdate::SetS3OutputPath
void SetS3OutputPath(Aws::String &&value)
Definition: ProfilerConfigForUpdate.h:61
Aws::SageMaker::Model::ProfilerConfigForUpdate::SetS3OutputPath
void SetS3OutputPath(const char *value)
Definition: ProfilerConfigForUpdate.h:66
Aws::SageMaker::Model::ProfilerConfigForUpdate::operator=
ProfilerConfigForUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ProfilerConfigForUpdate::WithProfilingParameters
ProfilerConfigForUpdate & WithProfilingParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: ProfilerConfigForUpdate.h:176
Aws::SageMaker::Model::ProfilerConfigForUpdate::WithS3OutputPath
ProfilerConfigForUpdate & WithS3OutputPath(Aws::String &&value)
Definition: ProfilerConfigForUpdate.h:76
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ProfilerConfigForUpdate::SetS3OutputPath
void SetS3OutputPath(const Aws::String &value)
Definition: ProfilerConfigForUpdate.h:56
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ProfilerConfigForUpdate::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::ProfilerConfigForUpdate::SetProfilingIntervalInMilliseconds
void SetProfilingIntervalInMilliseconds(long long value)
Definition: ProfilerConfigForUpdate.h:103
Aws::SageMaker::Model::ProfilerConfigForUpdate::SetDisableProfiler
void SetDisableProfiler(bool value)
Definition: ProfilerConfigForUpdate.h:296
AWSMap.h
Aws::SageMaker::Model::ProfilerConfigForUpdate::SetProfilingParameters
void SetProfilingParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: ProfilerConfigForUpdate.h:163
Aws::SageMaker::Model::ProfilerConfigForUpdate::SetProfilingParameters
void SetProfilingParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: ProfilerConfigForUpdate.h:150
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19