AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
DeregisterDeviceRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workspaces-thin-client/WorkSpacesThinClientRequest.h>
10#include <aws/workspaces-thin-client/WorkSpacesThinClient_EXPORTS.h>
11#include <aws/workspaces-thin-client/model/TargetDeviceStatus.h>
12
13#include <utility>
14
15namespace Aws {
16namespace WorkSpacesThinClient {
17namespace Model {
18
22 public:
23 AWS_WORKSPACESTHINCLIENT_API DeregisterDeviceRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DeregisterDevice"; }
30
31 AWS_WORKSPACESTHINCLIENT_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetId() const { return m_id; }
38 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
39 template <typename IdT = Aws::String>
40 void SetId(IdT&& value) {
41 m_idHasBeenSet = true;
42 m_id = std::forward<IdT>(value);
43 }
44 template <typename IdT = Aws::String>
46 SetId(std::forward<IdT>(value));
47 return *this;
48 }
50
52
55 inline TargetDeviceStatus GetTargetDeviceStatus() const { return m_targetDeviceStatus; }
56 inline bool TargetDeviceStatusHasBeenSet() const { return m_targetDeviceStatusHasBeenSet; }
58 m_targetDeviceStatusHasBeenSet = true;
59 m_targetDeviceStatus = value;
60 }
66
68
80 inline const Aws::String& GetClientToken() const { return m_clientToken; }
81 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
82 template <typename ClientTokenT = Aws::String>
83 void SetClientToken(ClientTokenT&& value) {
84 m_clientTokenHasBeenSet = true;
85 m_clientToken = std::forward<ClientTokenT>(value);
86 }
87 template <typename ClientTokenT = Aws::String>
89 SetClientToken(std::forward<ClientTokenT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_id;
95
97
99 bool m_idHasBeenSet = false;
100 bool m_targetDeviceStatusHasBeenSet = false;
101 bool m_clientTokenHasBeenSet = true;
102};
103
104} // namespace Model
105} // namespace WorkSpacesThinClient
106} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
AWS_WORKSPACESTHINCLIENT_API Aws::String SerializePayload() const override
DeregisterDeviceRequest & WithTargetDeviceStatus(TargetDeviceStatus value)
DeregisterDeviceRequest & WithClientToken(ClientTokenT &&value)
AWS_WORKSPACESTHINCLIENT_API DeregisterDeviceRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String