AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
IngestionDestination.h
1
6#pragma once
7#include <aws/appfabric/AppFabric_EXPORTS.h>
8#include <aws/appfabric/model/DestinationConfiguration.h>
9#include <aws/appfabric/model/IngestionDestinationStatus.h>
10#include <aws/appfabric/model/ProcessingConfiguration.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace AppFabric {
24namespace Model {
25
33 public:
34 AWS_APPFABRIC_API IngestionDestination() = default;
37 AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetArn() const { return m_arn; }
44 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
45 template <typename ArnT = Aws::String>
46 void SetArn(ArnT&& value) {
47 m_arnHasBeenSet = true;
48 m_arn = std::forward<ArnT>(value);
49 }
50 template <typename ArnT = Aws::String>
52 SetArn(std::forward<ArnT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetIngestionArn() const { return m_ingestionArn; }
62 inline bool IngestionArnHasBeenSet() const { return m_ingestionArnHasBeenSet; }
63 template <typename IngestionArnT = Aws::String>
64 void SetIngestionArn(IngestionArnT&& value) {
65 m_ingestionArnHasBeenSet = true;
66 m_ingestionArn = std::forward<IngestionArnT>(value);
67 }
68 template <typename IngestionArnT = Aws::String>
69 IngestionDestination& WithIngestionArn(IngestionArnT&& value) {
70 SetIngestionArn(std::forward<IngestionArnT>(value));
71 return *this;
72 }
74
76
79 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
80 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
81 template <typename ProcessingConfigurationT = ProcessingConfiguration>
82 void SetProcessingConfiguration(ProcessingConfigurationT&& value) {
83 m_processingConfigurationHasBeenSet = true;
84 m_processingConfiguration = std::forward<ProcessingConfigurationT>(value);
85 }
86 template <typename ProcessingConfigurationT = ProcessingConfiguration>
87 IngestionDestination& WithProcessingConfiguration(ProcessingConfigurationT&& value) {
88 SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value));
89 return *this;
90 }
92
94
97 inline const DestinationConfiguration& GetDestinationConfiguration() const { return m_destinationConfiguration; }
98 inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; }
99 template <typename DestinationConfigurationT = DestinationConfiguration>
100 void SetDestinationConfiguration(DestinationConfigurationT&& value) {
101 m_destinationConfigurationHasBeenSet = true;
102 m_destinationConfiguration = std::forward<DestinationConfigurationT>(value);
103 }
104 template <typename DestinationConfigurationT = DestinationConfiguration>
105 IngestionDestination& WithDestinationConfiguration(DestinationConfigurationT&& value) {
106 SetDestinationConfiguration(std::forward<DestinationConfigurationT>(value));
107 return *this;
108 }
110
112
120 inline IngestionDestinationStatus GetStatus() const { return m_status; }
121 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
123 m_statusHasBeenSet = true;
124 m_status = value;
125 }
127 SetStatus(value);
128 return *this;
129 }
131
133
138 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
139 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
140 template <typename StatusReasonT = Aws::String>
141 void SetStatusReason(StatusReasonT&& value) {
142 m_statusReasonHasBeenSet = true;
143 m_statusReason = std::forward<StatusReasonT>(value);
144 }
145 template <typename StatusReasonT = Aws::String>
146 IngestionDestination& WithStatusReason(StatusReasonT&& value) {
147 SetStatusReason(std::forward<StatusReasonT>(value));
148 return *this;
149 }
151
153
156 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
157 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
158 template <typename CreatedAtT = Aws::Utils::DateTime>
159 void SetCreatedAt(CreatedAtT&& value) {
160 m_createdAtHasBeenSet = true;
161 m_createdAt = std::forward<CreatedAtT>(value);
162 }
163 template <typename CreatedAtT = Aws::Utils::DateTime>
164 IngestionDestination& WithCreatedAt(CreatedAtT&& value) {
165 SetCreatedAt(std::forward<CreatedAtT>(value));
166 return *this;
167 }
169
171
174 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
175 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
176 template <typename UpdatedAtT = Aws::Utils::DateTime>
177 void SetUpdatedAt(UpdatedAtT&& value) {
178 m_updatedAtHasBeenSet = true;
179 m_updatedAt = std::forward<UpdatedAtT>(value);
180 }
181 template <typename UpdatedAtT = Aws::Utils::DateTime>
182 IngestionDestination& WithUpdatedAt(UpdatedAtT&& value) {
183 SetUpdatedAt(std::forward<UpdatedAtT>(value));
184 return *this;
185 }
187 private:
188 Aws::String m_arn;
189
190 Aws::String m_ingestionArn;
191
192 ProcessingConfiguration m_processingConfiguration;
193
194 DestinationConfiguration m_destinationConfiguration;
195
197
198 Aws::String m_statusReason;
199
200 Aws::Utils::DateTime m_createdAt{};
201
202 Aws::Utils::DateTime m_updatedAt{};
203 bool m_arnHasBeenSet = false;
204 bool m_ingestionArnHasBeenSet = false;
205 bool m_processingConfigurationHasBeenSet = false;
206 bool m_destinationConfigurationHasBeenSet = false;
207 bool m_statusHasBeenSet = false;
208 bool m_statusReasonHasBeenSet = false;
209 bool m_createdAtHasBeenSet = false;
210 bool m_updatedAtHasBeenSet = false;
211};
212
213} // namespace Model
214} // namespace AppFabric
215} // namespace Aws
const DestinationConfiguration & GetDestinationConfiguration() const
IngestionDestination & WithDestinationConfiguration(DestinationConfigurationT &&value)
AWS_APPFABRIC_API IngestionDestination()=default
AWS_APPFABRIC_API IngestionDestination(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_APPFABRIC_API IngestionDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
IngestionDestination & WithProcessingConfiguration(ProcessingConfigurationT &&value)
IngestionDestination & WithCreatedAt(CreatedAtT &&value)
IngestionDestinationStatus GetStatus() const
void SetStatus(IngestionDestinationStatus value)
const ProcessingConfiguration & GetProcessingConfiguration() const
IngestionDestination & WithStatus(IngestionDestinationStatus value)
IngestionDestination & WithUpdatedAt(UpdatedAtT &&value)
IngestionDestination & WithStatusReason(StatusReasonT &&value)
void SetProcessingConfiguration(ProcessingConfigurationT &&value)
IngestionDestination & WithIngestionArn(IngestionArnT &&value)
void SetDestinationConfiguration(DestinationConfigurationT &&value)
IngestionDestination & WithArn(ArnT &&value)
AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue