AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPluginId(const Aws::String& value) { m_pluginIdHasBeenSet = true; m_pluginId = value; }
53 inline void SetPluginId(Aws::String&& value) { m_pluginIdHasBeenSet = true; m_pluginId = std::move(value); }
54 inline void SetPluginId(const char* value) { m_pluginIdHasBeenSet = true; m_pluginId.assign(value); }
55 inline ActionReview& WithPluginId(const Aws::String& value) { SetPluginId(value); return *this;}
56 inline ActionReview& WithPluginId(Aws::String&& value) { SetPluginId(std::move(value)); return *this;}
57 inline ActionReview& WithPluginId(const char* value) { SetPluginId(value); return *this;}
59
61
64 inline const PluginType& GetPluginType() const{ return m_pluginType; }
65 inline bool PluginTypeHasBeenSet() const { return m_pluginTypeHasBeenSet; }
66 inline void SetPluginType(const PluginType& value) { m_pluginTypeHasBeenSet = true; m_pluginType = value; }
67 inline void SetPluginType(PluginType&& value) { m_pluginTypeHasBeenSet = true; m_pluginType = std::move(value); }
68 inline ActionReview& WithPluginType(const PluginType& value) { SetPluginType(value); return *this;}
69 inline ActionReview& WithPluginType(PluginType&& value) { SetPluginType(std::move(value)); return *this;}
71
73
77 inline const Aws::Map<Aws::String, ActionReviewPayloadField>& GetPayload() const{ return m_payload; }
78 inline bool PayloadHasBeenSet() const { return m_payloadHasBeenSet; }
79 inline void SetPayload(const Aws::Map<Aws::String, ActionReviewPayloadField>& value) { m_payloadHasBeenSet = true; m_payload = value; }
80 inline void SetPayload(Aws::Map<Aws::String, ActionReviewPayloadField>&& value) { m_payloadHasBeenSet = true; m_payload = std::move(value); }
82 inline ActionReview& WithPayload(Aws::Map<Aws::String, ActionReviewPayloadField>&& value) { SetPayload(std::move(value)); return *this;}
83 inline ActionReview& AddPayload(const Aws::String& key, const ActionReviewPayloadField& value) { m_payloadHasBeenSet = true; m_payload.emplace(key, value); return *this; }
84 inline ActionReview& AddPayload(Aws::String&& key, const ActionReviewPayloadField& value) { m_payloadHasBeenSet = true; m_payload.emplace(std::move(key), value); return *this; }
85 inline ActionReview& AddPayload(const Aws::String& key, ActionReviewPayloadField&& value) { m_payloadHasBeenSet = true; m_payload.emplace(key, std::move(value)); return *this; }
86 inline ActionReview& AddPayload(Aws::String&& key, ActionReviewPayloadField&& value) { m_payloadHasBeenSet = true; m_payload.emplace(std::move(key), std::move(value)); return *this; }
87 inline ActionReview& AddPayload(const char* key, ActionReviewPayloadField&& value) { m_payloadHasBeenSet = true; m_payload.emplace(key, std::move(value)); return *this; }
88 inline ActionReview& AddPayload(const char* key, const ActionReviewPayloadField& value) { m_payloadHasBeenSet = true; m_payload.emplace(key, value); return *this; }
90
92
96 inline const Aws::String& GetPayloadFieldNameSeparator() const{ return m_payloadFieldNameSeparator; }
97 inline bool PayloadFieldNameSeparatorHasBeenSet() const { return m_payloadFieldNameSeparatorHasBeenSet; }
98 inline void SetPayloadFieldNameSeparator(const Aws::String& value) { m_payloadFieldNameSeparatorHasBeenSet = true; m_payloadFieldNameSeparator = value; }
99 inline void SetPayloadFieldNameSeparator(Aws::String&& value) { m_payloadFieldNameSeparatorHasBeenSet = true; m_payloadFieldNameSeparator = std::move(value); }
100 inline void SetPayloadFieldNameSeparator(const char* value) { m_payloadFieldNameSeparatorHasBeenSet = true; m_payloadFieldNameSeparator.assign(value); }
102 inline ActionReview& WithPayloadFieldNameSeparator(Aws::String&& value) { SetPayloadFieldNameSeparator(std::move(value)); return *this;}
103 inline ActionReview& WithPayloadFieldNameSeparator(const char* value) { SetPayloadFieldNameSeparator(value); return *this;}
105 private:
106
107 Aws::String m_pluginId;
108 bool m_pluginIdHasBeenSet = false;
109
110 PluginType m_pluginType;
111 bool m_pluginTypeHasBeenSet = false;
112
114 bool m_payloadHasBeenSet = false;
115
116 Aws::String m_payloadFieldNameSeparator;
117 bool m_payloadFieldNameSeparatorHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace QBusiness
122} // namespace Aws
const Aws::Map< Aws::String, ActionReviewPayloadField > & GetPayload() const
ActionReview & AddPayload(Aws::String &&key, const ActionReviewPayloadField &value)
ActionReview & AddPayload(const char *key, ActionReviewPayloadField &&value)
ActionReview & WithPluginId(const char *value)
const Aws::String & GetPayloadFieldNameSeparator() const
void SetPluginId(const char *value)
const Aws::String & GetPluginId() const
ActionReview & AddPayload(const char *key, const ActionReviewPayloadField &value)
void SetPluginType(const PluginType &value)
ActionReview & WithPluginType(PluginType &&value)
void SetPayload(const Aws::Map< Aws::String, ActionReviewPayloadField > &value)
void SetPayloadFieldNameSeparator(const char *value)
void SetPluginType(PluginType &&value)
ActionReview & WithPluginId(const Aws::String &value)
ActionReview & WithPluginType(const PluginType &value)
ActionReview & WithPayloadFieldNameSeparator(const char *value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPayloadFieldNameSeparator(const Aws::String &value)
ActionReview & AddPayload(const Aws::String &key, const ActionReviewPayloadField &value)
AWS_QBUSINESS_API ActionReview & operator=(Aws::Utils::Json::JsonView jsonValue)
ActionReview & WithPayloadFieldNameSeparator(Aws::String &&value)
ActionReview & WithPluginId(Aws::String &&value)
void SetPluginId(Aws::String &&value)
const PluginType & GetPluginType() const
ActionReview & WithPayload(Aws::Map< Aws::String, ActionReviewPayloadField > &&value)
ActionReview & WithPayload(const Aws::Map< Aws::String, ActionReviewPayloadField > &value)
void SetPluginId(const Aws::String &value)
void SetPayloadFieldNameSeparator(Aws::String &&value)
ActionReview & AddPayload(Aws::String &&key, ActionReviewPayloadField &&value)
ActionReview & AddPayload(const Aws::String &key, ActionReviewPayloadField &&value)
AWS_QBUSINESS_API ActionReview(Aws::Utils::Json::JsonView jsonValue)
ActionReview & WithPayloadFieldNameSeparator(const Aws::String &value)
void SetPayload(Aws::Map< Aws::String, ActionReviewPayloadField > &&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