AWS SDK for C++  1.9.103
AWS SDK for C++
TargetOnDeviceService.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Snowball
23 {
24 namespace Model
25 {
26 
36  {
37  public:
42 
43 
48  inline const DeviceServiceName& GetServiceName() const{ return m_serviceName; }
49 
54  inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
55 
60  inline void SetServiceName(const DeviceServiceName& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
61 
66  inline void SetServiceName(DeviceServiceName&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
67 
72  inline TargetOnDeviceService& WithServiceName(const DeviceServiceName& value) { SetServiceName(value); return *this;}
73 
78  inline TargetOnDeviceService& WithServiceName(DeviceServiceName&& value) { SetServiceName(std::move(value)); return *this;}
79 
80 
85  inline const TransferOption& GetTransferOption() const{ return m_transferOption; }
86 
91  inline bool TransferOptionHasBeenSet() const { return m_transferOptionHasBeenSet; }
92 
97  inline void SetTransferOption(const TransferOption& value) { m_transferOptionHasBeenSet = true; m_transferOption = value; }
98 
103  inline void SetTransferOption(TransferOption&& value) { m_transferOptionHasBeenSet = true; m_transferOption = std::move(value); }
104 
109  inline TargetOnDeviceService& WithTransferOption(const TransferOption& value) { SetTransferOption(value); return *this;}
110 
115  inline TargetOnDeviceService& WithTransferOption(TransferOption&& value) { SetTransferOption(std::move(value)); return *this;}
116 
117  private:
118 
119  DeviceServiceName m_serviceName;
120  bool m_serviceNameHasBeenSet;
121 
122  TransferOption m_transferOption;
123  bool m_transferOptionHasBeenSet;
124  };
125 
126 } // namespace Model
127 } // namespace Snowball
128 } // namespace Aws
Aws::Snowball::Model::TargetOnDeviceService::TargetOnDeviceService
TargetOnDeviceService()
Aws::Snowball::Model::TargetOnDeviceService::TransferOptionHasBeenSet
bool TransferOptionHasBeenSet() const
Definition: TargetOnDeviceService.h:91
Aws::Snowball::Model::TargetOnDeviceService::SetServiceName
void SetServiceName(const DeviceServiceName &value)
Definition: TargetOnDeviceService.h:60
AWS_SNOWBALL_API
#define AWS_SNOWBALL_API
Definition: Snowball_EXPORTS.h:28
Aws::Snowball::Model::TransferOption
TransferOption
Definition: TransferOption.h:17
Aws::Snowball::Model::TargetOnDeviceService::GetServiceName
const DeviceServiceName & GetServiceName() const
Definition: TargetOnDeviceService.h:48
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Snowball::Model::TargetOnDeviceService::WithServiceName
TargetOnDeviceService & WithServiceName(const DeviceServiceName &value)
Definition: TargetOnDeviceService.h:72
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Snowball::Model::TargetOnDeviceService::WithServiceName
TargetOnDeviceService & WithServiceName(DeviceServiceName &&value)
Definition: TargetOnDeviceService.h:78
Aws::Snowball::Model::TargetOnDeviceService::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Snowball::Model::TargetOnDeviceService::WithTransferOption
TargetOnDeviceService & WithTransferOption(TransferOption &&value)
Definition: TargetOnDeviceService.h:115
DeviceServiceName.h
Aws::Snowball::Model::TargetOnDeviceService::SetTransferOption
void SetTransferOption(const TransferOption &value)
Definition: TargetOnDeviceService.h:97
Aws::Snowball::Model::TargetOnDeviceService::WithTransferOption
TargetOnDeviceService & WithTransferOption(const TransferOption &value)
Definition: TargetOnDeviceService.h:109
Aws::Snowball::Model::TargetOnDeviceService::operator=
TargetOnDeviceService & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
TransferOption.h
Aws::Snowball::Model::TargetOnDeviceService::SetServiceName
void SetServiceName(DeviceServiceName &&value)
Definition: TargetOnDeviceService.h:66
Aws::Snowball::Model::TargetOnDeviceService::SetTransferOption
void SetTransferOption(TransferOption &&value)
Definition: TargetOnDeviceService.h:103
Aws::Snowball::Model::TargetOnDeviceService::GetTransferOption
const TransferOption & GetTransferOption() const
Definition: TargetOnDeviceService.h:85
Aws::Snowball::Model::TargetOnDeviceService::ServiceNameHasBeenSet
bool ServiceNameHasBeenSet() const
Definition: TargetOnDeviceService.h:54
Aws::Snowball::Model::TargetOnDeviceService::TargetOnDeviceService
TargetOnDeviceService(Aws::Utils::Json::JsonView jsonValue)
Aws::Snowball::Model::TargetOnDeviceService
Definition: TargetOnDeviceService.h:36
Aws::Snowball::Model::DeviceServiceName
DeviceServiceName
Definition: DeviceServiceName.h:17
Snowball_EXPORTS.h