AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CardValue.h
1
6#pragma once
7#include <aws/qapps/QApps_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QApps
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_QAPPS_API CardValue();
36 AWS_QAPPS_API CardValue(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetCardId() const{ return m_cardId; }
46 inline bool CardIdHasBeenSet() const { return m_cardIdHasBeenSet; }
47 inline void SetCardId(const Aws::String& value) { m_cardIdHasBeenSet = true; m_cardId = value; }
48 inline void SetCardId(Aws::String&& value) { m_cardIdHasBeenSet = true; m_cardId = std::move(value); }
49 inline void SetCardId(const char* value) { m_cardIdHasBeenSet = true; m_cardId.assign(value); }
50 inline CardValue& WithCardId(const Aws::String& value) { SetCardId(value); return *this;}
51 inline CardValue& WithCardId(Aws::String&& value) { SetCardId(std::move(value)); return *this;}
52 inline CardValue& WithCardId(const char* value) { SetCardId(value); return *this;}
54
56
59 inline const Aws::String& GetValue() const{ return m_value; }
60 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
61 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
62 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
63 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
64 inline CardValue& WithValue(const Aws::String& value) { SetValue(value); return *this;}
65 inline CardValue& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
66 inline CardValue& WithValue(const char* value) { SetValue(value); return *this;}
68 private:
69
70 Aws::String m_cardId;
71 bool m_cardIdHasBeenSet = false;
72
73 Aws::String m_value;
74 bool m_valueHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace QApps
79} // namespace Aws
void SetCardId(Aws::String &&value)
Definition CardValue.h:48
CardValue & WithCardId(Aws::String &&value)
Definition CardValue.h:51
CardValue & WithValue(const char *value)
Definition CardValue.h:66
CardValue & WithValue(Aws::String &&value)
Definition CardValue.h:65
void SetCardId(const char *value)
Definition CardValue.h:49
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
CardValue & WithCardId(const Aws::String &value)
Definition CardValue.h:50
void SetCardId(const Aws::String &value)
Definition CardValue.h:47
void SetValue(const Aws::String &value)
Definition CardValue.h:61
CardValue & WithValue(const Aws::String &value)
Definition CardValue.h:64
void SetValue(const char *value)
Definition CardValue.h:63
const Aws::String & GetValue() const
Definition CardValue.h:59
const Aws::String & GetCardId() const
Definition CardValue.h:45
AWS_QAPPS_API CardValue(Aws::Utils::Json::JsonView jsonValue)
void SetValue(Aws::String &&value)
Definition CardValue.h:62
AWS_QAPPS_API CardValue & operator=(Aws::Utils::Json::JsonView jsonValue)
CardValue & WithCardId(const char *value)
Definition CardValue.h:52
bool CardIdHasBeenSet() const
Definition CardValue.h:46
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue