AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename LocalPathT = Aws::String>
49 void SetLocalPath(LocalPathT&& value) { m_localPathHasBeenSet = true; m_localPath = std::forward<LocalPathT>(value); }
50 template<typename LocalPathT = Aws::String>
51 JobCheckpointConfig& WithLocalPath(LocalPathT&& value) { SetLocalPath(std::forward<LocalPathT>(value)); return *this;}
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) { m_s3UriHasBeenSet = true; m_s3Uri = std::forward<S3UriT>(value); }
63 template<typename S3UriT = Aws::String>
64 JobCheckpointConfig& WithS3Uri(S3UriT&& value) { SetS3Uri(std::forward<S3UriT>(value)); return *this;}
66 private:
67
68 Aws::String m_localPath;
69 bool m_localPathHasBeenSet = false;
70
71 Aws::String m_s3Uri;
72 bool m_s3UriHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Braket
77} // 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