AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CheckpointConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SAGEMAKER_API CheckpointConfig();
36 AWS_SAGEMAKER_API CheckpointConfig(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetS3Uri() const{ return m_s3Uri; }
47 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
48 inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; }
49 inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); }
50 inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); }
51 inline CheckpointConfig& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;}
52 inline CheckpointConfig& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;}
53 inline CheckpointConfig& WithS3Uri(const char* value) { SetS3Uri(value); return *this;}
55
57
61 inline const Aws::String& GetLocalPath() const{ return m_localPath; }
62 inline bool LocalPathHasBeenSet() const { return m_localPathHasBeenSet; }
63 inline void SetLocalPath(const Aws::String& value) { m_localPathHasBeenSet = true; m_localPath = value; }
64 inline void SetLocalPath(Aws::String&& value) { m_localPathHasBeenSet = true; m_localPath = std::move(value); }
65 inline void SetLocalPath(const char* value) { m_localPathHasBeenSet = true; m_localPath.assign(value); }
66 inline CheckpointConfig& WithLocalPath(const Aws::String& value) { SetLocalPath(value); return *this;}
67 inline CheckpointConfig& WithLocalPath(Aws::String&& value) { SetLocalPath(std::move(value)); return *this;}
68 inline CheckpointConfig& WithLocalPath(const char* value) { SetLocalPath(value); return *this;}
70 private:
71
72 Aws::String m_s3Uri;
73 bool m_s3UriHasBeenSet = false;
74
75 Aws::String m_localPath;
76 bool m_localPathHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace SageMaker
81} // namespace Aws
AWS_SAGEMAKER_API CheckpointConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API CheckpointConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
CheckpointConfig & WithLocalPath(const char *value)
CheckpointConfig & WithLocalPath(Aws::String &&value)
void SetLocalPath(const Aws::String &value)
CheckpointConfig & WithS3Uri(const char *value)
CheckpointConfig & WithLocalPath(const Aws::String &value)
CheckpointConfig & WithS3Uri(const Aws::String &value)
CheckpointConfig & WithS3Uri(Aws::String &&value)
const Aws::String & GetS3Uri() const
void SetS3Uri(const Aws::String &value)
const Aws::String & GetLocalPath() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue