AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ActionReview.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/model/PluginType.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/qbusiness/model/ActionReviewPayloadField.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QBusiness
25{
26namespace Model
27{
28
38 {
39 public:
40 AWS_QBUSINESS_API ActionReview() = default;
41 AWS_QBUSINESS_API ActionReview(Aws::Utils::Json::JsonView jsonValue);
42 AWS_QBUSINESS_API ActionReview& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetPluginId() const { return m_pluginId; }
51 inline bool PluginIdHasBeenSet() const { return m_pluginIdHasBeenSet; }
52 template<typename PluginIdT = Aws::String>
53 void SetPluginId(PluginIdT&& value) { m_pluginIdHasBeenSet = true; m_pluginId = std::forward<PluginIdT>(value); }
54 template<typename PluginIdT = Aws::String>
55 ActionReview& WithPluginId(PluginIdT&& value) { SetPluginId(std::forward<PluginIdT>(value)); return *this;}
57
59
62 inline PluginType GetPluginType() const { return m_pluginType; }
63 inline bool PluginTypeHasBeenSet() const { return m_pluginTypeHasBeenSet; }
64 inline void SetPluginType(PluginType value) { m_pluginTypeHasBeenSet = true; m_pluginType = value; }
65 inline ActionReview& WithPluginType(PluginType value) { SetPluginType(value); return *this;}
67
69
73 inline const Aws::Map<Aws::String, ActionReviewPayloadField>& GetPayload() const { return m_payload; }
74 inline bool PayloadHasBeenSet() const { return m_payloadHasBeenSet; }
75 template<typename PayloadT = Aws::Map<Aws::String, ActionReviewPayloadField>>
76 void SetPayload(PayloadT&& value) { m_payloadHasBeenSet = true; m_payload = std::forward<PayloadT>(value); }
77 template<typename PayloadT = Aws::Map<Aws::String, ActionReviewPayloadField>>
78 ActionReview& WithPayload(PayloadT&& value) { SetPayload(std::forward<PayloadT>(value)); return *this;}
79 template<typename PayloadKeyT = Aws::String, typename PayloadValueT = ActionReviewPayloadField>
80 ActionReview& AddPayload(PayloadKeyT&& key, PayloadValueT&& value) {
81 m_payloadHasBeenSet = true; m_payload.emplace(std::forward<PayloadKeyT>(key), std::forward<PayloadValueT>(value)); return *this;
82 }
84
86
90 inline const Aws::String& GetPayloadFieldNameSeparator() const { return m_payloadFieldNameSeparator; }
91 inline bool PayloadFieldNameSeparatorHasBeenSet() const { return m_payloadFieldNameSeparatorHasBeenSet; }
92 template<typename PayloadFieldNameSeparatorT = Aws::String>
93 void SetPayloadFieldNameSeparator(PayloadFieldNameSeparatorT&& value) { m_payloadFieldNameSeparatorHasBeenSet = true; m_payloadFieldNameSeparator = std::forward<PayloadFieldNameSeparatorT>(value); }
94 template<typename PayloadFieldNameSeparatorT = Aws::String>
95 ActionReview& WithPayloadFieldNameSeparator(PayloadFieldNameSeparatorT&& value) { SetPayloadFieldNameSeparator(std::forward<PayloadFieldNameSeparatorT>(value)); return *this;}
97 private:
98
99 Aws::String m_pluginId;
100 bool m_pluginIdHasBeenSet = false;
101
102 PluginType m_pluginType{PluginType::NOT_SET};
103 bool m_pluginTypeHasBeenSet = false;
104
106 bool m_payloadHasBeenSet = false;
107
108 Aws::String m_payloadFieldNameSeparator;
109 bool m_payloadFieldNameSeparatorHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace QBusiness
114} // namespace Aws
const Aws::Map< Aws::String, ActionReviewPayloadField > & GetPayload() const
ActionReview & WithPluginId(PluginIdT &&value)
void SetPayloadFieldNameSeparator(PayloadFieldNameSeparatorT &&value)
const Aws::String & GetPayloadFieldNameSeparator() const
ActionReview & AddPayload(PayloadKeyT &&key, PayloadValueT &&value)
const Aws::String & GetPluginId() const
void SetPluginId(PluginIdT &&value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
ActionReview & WithPluginType(PluginType value)
AWS_QBUSINESS_API ActionReview()=default
AWS_QBUSINESS_API ActionReview & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPayload(PayloadT &&value)
ActionReview & WithPayload(PayloadT &&value)
ActionReview & WithPayloadFieldNameSeparator(PayloadFieldNameSeparatorT &&value)
AWS_QBUSINESS_API ActionReview(Aws::Utils::Json::JsonView jsonValue)
void SetPluginType(PluginType value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue