AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DatasetAction.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotanalytics/model/SqlQueryDatasetAction.h>
10#include <aws/iotanalytics/model/ContainerDatasetAction.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 IoTAnalytics
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IOTANALYTICS_API DatasetAction();
38 AWS_IOTANALYTICS_API DatasetAction(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTANALYTICS_API DatasetAction& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetActionName() const{ return m_actionName; }
49 inline bool ActionNameHasBeenSet() const { return m_actionNameHasBeenSet; }
50 inline void SetActionName(const Aws::String& value) { m_actionNameHasBeenSet = true; m_actionName = value; }
51 inline void SetActionName(Aws::String&& value) { m_actionNameHasBeenSet = true; m_actionName = std::move(value); }
52 inline void SetActionName(const char* value) { m_actionNameHasBeenSet = true; m_actionName.assign(value); }
53 inline DatasetAction& WithActionName(const Aws::String& value) { SetActionName(value); return *this;}
54 inline DatasetAction& WithActionName(Aws::String&& value) { SetActionName(std::move(value)); return *this;}
55 inline DatasetAction& WithActionName(const char* value) { SetActionName(value); return *this;}
57
59
63 inline const SqlQueryDatasetAction& GetQueryAction() const{ return m_queryAction; }
64 inline bool QueryActionHasBeenSet() const { return m_queryActionHasBeenSet; }
65 inline void SetQueryAction(const SqlQueryDatasetAction& value) { m_queryActionHasBeenSet = true; m_queryAction = value; }
66 inline void SetQueryAction(SqlQueryDatasetAction&& value) { m_queryActionHasBeenSet = true; m_queryAction = std::move(value); }
67 inline DatasetAction& WithQueryAction(const SqlQueryDatasetAction& value) { SetQueryAction(value); return *this;}
68 inline DatasetAction& WithQueryAction(SqlQueryDatasetAction&& value) { SetQueryAction(std::move(value)); return *this;}
70
72
77 inline const ContainerDatasetAction& GetContainerAction() const{ return m_containerAction; }
78 inline bool ContainerActionHasBeenSet() const { return m_containerActionHasBeenSet; }
79 inline void SetContainerAction(const ContainerDatasetAction& value) { m_containerActionHasBeenSet = true; m_containerAction = value; }
80 inline void SetContainerAction(ContainerDatasetAction&& value) { m_containerActionHasBeenSet = true; m_containerAction = std::move(value); }
81 inline DatasetAction& WithContainerAction(const ContainerDatasetAction& value) { SetContainerAction(value); return *this;}
82 inline DatasetAction& WithContainerAction(ContainerDatasetAction&& value) { SetContainerAction(std::move(value)); return *this;}
84 private:
85
86 Aws::String m_actionName;
87 bool m_actionNameHasBeenSet = false;
88
89 SqlQueryDatasetAction m_queryAction;
90 bool m_queryActionHasBeenSet = false;
91
92 ContainerDatasetAction m_containerAction;
93 bool m_containerActionHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace IoTAnalytics
98} // namespace Aws
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
DatasetAction & WithActionName(Aws::String &&value)
void SetActionName(Aws::String &&value)
void SetQueryAction(SqlQueryDatasetAction &&value)
const ContainerDatasetAction & GetContainerAction() const
void SetActionName(const Aws::String &value)
DatasetAction & WithActionName(const char *value)
void SetActionName(const char *value)
AWS_IOTANALYTICS_API DatasetAction(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTANALYTICS_API DatasetAction & operator=(Aws::Utils::Json::JsonView jsonValue)
DatasetAction & WithContainerAction(ContainerDatasetAction &&value)
const SqlQueryDatasetAction & GetQueryAction() const
AWS_IOTANALYTICS_API DatasetAction()
DatasetAction & WithQueryAction(const SqlQueryDatasetAction &value)
void SetContainerAction(const ContainerDatasetAction &value)
DatasetAction & WithQueryAction(SqlQueryDatasetAction &&value)
void SetContainerAction(ContainerDatasetAction &&value)
void SetQueryAction(const SqlQueryDatasetAction &value)
const Aws::String & GetActionName() const
DatasetAction & WithContainerAction(const ContainerDatasetAction &value)
DatasetAction & WithActionName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue