AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DatasetActionSummary.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/DatasetActionType.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 IoTAnalytics
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOTANALYTICS_API DatasetActionSummary();
37 AWS_IOTANALYTICS_API DatasetActionSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetActionName() const{ return m_actionName; }
47 inline bool ActionNameHasBeenSet() const { return m_actionNameHasBeenSet; }
48 inline void SetActionName(const Aws::String& value) { m_actionNameHasBeenSet = true; m_actionName = value; }
49 inline void SetActionName(Aws::String&& value) { m_actionNameHasBeenSet = true; m_actionName = std::move(value); }
50 inline void SetActionName(const char* value) { m_actionNameHasBeenSet = true; m_actionName.assign(value); }
51 inline DatasetActionSummary& WithActionName(const Aws::String& value) { SetActionName(value); return *this;}
52 inline DatasetActionSummary& WithActionName(Aws::String&& value) { SetActionName(std::move(value)); return *this;}
53 inline DatasetActionSummary& WithActionName(const char* value) { SetActionName(value); return *this;}
55
57
61 inline const DatasetActionType& GetActionType() const{ return m_actionType; }
62 inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; }
63 inline void SetActionType(const DatasetActionType& value) { m_actionTypeHasBeenSet = true; m_actionType = value; }
64 inline void SetActionType(DatasetActionType&& value) { m_actionTypeHasBeenSet = true; m_actionType = std::move(value); }
65 inline DatasetActionSummary& WithActionType(const DatasetActionType& value) { SetActionType(value); return *this;}
66 inline DatasetActionSummary& WithActionType(DatasetActionType&& value) { SetActionType(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_actionName;
71 bool m_actionNameHasBeenSet = false;
72
73 DatasetActionType m_actionType;
74 bool m_actionTypeHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace IoTAnalytics
79} // namespace Aws
DatasetActionSummary & WithActionName(const Aws::String &value)
void SetActionType(const DatasetActionType &value)
DatasetActionSummary & WithActionType(const DatasetActionType &value)
AWS_IOTANALYTICS_API DatasetActionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const DatasetActionType & GetActionType() const
DatasetActionSummary & WithActionName(Aws::String &&value)
AWS_IOTANALYTICS_API DatasetActionSummary(Aws::Utils::Json::JsonView jsonValue)
DatasetActionSummary & WithActionName(const char *value)
DatasetActionSummary & WithActionType(DatasetActionType &&value)
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue