AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
UpdateDeviceRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/workspaces-thin-client/WorkSpacesThinClientRequest.h>
9#include <aws/workspaces-thin-client/WorkSpacesThinClient_EXPORTS.h>
10#include <aws/workspaces-thin-client/model/SoftwareSetUpdateSchedule.h>
11
12#include <utility>
13
14namespace Aws {
15namespace WorkSpacesThinClient {
16namespace Model {
17
21 public:
22 AWS_WORKSPACESTHINCLIENT_API UpdateDeviceRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateDevice"; }
29
30 AWS_WORKSPACESTHINCLIENT_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetId() const { return m_id; }
37 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
38 template <typename IdT = Aws::String>
39 void SetId(IdT&& value) {
40 m_idHasBeenSet = true;
41 m_id = std::forward<IdT>(value);
42 }
43 template <typename IdT = Aws::String>
45 SetId(std::forward<IdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetName() const { return m_name; }
55 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 template <typename NameT = Aws::String>
57 void SetName(NameT&& value) {
58 m_nameHasBeenSet = true;
59 m_name = std::forward<NameT>(value);
60 }
61 template <typename NameT = Aws::String>
62 UpdateDeviceRequest& WithName(NameT&& value) {
63 SetName(std::forward<NameT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetDesiredSoftwareSetId() const { return m_desiredSoftwareSetId; }
73 inline bool DesiredSoftwareSetIdHasBeenSet() const { return m_desiredSoftwareSetIdHasBeenSet; }
74 template <typename DesiredSoftwareSetIdT = Aws::String>
75 void SetDesiredSoftwareSetId(DesiredSoftwareSetIdT&& value) {
76 m_desiredSoftwareSetIdHasBeenSet = true;
77 m_desiredSoftwareSetId = std::forward<DesiredSoftwareSetIdT>(value);
78 }
79 template <typename DesiredSoftwareSetIdT = Aws::String>
80 UpdateDeviceRequest& WithDesiredSoftwareSetId(DesiredSoftwareSetIdT&& value) {
81 SetDesiredSoftwareSetId(std::forward<DesiredSoftwareSetIdT>(value));
82 return *this;
83 }
85
87
91 inline SoftwareSetUpdateSchedule GetSoftwareSetUpdateSchedule() const { return m_softwareSetUpdateSchedule; }
92 inline bool SoftwareSetUpdateScheduleHasBeenSet() const { return m_softwareSetUpdateScheduleHasBeenSet; }
94 m_softwareSetUpdateScheduleHasBeenSet = true;
95 m_softwareSetUpdateSchedule = value;
96 }
102 private:
103 Aws::String m_id;
104
105 Aws::String m_name;
106
107 Aws::String m_desiredSoftwareSetId;
108
110 bool m_idHasBeenSet = false;
111 bool m_nameHasBeenSet = false;
112 bool m_desiredSoftwareSetIdHasBeenSet = false;
113 bool m_softwareSetUpdateScheduleHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace WorkSpacesThinClient
118} // namespace Aws
UpdateDeviceRequest & WithDesiredSoftwareSetId(DesiredSoftwareSetIdT &&value)
void SetSoftwareSetUpdateSchedule(SoftwareSetUpdateSchedule value)
SoftwareSetUpdateSchedule GetSoftwareSetUpdateSchedule() const
UpdateDeviceRequest & WithSoftwareSetUpdateSchedule(SoftwareSetUpdateSchedule value)
virtual const char * GetServiceRequestName() const override
AWS_WORKSPACESTHINCLIENT_API Aws::String SerializePayload() const override
AWS_WORKSPACESTHINCLIENT_API UpdateDeviceRequest()=default
void SetDesiredSoftwareSetId(DesiredSoftwareSetIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String