AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Braket {
20namespace Model {
21
29 public:
30 AWS_BRAKET_API JobCheckpointConfig() = default;
33 AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetLocalPath() const { return m_localPath; }
41 inline bool LocalPathHasBeenSet() const { return m_localPathHasBeenSet; }
42 template <typename LocalPathT = Aws::String>
43 void SetLocalPath(LocalPathT&& value) {
44 m_localPathHasBeenSet = true;
45 m_localPath = std::forward<LocalPathT>(value);
46 }
47 template <typename LocalPathT = Aws::String>
48 JobCheckpointConfig& WithLocalPath(LocalPathT&& value) {
49 SetLocalPath(std::forward<LocalPathT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetS3Uri() const { return m_s3Uri; }
60 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
61 template <typename S3UriT = Aws::String>
62 void SetS3Uri(S3UriT&& value) {
63 m_s3UriHasBeenSet = true;
64 m_s3Uri = std::forward<S3UriT>(value);
65 }
66 template <typename S3UriT = Aws::String>
67 JobCheckpointConfig& WithS3Uri(S3UriT&& value) {
68 SetS3Uri(std::forward<S3UriT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_localPath;
74
75 Aws::String m_s3Uri;
76 bool m_localPathHasBeenSet = false;
77 bool m_s3UriHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace Braket
82} // namespace Aws
JobCheckpointConfig & WithLocalPath(LocalPathT &&value)
AWS_BRAKET_API JobCheckpointConfig()=default
AWS_BRAKET_API JobCheckpointConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BRAKET_API JobCheckpointConfig(Aws::Utils::Json::JsonView jsonValue)
JobCheckpointConfig & WithS3Uri(S3UriT &&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