AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
CheckpointConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
29 public:
30 AWS_SAGEMAKER_API CheckpointConfig() = default;
31 AWS_SAGEMAKER_API CheckpointConfig(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetS3Uri() const { return m_s3Uri; }
41 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
42 template <typename S3UriT = Aws::String>
43 void SetS3Uri(S3UriT&& value) {
44 m_s3UriHasBeenSet = true;
45 m_s3Uri = std::forward<S3UriT>(value);
46 }
47 template <typename S3UriT = Aws::String>
48 CheckpointConfig& WithS3Uri(S3UriT&& value) {
49 SetS3Uri(std::forward<S3UriT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetLocalPath() const { return m_localPath; }
60 inline bool LocalPathHasBeenSet() const { return m_localPathHasBeenSet; }
61 template <typename LocalPathT = Aws::String>
62 void SetLocalPath(LocalPathT&& value) {
63 m_localPathHasBeenSet = true;
64 m_localPath = std::forward<LocalPathT>(value);
65 }
66 template <typename LocalPathT = Aws::String>
67 CheckpointConfig& WithLocalPath(LocalPathT&& value) {
68 SetLocalPath(std::forward<LocalPathT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_s3Uri;
74
75 Aws::String m_localPath;
76 bool m_s3UriHasBeenSet = false;
77 bool m_localPathHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace SageMaker
82} // 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(LocalPathT &&value)
CheckpointConfig & WithS3Uri(S3UriT &&value)
const Aws::String & GetS3Uri() const
const Aws::String & GetLocalPath() const
AWS_SAGEMAKER_API CheckpointConfig()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue