AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
InputConfiguration.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotevents/IoTEvents_EXPORTS.h>
10#include <aws/iotevents/model/InputStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTEvents {
22namespace Model {
23
31 public:
32 AWS_IOTEVENTS_API InputConfiguration() = default;
33 AWS_IOTEVENTS_API InputConfiguration(Aws::Utils::Json::JsonView jsonValue);
35 AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetInputName() const { return m_inputName; }
42 inline bool InputNameHasBeenSet() const { return m_inputNameHasBeenSet; }
43 template <typename InputNameT = Aws::String>
44 void SetInputName(InputNameT&& value) {
45 m_inputNameHasBeenSet = true;
46 m_inputName = std::forward<InputNameT>(value);
47 }
48 template <typename InputNameT = Aws::String>
49 InputConfiguration& WithInputName(InputNameT&& value) {
50 SetInputName(std::forward<InputNameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetInputDescription() const { return m_inputDescription; }
60 inline bool InputDescriptionHasBeenSet() const { return m_inputDescriptionHasBeenSet; }
61 template <typename InputDescriptionT = Aws::String>
62 void SetInputDescription(InputDescriptionT&& value) {
63 m_inputDescriptionHasBeenSet = true;
64 m_inputDescription = std::forward<InputDescriptionT>(value);
65 }
66 template <typename InputDescriptionT = Aws::String>
67 InputConfiguration& WithInputDescription(InputDescriptionT&& value) {
68 SetInputDescription(std::forward<InputDescriptionT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetInputArn() const { return m_inputArn; }
78 inline bool InputArnHasBeenSet() const { return m_inputArnHasBeenSet; }
79 template <typename InputArnT = Aws::String>
80 void SetInputArn(InputArnT&& value) {
81 m_inputArnHasBeenSet = true;
82 m_inputArn = std::forward<InputArnT>(value);
83 }
84 template <typename InputArnT = Aws::String>
85 InputConfiguration& WithInputArn(InputArnT&& value) {
86 SetInputArn(std::forward<InputArnT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
96 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
97 template <typename CreationTimeT = Aws::Utils::DateTime>
98 void SetCreationTime(CreationTimeT&& value) {
99 m_creationTimeHasBeenSet = true;
100 m_creationTime = std::forward<CreationTimeT>(value);
101 }
102 template <typename CreationTimeT = Aws::Utils::DateTime>
103 InputConfiguration& WithCreationTime(CreationTimeT&& value) {
104 SetCreationTime(std::forward<CreationTimeT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; }
114 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
115 template <typename LastUpdateTimeT = Aws::Utils::DateTime>
116 void SetLastUpdateTime(LastUpdateTimeT&& value) {
117 m_lastUpdateTimeHasBeenSet = true;
118 m_lastUpdateTime = std::forward<LastUpdateTimeT>(value);
119 }
120 template <typename LastUpdateTimeT = Aws::Utils::DateTime>
121 InputConfiguration& WithLastUpdateTime(LastUpdateTimeT&& value) {
122 SetLastUpdateTime(std::forward<LastUpdateTimeT>(value));
123 return *this;
124 }
126
128
131 inline InputStatus GetStatus() const { return m_status; }
132 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
133 inline void SetStatus(InputStatus value) {
134 m_statusHasBeenSet = true;
135 m_status = value;
136 }
138 SetStatus(value);
139 return *this;
140 }
142 private:
143 Aws::String m_inputName;
144
145 Aws::String m_inputDescription;
146
147 Aws::String m_inputArn;
148
149 Aws::Utils::DateTime m_creationTime{};
150
151 Aws::Utils::DateTime m_lastUpdateTime{};
152
154 bool m_inputNameHasBeenSet = false;
155 bool m_inputDescriptionHasBeenSet = false;
156 bool m_inputArnHasBeenSet = false;
157 bool m_creationTimeHasBeenSet = false;
158 bool m_lastUpdateTimeHasBeenSet = false;
159 bool m_statusHasBeenSet = false;
160};
161
162} // namespace Model
163} // namespace IoTEvents
164} // namespace Aws
InputConfiguration & WithInputDescription(InputDescriptionT &&value)
InputConfiguration & WithInputArn(InputArnT &&value)
AWS_IOTEVENTS_API InputConfiguration()=default
void SetLastUpdateTime(LastUpdateTimeT &&value)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
InputConfiguration & WithInputName(InputNameT &&value)
InputConfiguration & WithStatus(InputStatus value)
void SetCreationTime(CreationTimeT &&value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
InputConfiguration & WithLastUpdateTime(LastUpdateTimeT &&value)
InputConfiguration & WithCreationTime(CreationTimeT &&value)
AWS_IOTEVENTS_API InputConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTS_API InputConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInputDescription(InputDescriptionT &&value)
const Aws::String & GetInputDescription() const
const Aws::Utils::DateTime & GetCreationTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue