AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InputConfiguration.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
35 {
36 public:
37 AWS_IOTEVENTS_API InputConfiguration();
38 AWS_IOTEVENTS_API InputConfiguration(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetInputName() const{ return m_inputName; }
48 inline bool InputNameHasBeenSet() const { return m_inputNameHasBeenSet; }
49 inline void SetInputName(const Aws::String& value) { m_inputNameHasBeenSet = true; m_inputName = value; }
50 inline void SetInputName(Aws::String&& value) { m_inputNameHasBeenSet = true; m_inputName = std::move(value); }
51 inline void SetInputName(const char* value) { m_inputNameHasBeenSet = true; m_inputName.assign(value); }
52 inline InputConfiguration& WithInputName(const Aws::String& value) { SetInputName(value); return *this;}
53 inline InputConfiguration& WithInputName(Aws::String&& value) { SetInputName(std::move(value)); return *this;}
54 inline InputConfiguration& WithInputName(const char* value) { SetInputName(value); return *this;}
56
58
61 inline const Aws::String& GetInputDescription() const{ return m_inputDescription; }
62 inline bool InputDescriptionHasBeenSet() const { return m_inputDescriptionHasBeenSet; }
63 inline void SetInputDescription(const Aws::String& value) { m_inputDescriptionHasBeenSet = true; m_inputDescription = value; }
64 inline void SetInputDescription(Aws::String&& value) { m_inputDescriptionHasBeenSet = true; m_inputDescription = std::move(value); }
65 inline void SetInputDescription(const char* value) { m_inputDescriptionHasBeenSet = true; m_inputDescription.assign(value); }
66 inline InputConfiguration& WithInputDescription(const Aws::String& value) { SetInputDescription(value); return *this;}
67 inline InputConfiguration& WithInputDescription(Aws::String&& value) { SetInputDescription(std::move(value)); return *this;}
68 inline InputConfiguration& WithInputDescription(const char* value) { SetInputDescription(value); return *this;}
70
72
75 inline const Aws::String& GetInputArn() const{ return m_inputArn; }
76 inline bool InputArnHasBeenSet() const { return m_inputArnHasBeenSet; }
77 inline void SetInputArn(const Aws::String& value) { m_inputArnHasBeenSet = true; m_inputArn = value; }
78 inline void SetInputArn(Aws::String&& value) { m_inputArnHasBeenSet = true; m_inputArn = std::move(value); }
79 inline void SetInputArn(const char* value) { m_inputArnHasBeenSet = true; m_inputArn.assign(value); }
80 inline InputConfiguration& WithInputArn(const Aws::String& value) { SetInputArn(value); return *this;}
81 inline InputConfiguration& WithInputArn(Aws::String&& value) { SetInputArn(std::move(value)); return *this;}
82 inline InputConfiguration& WithInputArn(const char* value) { SetInputArn(value); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
90 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
91 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
92 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
93 inline InputConfiguration& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
94 inline InputConfiguration& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
102 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
103 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
104 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
106 inline InputConfiguration& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
108
110
113 inline const InputStatus& GetStatus() const{ return m_status; }
114 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
115 inline void SetStatus(const InputStatus& value) { m_statusHasBeenSet = true; m_status = value; }
116 inline void SetStatus(InputStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
117 inline InputConfiguration& WithStatus(const InputStatus& value) { SetStatus(value); return *this;}
118 inline InputConfiguration& WithStatus(InputStatus&& value) { SetStatus(std::move(value)); return *this;}
120 private:
121
122 Aws::String m_inputName;
123 bool m_inputNameHasBeenSet = false;
124
125 Aws::String m_inputDescription;
126 bool m_inputDescriptionHasBeenSet = false;
127
128 Aws::String m_inputArn;
129 bool m_inputArnHasBeenSet = false;
130
131 Aws::Utils::DateTime m_creationTime;
132 bool m_creationTimeHasBeenSet = false;
133
134 Aws::Utils::DateTime m_lastUpdateTime;
135 bool m_lastUpdateTimeHasBeenSet = false;
136
137 InputStatus m_status;
138 bool m_statusHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace IoTEvents
143} // namespace Aws
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
InputConfiguration & WithInputName(const Aws::String &value)
InputConfiguration & WithLastUpdateTime(const Aws::Utils::DateTime &value)
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
InputConfiguration & WithInputDescription(const Aws::String &value)
InputConfiguration & WithInputArn(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetInputArn(const Aws::String &value)
void SetStatus(const InputStatus &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
InputConfiguration & WithLastUpdateTime(Aws::Utils::DateTime &&value)
void SetInputName(const Aws::String &value)
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
InputConfiguration & WithStatus(const InputStatus &value)
InputConfiguration & WithCreationTime(Aws::Utils::DateTime &&value)
InputConfiguration & WithInputDescription(Aws::String &&value)
InputConfiguration & WithInputName(Aws::String &&value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
InputConfiguration & WithInputArn(const Aws::String &value)
InputConfiguration & WithInputName(const char *value)
InputConfiguration & WithCreationTime(const Aws::Utils::DateTime &value)
InputConfiguration & WithInputDescription(const char *value)
AWS_IOTEVENTS_API InputConfiguration(Aws::Utils::Json::JsonView jsonValue)
InputConfiguration & WithStatus(InputStatus &&value)
void SetInputDescription(const Aws::String &value)
AWS_IOTEVENTS_API InputConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
InputConfiguration & WithInputArn(const char *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