AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DeviceConfig.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 DeviceConfig() = default;
31 AWS_BRAKET_API DeviceConfig(Aws::Utils::Json::JsonView jsonValue);
33 AWS_BRAKET_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetDevice() const { return m_device; }
41 inline bool DeviceHasBeenSet() const { return m_deviceHasBeenSet; }
42 template <typename DeviceT = Aws::String>
43 void SetDevice(DeviceT&& value) {
44 m_deviceHasBeenSet = true;
45 m_device = std::forward<DeviceT>(value);
46 }
47 template <typename DeviceT = Aws::String>
48 DeviceConfig& WithDevice(DeviceT&& value) {
49 SetDevice(std::forward<DeviceT>(value));
50 return *this;
51 }
53 private:
54 Aws::String m_device;
55 bool m_deviceHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace Braket
60} // namespace Aws
AWS_BRAKET_API DeviceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDevice() const
AWS_BRAKET_API DeviceConfig()=default
void SetDevice(DeviceT &&value)
DeviceConfig & WithDevice(DeviceT &&value)
AWS_BRAKET_API DeviceConfig(Aws::Utils::Json::JsonView jsonValue)
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