AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
InputSummary.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
30 public:
31 AWS_IOTEVENTS_API InputSummary() = default;
32 AWS_IOTEVENTS_API InputSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IOTEVENTS_API InputSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetInputName() const { return m_inputName; }
41 inline bool InputNameHasBeenSet() const { return m_inputNameHasBeenSet; }
42 template <typename InputNameT = Aws::String>
43 void SetInputName(InputNameT&& value) {
44 m_inputNameHasBeenSet = true;
45 m_inputName = std::forward<InputNameT>(value);
46 }
47 template <typename InputNameT = Aws::String>
48 InputSummary& WithInputName(InputNameT&& value) {
49 SetInputName(std::forward<InputNameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetInputDescription() const { return m_inputDescription; }
59 inline bool InputDescriptionHasBeenSet() const { return m_inputDescriptionHasBeenSet; }
60 template <typename InputDescriptionT = Aws::String>
61 void SetInputDescription(InputDescriptionT&& value) {
62 m_inputDescriptionHasBeenSet = true;
63 m_inputDescription = std::forward<InputDescriptionT>(value);
64 }
65 template <typename InputDescriptionT = Aws::String>
66 InputSummary& WithInputDescription(InputDescriptionT&& value) {
67 SetInputDescription(std::forward<InputDescriptionT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetInputArn() const { return m_inputArn; }
77 inline bool InputArnHasBeenSet() const { return m_inputArnHasBeenSet; }
78 template <typename InputArnT = Aws::String>
79 void SetInputArn(InputArnT&& value) {
80 m_inputArnHasBeenSet = true;
81 m_inputArn = std::forward<InputArnT>(value);
82 }
83 template <typename InputArnT = Aws::String>
84 InputSummary& WithInputArn(InputArnT&& value) {
85 SetInputArn(std::forward<InputArnT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
95 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
96 template <typename CreationTimeT = Aws::Utils::DateTime>
97 void SetCreationTime(CreationTimeT&& value) {
98 m_creationTimeHasBeenSet = true;
99 m_creationTime = std::forward<CreationTimeT>(value);
100 }
101 template <typename CreationTimeT = Aws::Utils::DateTime>
102 InputSummary& WithCreationTime(CreationTimeT&& value) {
103 SetCreationTime(std::forward<CreationTimeT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; }
113 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
114 template <typename LastUpdateTimeT = Aws::Utils::DateTime>
115 void SetLastUpdateTime(LastUpdateTimeT&& value) {
116 m_lastUpdateTimeHasBeenSet = true;
117 m_lastUpdateTime = std::forward<LastUpdateTimeT>(value);
118 }
119 template <typename LastUpdateTimeT = Aws::Utils::DateTime>
120 InputSummary& WithLastUpdateTime(LastUpdateTimeT&& value) {
121 SetLastUpdateTime(std::forward<LastUpdateTimeT>(value));
122 return *this;
123 }
125
127
130 inline InputStatus GetStatus() const { return m_status; }
131 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
132 inline void SetStatus(InputStatus value) {
133 m_statusHasBeenSet = true;
134 m_status = value;
135 }
137 SetStatus(value);
138 return *this;
139 }
141 private:
142 Aws::String m_inputName;
143
144 Aws::String m_inputDescription;
145
146 Aws::String m_inputArn;
147
148 Aws::Utils::DateTime m_creationTime{};
149
150 Aws::Utils::DateTime m_lastUpdateTime{};
151
153 bool m_inputNameHasBeenSet = false;
154 bool m_inputDescriptionHasBeenSet = false;
155 bool m_inputArnHasBeenSet = false;
156 bool m_creationTimeHasBeenSet = false;
157 bool m_lastUpdateTimeHasBeenSet = false;
158 bool m_statusHasBeenSet = false;
159};
160
161} // namespace Model
162} // namespace IoTEvents
163} // namespace Aws
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetInputArn() const
InputSummary & WithLastUpdateTime(LastUpdateTimeT &&value)
const Aws::String & GetInputName() const
InputSummary & WithStatus(InputStatus value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
void SetLastUpdateTime(LastUpdateTimeT &&value)
void SetInputDescription(InputDescriptionT &&value)
void SetInputName(InputNameT &&value)
void SetInputArn(InputArnT &&value)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTEVENTS_API InputSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTS_API InputSummary()=default
InputSummary & WithCreationTime(CreationTimeT &&value)
InputSummary & WithInputArn(InputArnT &&value)
const Aws::String & GetInputDescription() const
void SetStatus(InputStatus value)
InputSummary & WithInputDescription(InputDescriptionT &&value)
AWS_IOTEVENTS_API InputSummary(Aws::Utils::Json::JsonView jsonValue)
InputSummary & WithInputName(InputNameT &&value)
void SetCreationTime(CreationTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue