AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSafetyLeverStateInput.h
1
6#pragma once
7#include <aws/fis/FIS_EXPORTS.h>
8#include <aws/fis/model/SafetyLeverStatusInput.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace FIS
23{
24namespace Model
25{
26
33 {
34 public:
39
40
42
45 inline const SafetyLeverStatusInput& GetStatus() const{ return m_status; }
46 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
47 inline void SetStatus(const SafetyLeverStatusInput& value) { m_statusHasBeenSet = true; m_status = value; }
48 inline void SetStatus(SafetyLeverStatusInput&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
49 inline UpdateSafetyLeverStateInput& WithStatus(const SafetyLeverStatusInput& value) { SetStatus(value); return *this;}
50 inline UpdateSafetyLeverStateInput& WithStatus(SafetyLeverStatusInput&& value) { SetStatus(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetReason() const{ return m_reason; }
58 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
59 inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; }
60 inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
61 inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); }
62 inline UpdateSafetyLeverStateInput& WithReason(const Aws::String& value) { SetReason(value); return *this;}
63 inline UpdateSafetyLeverStateInput& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;}
64 inline UpdateSafetyLeverStateInput& WithReason(const char* value) { SetReason(value); return *this;}
66 private:
67
69 bool m_statusHasBeenSet = false;
70
71 Aws::String m_reason;
72 bool m_reasonHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace FIS
77} // namespace Aws
const SafetyLeverStatusInput & GetStatus() const
void SetStatus(const SafetyLeverStatusInput &value)
UpdateSafetyLeverStateInput & WithReason(Aws::String &&value)
UpdateSafetyLeverStateInput & WithReason(const char *value)
UpdateSafetyLeverStateInput & WithReason(const Aws::String &value)
AWS_FIS_API UpdateSafetyLeverStateInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateSafetyLeverStateInput & WithStatus(SafetyLeverStatusInput &&value)
UpdateSafetyLeverStateInput & WithStatus(const SafetyLeverStatusInput &value)
AWS_FIS_API UpdateSafetyLeverStateInput(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue