AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CardStatus.h
1
6#pragma once
7#include <aws/qapps/QApps_EXPORTS.h>
8#include <aws/qapps/model/ExecutionStatus.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 QApps
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QAPPS_API CardStatus();
37 AWS_QAPPS_API CardStatus(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const ExecutionStatus& GetCurrentState() const{ return m_currentState; }
47 inline bool CurrentStateHasBeenSet() const { return m_currentStateHasBeenSet; }
48 inline void SetCurrentState(const ExecutionStatus& value) { m_currentStateHasBeenSet = true; m_currentState = value; }
49 inline void SetCurrentState(ExecutionStatus&& value) { m_currentStateHasBeenSet = true; m_currentState = std::move(value); }
50 inline CardStatus& WithCurrentState(const ExecutionStatus& value) { SetCurrentState(value); return *this;}
51 inline CardStatus& WithCurrentState(ExecutionStatus&& value) { SetCurrentState(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetCurrentValue() const{ return m_currentValue; }
59 inline bool CurrentValueHasBeenSet() const { return m_currentValueHasBeenSet; }
60 inline void SetCurrentValue(const Aws::String& value) { m_currentValueHasBeenSet = true; m_currentValue = value; }
61 inline void SetCurrentValue(Aws::String&& value) { m_currentValueHasBeenSet = true; m_currentValue = std::move(value); }
62 inline void SetCurrentValue(const char* value) { m_currentValueHasBeenSet = true; m_currentValue.assign(value); }
63 inline CardStatus& WithCurrentValue(const Aws::String& value) { SetCurrentValue(value); return *this;}
64 inline CardStatus& WithCurrentValue(Aws::String&& value) { SetCurrentValue(std::move(value)); return *this;}
65 inline CardStatus& WithCurrentValue(const char* value) { SetCurrentValue(value); return *this;}
67 private:
68
69 ExecutionStatus m_currentState;
70 bool m_currentStateHasBeenSet = false;
71
72 Aws::String m_currentValue;
73 bool m_currentValueHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace QApps
78} // namespace Aws
void SetCurrentState(ExecutionStatus &&value)
Definition CardStatus.h:49
AWS_QAPPS_API CardStatus(Aws::Utils::Json::JsonView jsonValue)
CardStatus & WithCurrentValue(Aws::String &&value)
Definition CardStatus.h:64
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetCurrentValue() const
Definition CardStatus.h:58
void SetCurrentValue(const char *value)
Definition CardStatus.h:62
void SetCurrentValue(Aws::String &&value)
Definition CardStatus.h:61
CardStatus & WithCurrentValue(const char *value)
Definition CardStatus.h:65
void SetCurrentValue(const Aws::String &value)
Definition CardStatus.h:60
void SetCurrentState(const ExecutionStatus &value)
Definition CardStatus.h:48
bool CurrentValueHasBeenSet() const
Definition CardStatus.h:59
CardStatus & WithCurrentState(ExecutionStatus &&value)
Definition CardStatus.h:51
CardStatus & WithCurrentState(const ExecutionStatus &value)
Definition CardStatus.h:50
AWS_QAPPS_API CardStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CurrentStateHasBeenSet() const
Definition CardStatus.h:47
const ExecutionStatus & GetCurrentState() const
Definition CardStatus.h:46
CardStatus & WithCurrentValue(const Aws::String &value)
Definition CardStatus.h:63
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue