AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
43 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
44 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
45 inline UpdateSafetyLeverStateRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
46 inline UpdateSafetyLeverStateRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
47 inline UpdateSafetyLeverStateRequest& WithId(const char* value) { SetId(value); return *this;}
49
51
54 inline const UpdateSafetyLeverStateInput& GetState() const{ return m_state; }
55 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
56 inline void SetState(const UpdateSafetyLeverStateInput& value) { m_stateHasBeenSet = true; m_state = value; }
57 inline void SetState(UpdateSafetyLeverStateInput&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
58 inline UpdateSafetyLeverStateRequest& WithState(const UpdateSafetyLeverStateInput& value) { SetState(value); return *this;}
59 inline UpdateSafetyLeverStateRequest& WithState(UpdateSafetyLeverStateInput&& value) { SetState(std::move(value)); return *this;}
61 private:
62
63 Aws::String m_id;
64 bool m_idHasBeenSet = false;
65
67 bool m_stateHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace FIS
72} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateSafetyLeverStateRequest & WithId(const Aws::String &value)
const UpdateSafetyLeverStateInput & GetState() const
UpdateSafetyLeverStateRequest & WithId(Aws::String &&value)
void SetState(const UpdateSafetyLeverStateInput &value)
UpdateSafetyLeverStateRequest & WithId(const char *value)
AWS_FIS_API Aws::String SerializePayload() const override
UpdateSafetyLeverStateRequest & WithState(UpdateSafetyLeverStateInput &&value)
UpdateSafetyLeverStateRequest & WithState(const UpdateSafetyLeverStateInput &value)
void SetState(UpdateSafetyLeverStateInput &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String