AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobCheckpointConfig.h
1
6#pragma once
7#include <aws/braket/Braket_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 Braket
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_BRAKET_API JobCheckpointConfig();
38 AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetLocalPath() const{ return m_localPath; }
47 inline bool LocalPathHasBeenSet() const { return m_localPathHasBeenSet; }
48 inline void SetLocalPath(const Aws::String& value) { m_localPathHasBeenSet = true; m_localPath = value; }
49 inline void SetLocalPath(Aws::String&& value) { m_localPathHasBeenSet = true; m_localPath = std::move(value); }
50 inline void SetLocalPath(const char* value) { m_localPathHasBeenSet = true; m_localPath.assign(value); }
51 inline JobCheckpointConfig& WithLocalPath(const Aws::String& value) { SetLocalPath(value); return *this;}
52 inline JobCheckpointConfig& WithLocalPath(Aws::String&& value) { SetLocalPath(std::move(value)); return *this;}
53 inline JobCheckpointConfig& WithLocalPath(const char* value) { SetLocalPath(value); return *this;}
55
57
61 inline const Aws::String& GetS3Uri() const{ return m_s3Uri; }
62 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
63 inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; }
64 inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); }
65 inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); }
66 inline JobCheckpointConfig& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;}
67 inline JobCheckpointConfig& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;}
68 inline JobCheckpointConfig& WithS3Uri(const char* value) { SetS3Uri(value); return *this;}
70 private:
71
72 Aws::String m_localPath;
73 bool m_localPathHasBeenSet = false;
74
75 Aws::String m_s3Uri;
76 bool m_s3UriHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Braket
81} // namespace Aws
JobCheckpointConfig & WithS3Uri(const Aws::String &value)
void SetLocalPath(const Aws::String &value)
JobCheckpointConfig & WithLocalPath(Aws::String &&value)
JobCheckpointConfig & WithS3Uri(const char *value)
JobCheckpointConfig & WithLocalPath(const char *value)
void SetS3Uri(const Aws::String &value)
AWS_BRAKET_API JobCheckpointConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
JobCheckpointConfig & WithS3Uri(Aws::String &&value)
AWS_BRAKET_API JobCheckpointConfig(Aws::Utils::Json::JsonView jsonValue)
JobCheckpointConfig & WithLocalPath(const Aws::String &value)
AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue