AWS SDK for C++  1.9.160
AWS SDK for C++
CheckpointConfig.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SageMaker
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
45  inline const Aws::String& GetS3Uri() const{ return m_s3Uri; }
46 
51  inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
52 
57  inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; }
58 
63  inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); }
64 
69  inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); }
70 
75  inline CheckpointConfig& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;}
76 
81  inline CheckpointConfig& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;}
82 
87  inline CheckpointConfig& WithS3Uri(const char* value) { SetS3Uri(value); return *this;}
88 
89 
94  inline const Aws::String& GetLocalPath() const{ return m_localPath; }
95 
100  inline bool LocalPathHasBeenSet() const { return m_localPathHasBeenSet; }
101 
106  inline void SetLocalPath(const Aws::String& value) { m_localPathHasBeenSet = true; m_localPath = value; }
107 
112  inline void SetLocalPath(Aws::String&& value) { m_localPathHasBeenSet = true; m_localPath = std::move(value); }
113 
118  inline void SetLocalPath(const char* value) { m_localPathHasBeenSet = true; m_localPath.assign(value); }
119 
124  inline CheckpointConfig& WithLocalPath(const Aws::String& value) { SetLocalPath(value); return *this;}
125 
130  inline CheckpointConfig& WithLocalPath(Aws::String&& value) { SetLocalPath(std::move(value)); return *this;}
131 
136  inline CheckpointConfig& WithLocalPath(const char* value) { SetLocalPath(value); return *this;}
137 
138  private:
139 
140  Aws::String m_s3Uri;
141  bool m_s3UriHasBeenSet;
142 
143  Aws::String m_localPath;
144  bool m_localPathHasBeenSet;
145  };
146 
147 } // namespace Model
148 } // namespace SageMaker
149 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::CheckpointConfig::SetS3Uri
void SetS3Uri(Aws::String &&value)
Definition: CheckpointConfig.h:63
SageMaker_EXPORTS.h
Aws::SageMaker::Model::CheckpointConfig
Definition: CheckpointConfig.h:33
Aws::SageMaker::Model::CheckpointConfig::WithS3Uri
CheckpointConfig & WithS3Uri(const Aws::String &value)
Definition: CheckpointConfig.h:75
Aws::SageMaker::Model::CheckpointConfig::WithLocalPath
CheckpointConfig & WithLocalPath(Aws::String &&value)
Definition: CheckpointConfig.h:130
Aws::SageMaker::Model::CheckpointConfig::WithLocalPath
CheckpointConfig & WithLocalPath(const char *value)
Definition: CheckpointConfig.h:136
Aws::SageMaker::Model::CheckpointConfig::S3UriHasBeenSet
bool S3UriHasBeenSet() const
Definition: CheckpointConfig.h:51
Aws::SageMaker::Model::CheckpointConfig::WithS3Uri
CheckpointConfig & WithS3Uri(Aws::String &&value)
Definition: CheckpointConfig.h:81
Aws::SageMaker::Model::CheckpointConfig::GetLocalPath
const Aws::String & GetLocalPath() const
Definition: CheckpointConfig.h:94
Aws::SageMaker::Model::CheckpointConfig::SetLocalPath
void SetLocalPath(Aws::String &&value)
Definition: CheckpointConfig.h:112
Aws::SageMaker::Model::CheckpointConfig::SetLocalPath
void SetLocalPath(const char *value)
Definition: CheckpointConfig.h:118
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::CheckpointConfig::WithLocalPath
CheckpointConfig & WithLocalPath(const Aws::String &value)
Definition: CheckpointConfig.h:124
Aws::SageMaker::Model::CheckpointConfig::SetLocalPath
void SetLocalPath(const Aws::String &value)
Definition: CheckpointConfig.h:106
Aws::SageMaker::Model::CheckpointConfig::CheckpointConfig
CheckpointConfig()
Aws::SageMaker::Model::CheckpointConfig::GetS3Uri
const Aws::String & GetS3Uri() const
Definition: CheckpointConfig.h:45
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::CheckpointConfig::SetS3Uri
void SetS3Uri(const Aws::String &value)
Definition: CheckpointConfig.h:57
Aws::SageMaker::Model::CheckpointConfig::LocalPathHasBeenSet
bool LocalPathHasBeenSet() const
Definition: CheckpointConfig.h:100
Aws::SageMaker::Model::CheckpointConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::CheckpointConfig::operator=
CheckpointConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::CheckpointConfig::SetS3Uri
void SetS3Uri(const char *value)
Definition: CheckpointConfig.h:69
Aws::SageMaker::Model::CheckpointConfig::WithS3Uri
CheckpointConfig & WithS3Uri(const char *value)
Definition: CheckpointConfig.h:87
Aws::SageMaker::Model::CheckpointConfig::CheckpointConfig
CheckpointConfig(Aws::Utils::Json::JsonView jsonValue)