AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AlgorithmSpecification.h
1
6#pragma once
7#include <aws/braket/Braket_EXPORTS.h>
8#include <aws/braket/model/ContainerImage.h>
9#include <aws/braket/model/ScriptModeConfig.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Braket
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_BRAKET_API AlgorithmSpecification();
40 AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const ContainerImage& GetContainerImage() const{ return m_containerImage; }
48 inline bool ContainerImageHasBeenSet() const { return m_containerImageHasBeenSet; }
49 inline void SetContainerImage(const ContainerImage& value) { m_containerImageHasBeenSet = true; m_containerImage = value; }
50 inline void SetContainerImage(ContainerImage&& value) { m_containerImageHasBeenSet = true; m_containerImage = std::move(value); }
51 inline AlgorithmSpecification& WithContainerImage(const ContainerImage& value) { SetContainerImage(value); return *this;}
52 inline AlgorithmSpecification& WithContainerImage(ContainerImage&& value) { SetContainerImage(std::move(value)); return *this;}
54
56
59 inline const ScriptModeConfig& GetScriptModeConfig() const{ return m_scriptModeConfig; }
60 inline bool ScriptModeConfigHasBeenSet() const { return m_scriptModeConfigHasBeenSet; }
61 inline void SetScriptModeConfig(const ScriptModeConfig& value) { m_scriptModeConfigHasBeenSet = true; m_scriptModeConfig = value; }
62 inline void SetScriptModeConfig(ScriptModeConfig&& value) { m_scriptModeConfigHasBeenSet = true; m_scriptModeConfig = std::move(value); }
64 inline AlgorithmSpecification& WithScriptModeConfig(ScriptModeConfig&& value) { SetScriptModeConfig(std::move(value)); return *this;}
66 private:
67
68 ContainerImage m_containerImage;
69 bool m_containerImageHasBeenSet = false;
70
71 ScriptModeConfig m_scriptModeConfig;
72 bool m_scriptModeConfigHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Braket
77} // namespace Aws
void SetContainerImage(const ContainerImage &value)
void SetScriptModeConfig(ScriptModeConfig &&value)
AlgorithmSpecification & WithScriptModeConfig(const ScriptModeConfig &value)
const ContainerImage & GetContainerImage() const
AWS_BRAKET_API AlgorithmSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
const ScriptModeConfig & GetScriptModeConfig() const
AlgorithmSpecification & WithScriptModeConfig(ScriptModeConfig &&value)
AWS_BRAKET_API AlgorithmSpecification(Aws::Utils::Json::JsonView jsonValue)
AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const
AlgorithmSpecification & WithContainerImage(const ContainerImage &value)
AlgorithmSpecification & WithContainerImage(ContainerImage &&value)
void SetScriptModeConfig(const ScriptModeConfig &value)
Aws::Utils::Json::JsonValue JsonValue