AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
InputSummary.h
1
6#pragma once
7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/iotevents/model/InputStatus.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 IoTEvents
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_IOTEVENTS_API InputSummary() = default;
37 AWS_IOTEVENTS_API InputSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTEVENTS_API InputSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetInputName() const { return m_inputName; }
47 inline bool InputNameHasBeenSet() const { return m_inputNameHasBeenSet; }
48 template<typename InputNameT = Aws::String>
49 void SetInputName(InputNameT&& value) { m_inputNameHasBeenSet = true; m_inputName = std::forward<InputNameT>(value); }
50 template<typename InputNameT = Aws::String>
51 InputSummary& WithInputName(InputNameT&& value) { SetInputName(std::forward<InputNameT>(value)); return *this;}
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) { m_inputDescriptionHasBeenSet = true; m_inputDescription = std::forward<InputDescriptionT>(value); }
62 template<typename InputDescriptionT = Aws::String>
63 InputSummary& WithInputDescription(InputDescriptionT&& value) { SetInputDescription(std::forward<InputDescriptionT>(value)); return *this;}
65
67
70 inline const Aws::String& GetInputArn() const { return m_inputArn; }
71 inline bool InputArnHasBeenSet() const { return m_inputArnHasBeenSet; }
72 template<typename InputArnT = Aws::String>
73 void SetInputArn(InputArnT&& value) { m_inputArnHasBeenSet = true; m_inputArn = std::forward<InputArnT>(value); }
74 template<typename InputArnT = Aws::String>
75 InputSummary& WithInputArn(InputArnT&& value) { SetInputArn(std::forward<InputArnT>(value)); return *this;}
77
79
82 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
83 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
84 template<typename CreationTimeT = Aws::Utils::DateTime>
85 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
86 template<typename CreationTimeT = Aws::Utils::DateTime>
87 InputSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
89
91
94 inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; }
95 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
96 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
97 void SetLastUpdateTime(LastUpdateTimeT&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::forward<LastUpdateTimeT>(value); }
98 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
99 InputSummary& WithLastUpdateTime(LastUpdateTimeT&& value) { SetLastUpdateTime(std::forward<LastUpdateTimeT>(value)); return *this;}
101
103
106 inline InputStatus GetStatus() const { return m_status; }
107 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
108 inline void SetStatus(InputStatus value) { m_statusHasBeenSet = true; m_status = value; }
109 inline InputSummary& WithStatus(InputStatus value) { SetStatus(value); return *this;}
111 private:
112
113 Aws::String m_inputName;
114 bool m_inputNameHasBeenSet = false;
115
116 Aws::String m_inputDescription;
117 bool m_inputDescriptionHasBeenSet = false;
118
119 Aws::String m_inputArn;
120 bool m_inputArnHasBeenSet = false;
121
122 Aws::Utils::DateTime m_creationTime{};
123 bool m_creationTimeHasBeenSet = false;
124
125 Aws::Utils::DateTime m_lastUpdateTime{};
126 bool m_lastUpdateTimeHasBeenSet = false;
127
129 bool m_statusHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace IoTEvents
134} // 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