AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateSafetyLeverStateRequest.h
1
6#pragma once
7#include <aws/fis/FIS_EXPORTS.h>
8#include <aws/fis/FISRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/fis/model/UpdateSafetyLeverStateInput.h>
11#include <utility>
12
13namespace Aws
14{
15namespace FIS
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_FIS_API UpdateSafetyLeverStateRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateSafetyLeverState"; }
32
33 AWS_FIS_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template<typename IdT = Aws::String>
43 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
44 template<typename IdT = Aws::String>
45 UpdateSafetyLeverStateRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
47
49
52 inline const UpdateSafetyLeverStateInput& GetState() const { return m_state; }
53 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
54 template<typename StateT = UpdateSafetyLeverStateInput>
55 void SetState(StateT&& value) { m_stateHasBeenSet = true; m_state = std::forward<StateT>(value); }
56 template<typename StateT = UpdateSafetyLeverStateInput>
57 UpdateSafetyLeverStateRequest& WithState(StateT&& value) { SetState(std::forward<StateT>(value)); return *this;}
59 private:
60
61 Aws::String m_id;
62 bool m_idHasBeenSet = false;
63
65 bool m_stateHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace FIS
70} // 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