AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QuickResponseOrderField.h
1
6#pragma once
7#include <aws/wisdom/ConnectWisdomService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wisdom/model/Order.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 ConnectWisdomService
23{
24namespace Model
25{
26
40 {
41 public:
42 AWS_CONNECTWISDOMSERVICE_API QuickResponseOrderField();
43 AWS_CONNECTWISDOMSERVICE_API QuickResponseOrderField(Aws::Utils::Json::JsonView jsonValue);
44 AWS_CONNECTWISDOMSERVICE_API QuickResponseOrderField& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetName() const{ return m_name; }
53 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
54 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
56 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
57 inline QuickResponseOrderField& WithName(const Aws::String& value) { SetName(value); return *this;}
58 inline QuickResponseOrderField& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
59 inline QuickResponseOrderField& WithName(const char* value) { SetName(value); return *this;}
61
63
66 inline const Order& GetOrder() const{ return m_order; }
67 inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
68 inline void SetOrder(const Order& value) { m_orderHasBeenSet = true; m_order = value; }
69 inline void SetOrder(Order&& value) { m_orderHasBeenSet = true; m_order = std::move(value); }
70 inline QuickResponseOrderField& WithOrder(const Order& value) { SetOrder(value); return *this;}
71 inline QuickResponseOrderField& WithOrder(Order&& value) { SetOrder(std::move(value)); return *this;}
73 private:
74
75 Aws::String m_name;
76 bool m_nameHasBeenSet = false;
77
78 Order m_order;
79 bool m_orderHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace ConnectWisdomService
84} // namespace Aws
QuickResponseOrderField & WithName(const Aws::String &value)
AWS_CONNECTWISDOMSERVICE_API QuickResponseOrderField & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECTWISDOMSERVICE_API QuickResponseOrderField(Aws::Utils::Json::JsonView jsonValue)
QuickResponseOrderField & WithName(const char *value)
QuickResponseOrderField & WithName(Aws::String &&value)
AWS_CONNECTWISDOMSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
QuickResponseOrderField & WithOrder(const Order &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue