AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
UpdateSafetyLeverStateRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/fis/FISRequest.h>
9#include <aws/fis/FIS_EXPORTS.h>
10#include <aws/fis/model/UpdateSafetyLeverStateInput.h>
11
12#include <utility>
13
14namespace Aws {
15namespace FIS {
16namespace Model {
17
21 public:
22 AWS_FIS_API UpdateSafetyLeverStateRequest() = 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 "UpdateSafetyLeverState"; }
29
30 AWS_FIS_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 UpdateSafetyLeverStateInput& GetState() const { return m_state; }
55 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
56 template <typename StateT = UpdateSafetyLeverStateInput>
57 void SetState(StateT&& value) {
58 m_stateHasBeenSet = true;
59 m_state = std::forward<StateT>(value);
60 }
61 template <typename StateT = UpdateSafetyLeverStateInput>
63 SetState(std::forward<StateT>(value));
64 return *this;
65 }
67 private:
68 Aws::String m_id;
69 bool m_idHasBeenSet = false;
70
72 bool m_stateHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace FIS
77} // namespace Aws
virtual const char * GetServiceRequestName() const override
const UpdateSafetyLeverStateInput & GetState() const
AWS_FIS_API Aws::String SerializePayload() const override
UpdateSafetyLeverStateRequest & WithId(IdT &&value)
UpdateSafetyLeverStateRequest & WithState(StateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String