AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#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 Snowball
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_SNOWBALL_API TargetOnDeviceService();
41 AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const DeviceServiceName& GetServiceName() const{ return m_serviceName; }
50 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
51 inline void SetServiceName(const DeviceServiceName& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
52 inline void SetServiceName(DeviceServiceName&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
53 inline TargetOnDeviceService& WithServiceName(const DeviceServiceName& value) { SetServiceName(value); return *this;}
54 inline TargetOnDeviceService& WithServiceName(DeviceServiceName&& value) { SetServiceName(std::move(value)); return *this;}
56
58
62 inline const TransferOption& GetTransferOption() const{ return m_transferOption; }
63 inline bool TransferOptionHasBeenSet() const { return m_transferOptionHasBeenSet; }
64 inline void SetTransferOption(const TransferOption& value) { m_transferOptionHasBeenSet = true; m_transferOption = value; }
65 inline void SetTransferOption(TransferOption&& value) { m_transferOptionHasBeenSet = true; m_transferOption = std::move(value); }
66 inline TargetOnDeviceService& WithTransferOption(const TransferOption& value) { SetTransferOption(value); return *this;}
67 inline TargetOnDeviceService& WithTransferOption(TransferOption&& value) { SetTransferOption(std::move(value)); return *this;}
69 private:
70
71 DeviceServiceName m_serviceName;
72 bool m_serviceNameHasBeenSet = false;
73
74 TransferOption m_transferOption;
75 bool m_transferOptionHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Snowball
80} // namespace Aws
TargetOnDeviceService & WithServiceName(const DeviceServiceName &value)
TargetOnDeviceService & WithServiceName(DeviceServiceName &&value)
AWS_SNOWBALL_API TargetOnDeviceService & operator=(Aws::Utils::Json::JsonView jsonValue)
TargetOnDeviceService & WithTransferOption(TransferOption &&value)
const DeviceServiceName & GetServiceName() const
void SetTransferOption(const TransferOption &value)
const TransferOption & GetTransferOption() const
void SetServiceName(DeviceServiceName &&value)
void SetServiceName(const DeviceServiceName &value)
AWS_SNOWBALL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SNOWBALL_API TargetOnDeviceService(Aws::Utils::Json::JsonView jsonValue)
TargetOnDeviceService & WithTransferOption(const TransferOption &value)
Aws::Utils::Json::JsonValue JsonValue