AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
TargetOnDeviceService.h
1
6#pragma once
7#include <aws/snowball/Snowball_EXPORTS.h>
8#include <aws/snowball/model/DeviceServiceName.h>
9#include <aws/snowball/model/TransferOption.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Snowball {
21namespace Model {
22
32 public:
33 AWS_SNOWBALL_API TargetOnDeviceService() = default;
36 AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline DeviceServiceName GetServiceName() const { return m_serviceName; }
44 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
45 inline void SetServiceName(DeviceServiceName value) {
46 m_serviceNameHasBeenSet = true;
47 m_serviceName = value;
48 }
50 SetServiceName(value);
51 return *this;
52 }
54
56
60 inline TransferOption GetTransferOption() const { return m_transferOption; }
61 inline bool TransferOptionHasBeenSet() const { return m_transferOptionHasBeenSet; }
62 inline void SetTransferOption(TransferOption value) {
63 m_transferOptionHasBeenSet = true;
64 m_transferOption = value;
65 }
67 SetTransferOption(value);
68 return *this;
69 }
71 private:
73
75 bool m_serviceNameHasBeenSet = false;
76 bool m_transferOptionHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Snowball
81} // namespace Aws
AWS_SNOWBALL_API TargetOnDeviceService()=default
TargetOnDeviceService & WithServiceName(DeviceServiceName value)
AWS_SNOWBALL_API TargetOnDeviceService & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SNOWBALL_API TargetOnDeviceService(Aws::Utils::Json::JsonView jsonValue)
TargetOnDeviceService & WithTransferOption(TransferOption value)
Aws::Utils::Json::JsonValue JsonValue