AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ActionExecutionEvent.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/qbusiness/model/ActionExecutionPayloadField.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QBusiness
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QBUSINESS_API ActionExecutionEvent();
40 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetPluginId() const{ return m_pluginId; }
48 inline bool PluginIdHasBeenSet() const { return m_pluginIdHasBeenSet; }
49 inline void SetPluginId(const Aws::String& value) { m_pluginIdHasBeenSet = true; m_pluginId = value; }
50 inline void SetPluginId(Aws::String&& value) { m_pluginIdHasBeenSet = true; m_pluginId = std::move(value); }
51 inline void SetPluginId(const char* value) { m_pluginIdHasBeenSet = true; m_pluginId.assign(value); }
52 inline ActionExecutionEvent& WithPluginId(const Aws::String& value) { SetPluginId(value); return *this;}
53 inline ActionExecutionEvent& WithPluginId(Aws::String&& value) { SetPluginId(std::move(value)); return *this;}
54 inline ActionExecutionEvent& WithPluginId(const char* value) { SetPluginId(value); return *this;}
56
58
62 inline const Aws::Map<Aws::String, ActionExecutionPayloadField>& GetPayload() const{ return m_payload; }
63 inline bool PayloadHasBeenSet() const { return m_payloadHasBeenSet; }
64 inline void SetPayload(const Aws::Map<Aws::String, ActionExecutionPayloadField>& value) { m_payloadHasBeenSet = true; m_payload = value; }
65 inline void SetPayload(Aws::Map<Aws::String, ActionExecutionPayloadField>&& value) { m_payloadHasBeenSet = true; m_payload = std::move(value); }
68 inline ActionExecutionEvent& AddPayload(const Aws::String& key, const ActionExecutionPayloadField& value) { m_payloadHasBeenSet = true; m_payload.emplace(key, value); return *this; }
69 inline ActionExecutionEvent& AddPayload(Aws::String&& key, const ActionExecutionPayloadField& value) { m_payloadHasBeenSet = true; m_payload.emplace(std::move(key), value); return *this; }
70 inline ActionExecutionEvent& AddPayload(const Aws::String& key, ActionExecutionPayloadField&& value) { m_payloadHasBeenSet = true; m_payload.emplace(key, std::move(value)); return *this; }
71 inline ActionExecutionEvent& AddPayload(Aws::String&& key, ActionExecutionPayloadField&& value) { m_payloadHasBeenSet = true; m_payload.emplace(std::move(key), std::move(value)); return *this; }
72 inline ActionExecutionEvent& AddPayload(const char* key, ActionExecutionPayloadField&& value) { m_payloadHasBeenSet = true; m_payload.emplace(key, std::move(value)); return *this; }
73 inline ActionExecutionEvent& AddPayload(const char* key, const ActionExecutionPayloadField& value) { m_payloadHasBeenSet = true; m_payload.emplace(key, value); return *this; }
75
77
81 inline const Aws::String& GetPayloadFieldNameSeparator() const{ return m_payloadFieldNameSeparator; }
82 inline bool PayloadFieldNameSeparatorHasBeenSet() const { return m_payloadFieldNameSeparatorHasBeenSet; }
83 inline void SetPayloadFieldNameSeparator(const Aws::String& value) { m_payloadFieldNameSeparatorHasBeenSet = true; m_payloadFieldNameSeparator = value; }
84 inline void SetPayloadFieldNameSeparator(Aws::String&& value) { m_payloadFieldNameSeparatorHasBeenSet = true; m_payloadFieldNameSeparator = std::move(value); }
85 inline void SetPayloadFieldNameSeparator(const char* value) { m_payloadFieldNameSeparatorHasBeenSet = true; m_payloadFieldNameSeparator.assign(value); }
88 inline ActionExecutionEvent& WithPayloadFieldNameSeparator(const char* value) { SetPayloadFieldNameSeparator(value); return *this;}
90 private:
91
92 Aws::String m_pluginId;
93 bool m_pluginIdHasBeenSet = false;
94
96 bool m_payloadHasBeenSet = false;
97
98 Aws::String m_payloadFieldNameSeparator;
99 bool m_payloadFieldNameSeparatorHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace QBusiness
104} // namespace Aws
ActionExecutionEvent & WithPluginId(Aws::String &&value)
ActionExecutionEvent & AddPayload(const Aws::String &key, const ActionExecutionPayloadField &value)
ActionExecutionEvent & WithPluginId(const char *value)
ActionExecutionEvent & AddPayload(const char *key, const ActionExecutionPayloadField &value)
ActionExecutionEvent & AddPayload(const Aws::String &key, ActionExecutionPayloadField &&value)
ActionExecutionEvent & WithPluginId(const Aws::String &value)
ActionExecutionEvent & WithPayloadFieldNameSeparator(Aws::String &&value)
ActionExecutionEvent & AddPayload(Aws::String &&key, ActionExecutionPayloadField &&value)
ActionExecutionEvent & AddPayload(Aws::String &&key, const ActionExecutionPayloadField &value)
ActionExecutionEvent & WithPayload(Aws::Map< Aws::String, ActionExecutionPayloadField > &&value)
const Aws::Map< Aws::String, ActionExecutionPayloadField > & GetPayload() const
ActionExecutionEvent & WithPayloadFieldNameSeparator(const char *value)
ActionExecutionEvent & WithPayloadFieldNameSeparator(const Aws::String &value)
ActionExecutionEvent & WithPayload(const Aws::Map< Aws::String, ActionExecutionPayloadField > &value)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPayloadFieldNameSeparator(const Aws::String &value)
AWS_QBUSINESS_API ActionExecutionEvent(Aws::Utils::Json::JsonView jsonValue)
void SetPayload(Aws::Map< Aws::String, ActionExecutionPayloadField > &&value)
const Aws::String & GetPayloadFieldNameSeparator() const
void SetPayload(const Aws::Map< Aws::String, ActionExecutionPayloadField > &value)
ActionExecutionEvent & AddPayload(const char *key, ActionExecutionPayloadField &&value)
AWS_QBUSINESS_API ActionExecutionEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
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