AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
IngestionDestination.h
1
6#pragma once
7#include <aws/appfabric/AppFabric_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appfabric/model/ProcessingConfiguration.h>
10#include <aws/appfabric/model/DestinationConfiguration.h>
11#include <aws/appfabric/model/IngestionDestinationStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace AppFabric
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_APPFABRIC_API IngestionDestination() = default;
42 AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetArn() const { return m_arn; }
50 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 template<typename ArnT = Aws::String>
52 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
53 template<typename ArnT = Aws::String>
54 IngestionDestination& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
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) { m_ingestionArnHasBeenSet = true; m_ingestionArn = std::forward<IngestionArnT>(value); }
65 template<typename IngestionArnT = Aws::String>
66 IngestionDestination& WithIngestionArn(IngestionArnT&& value) { SetIngestionArn(std::forward<IngestionArnT>(value)); return *this;}
68
70
73 inline const ProcessingConfiguration& GetProcessingConfiguration() const { return m_processingConfiguration; }
74 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
75 template<typename ProcessingConfigurationT = ProcessingConfiguration>
76 void SetProcessingConfiguration(ProcessingConfigurationT&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::forward<ProcessingConfigurationT>(value); }
77 template<typename ProcessingConfigurationT = ProcessingConfiguration>
78 IngestionDestination& WithProcessingConfiguration(ProcessingConfigurationT&& value) { SetProcessingConfiguration(std::forward<ProcessingConfigurationT>(value)); return *this;}
80
82
85 inline const DestinationConfiguration& GetDestinationConfiguration() const { return m_destinationConfiguration; }
86 inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; }
87 template<typename DestinationConfigurationT = DestinationConfiguration>
88 void SetDestinationConfiguration(DestinationConfigurationT&& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = std::forward<DestinationConfigurationT>(value); }
89 template<typename DestinationConfigurationT = DestinationConfiguration>
90 IngestionDestination& WithDestinationConfiguration(DestinationConfigurationT&& value) { SetDestinationConfiguration(std::forward<DestinationConfigurationT>(value)); return *this;}
92
94
102 inline IngestionDestinationStatus GetStatus() const { return m_status; }
103 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
104 inline void SetStatus(IngestionDestinationStatus value) { m_statusHasBeenSet = true; m_status = value; }
107
109
114 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
115 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
116 template<typename StatusReasonT = Aws::String>
117 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::forward<StatusReasonT>(value); }
118 template<typename StatusReasonT = Aws::String>
119 IngestionDestination& WithStatusReason(StatusReasonT&& value) { SetStatusReason(std::forward<StatusReasonT>(value)); return *this;}
121
123
126 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
127 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
128 template<typename CreatedAtT = Aws::Utils::DateTime>
129 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
130 template<typename CreatedAtT = Aws::Utils::DateTime>
131 IngestionDestination& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
133
135
138 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
139 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
140 template<typename UpdatedAtT = Aws::Utils::DateTime>
141 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
142 template<typename UpdatedAtT = Aws::Utils::DateTime>
143 IngestionDestination& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
145 private:
146
147 Aws::String m_arn;
148 bool m_arnHasBeenSet = false;
149
150 Aws::String m_ingestionArn;
151 bool m_ingestionArnHasBeenSet = false;
152
153 ProcessingConfiguration m_processingConfiguration;
154 bool m_processingConfigurationHasBeenSet = false;
155
156 DestinationConfiguration m_destinationConfiguration;
157 bool m_destinationConfigurationHasBeenSet = false;
158
160 bool m_statusHasBeenSet = false;
161
162 Aws::String m_statusReason;
163 bool m_statusReasonHasBeenSet = false;
164
165 Aws::Utils::DateTime m_createdAt{};
166 bool m_createdAtHasBeenSet = false;
167
168 Aws::Utils::DateTime m_updatedAt{};
169 bool m_updatedAtHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace AppFabric
174} // 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