AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
ScriptModeConfig.h
1
6#pragma once
7#include <aws/braket/Braket_EXPORTS.h>
8#include <aws/braket/model/CompressionType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Braket {
21namespace Model {
22
30 public:
31 AWS_BRAKET_API ScriptModeConfig() = default;
34 AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetEntryPoint() const { return m_entryPoint; }
42 inline bool EntryPointHasBeenSet() const { return m_entryPointHasBeenSet; }
43 template <typename EntryPointT = Aws::String>
44 void SetEntryPoint(EntryPointT&& value) {
45 m_entryPointHasBeenSet = true;
46 m_entryPoint = std::forward<EntryPointT>(value);
47 }
48 template <typename EntryPointT = Aws::String>
49 ScriptModeConfig& WithEntryPoint(EntryPointT&& value) {
50 SetEntryPoint(std::forward<EntryPointT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetS3Uri() const { return m_s3Uri; }
61 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
62 template <typename S3UriT = Aws::String>
63 void SetS3Uri(S3UriT&& value) {
64 m_s3UriHasBeenSet = true;
65 m_s3Uri = std::forward<S3UriT>(value);
66 }
67 template <typename S3UriT = Aws::String>
68 ScriptModeConfig& WithS3Uri(S3UriT&& value) {
69 SetS3Uri(std::forward<S3UriT>(value));
70 return *this;
71 }
73
75
79 inline CompressionType GetCompressionType() const { return m_compressionType; }
80 inline bool CompressionTypeHasBeenSet() const { return m_compressionTypeHasBeenSet; }
82 m_compressionTypeHasBeenSet = true;
83 m_compressionType = value;
84 }
86 SetCompressionType(value);
87 return *this;
88 }
90 private:
91 Aws::String m_entryPoint;
92
93 Aws::String m_s3Uri;
94
96 bool m_entryPointHasBeenSet = false;
97 bool m_s3UriHasBeenSet = false;
98 bool m_compressionTypeHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace Braket
103} // namespace Aws
ScriptModeConfig & WithCompressionType(CompressionType value)
ScriptModeConfig & WithEntryPoint(EntryPointT &&value)
void SetEntryPoint(EntryPointT &&value)
AWS_BRAKET_API ScriptModeConfig()=default
ScriptModeConfig & WithS3Uri(S3UriT &&value)
AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCompressionType(CompressionType value)
const Aws::String & GetS3Uri() const
AWS_BRAKET_API ScriptModeConfig(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetEntryPoint() const
AWS_BRAKET_API ScriptModeConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
CompressionType GetCompressionType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue