AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
52 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
53 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
54 inline IngestionDestination& WithArn(const Aws::String& value) { SetArn(value); return *this;}
55 inline IngestionDestination& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
56 inline IngestionDestination& WithArn(const char* value) { SetArn(value); return *this;}
58
60
63 inline const Aws::String& GetIngestionArn() const{ return m_ingestionArn; }
64 inline bool IngestionArnHasBeenSet() const { return m_ingestionArnHasBeenSet; }
65 inline void SetIngestionArn(const Aws::String& value) { m_ingestionArnHasBeenSet = true; m_ingestionArn = value; }
66 inline void SetIngestionArn(Aws::String&& value) { m_ingestionArnHasBeenSet = true; m_ingestionArn = std::move(value); }
67 inline void SetIngestionArn(const char* value) { m_ingestionArnHasBeenSet = true; m_ingestionArn.assign(value); }
68 inline IngestionDestination& WithIngestionArn(const Aws::String& value) { SetIngestionArn(value); return *this;}
69 inline IngestionDestination& WithIngestionArn(Aws::String&& value) { SetIngestionArn(std::move(value)); return *this;}
70 inline IngestionDestination& WithIngestionArn(const char* value) { SetIngestionArn(value); return *this;}
72
74
77 inline const ProcessingConfiguration& GetProcessingConfiguration() const{ return m_processingConfiguration; }
78 inline bool ProcessingConfigurationHasBeenSet() const { return m_processingConfigurationHasBeenSet; }
79 inline void SetProcessingConfiguration(const ProcessingConfiguration& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = value; }
80 inline void SetProcessingConfiguration(ProcessingConfiguration&& value) { m_processingConfigurationHasBeenSet = true; m_processingConfiguration = std::move(value); }
84
86
89 inline const DestinationConfiguration& GetDestinationConfiguration() const{ return m_destinationConfiguration; }
90 inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; }
91 inline void SetDestinationConfiguration(const DestinationConfiguration& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = value; }
92 inline void SetDestinationConfiguration(DestinationConfiguration&& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = std::move(value); }
96
98
106 inline const IngestionDestinationStatus& GetStatus() const{ return m_status; }
107 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
108 inline void SetStatus(const IngestionDestinationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
109 inline void SetStatus(IngestionDestinationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
110 inline IngestionDestination& WithStatus(const IngestionDestinationStatus& value) { SetStatus(value); return *this;}
111 inline IngestionDestination& WithStatus(IngestionDestinationStatus&& value) { SetStatus(std::move(value)); return *this;}
113
115
120 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
121 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
122 inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
123 inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); }
124 inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); }
125 inline IngestionDestination& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
126 inline IngestionDestination& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
127 inline IngestionDestination& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
129
131
134 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
135 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
136 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
137 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
138 inline IngestionDestination& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
139 inline IngestionDestination& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
141
143
146 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
147 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
148 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
149 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
150 inline IngestionDestination& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
151 inline IngestionDestination& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
153 private:
154
155 Aws::String m_arn;
156 bool m_arnHasBeenSet = false;
157
158 Aws::String m_ingestionArn;
159 bool m_ingestionArnHasBeenSet = false;
160
161 ProcessingConfiguration m_processingConfiguration;
162 bool m_processingConfigurationHasBeenSet = false;
163
164 DestinationConfiguration m_destinationConfiguration;
165 bool m_destinationConfigurationHasBeenSet = false;
166
168 bool m_statusHasBeenSet = false;
169
170 Aws::String m_statusReason;
171 bool m_statusReasonHasBeenSet = false;
172
173 Aws::Utils::DateTime m_createdAt;
174 bool m_createdAtHasBeenSet = false;
175
176 Aws::Utils::DateTime m_updatedAt;
177 bool m_updatedAtHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace AppFabric
182} // namespace Aws
const DestinationConfiguration & GetDestinationConfiguration() const
IngestionDestination & WithStatus(IngestionDestinationStatus &&value)
IngestionDestination & WithArn(const char *value)
IngestionDestination & WithIngestionArn(const Aws::String &value)
AWS_APPFABRIC_API IngestionDestination(Aws::Utils::Json::JsonView jsonValue)
IngestionDestination & WithStatusReason(const Aws::String &value)
IngestionDestination & WithArn(Aws::String &&value)
void SetStatus(const IngestionDestinationStatus &value)
void SetStatus(IngestionDestinationStatus &&value)
IngestionDestination & WithDestinationConfiguration(DestinationConfiguration &&value)
void SetDestinationConfiguration(const DestinationConfiguration &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
IngestionDestination & WithProcessingConfiguration(ProcessingConfiguration &&value)
IngestionDestination & WithStatusReason(Aws::String &&value)
IngestionDestination & WithStatusReason(const char *value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_APPFABRIC_API IngestionDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetIngestionArn(const Aws::String &value)
void SetDestinationConfiguration(DestinationConfiguration &&value)
IngestionDestination & WithStatus(const IngestionDestinationStatus &value)
IngestionDestination & WithDestinationConfiguration(const DestinationConfiguration &value)
IngestionDestination & WithIngestionArn(const char *value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
IngestionDestination & WithIngestionArn(Aws::String &&value)
IngestionDestination & WithCreatedAt(const Aws::Utils::DateTime &value)
const ProcessingConfiguration & GetProcessingConfiguration() const
IngestionDestination & WithUpdatedAt(const Aws::Utils::DateTime &value)
IngestionDestination & WithProcessingConfiguration(const ProcessingConfiguration &value)
IngestionDestination & WithArn(const Aws::String &value)
IngestionDestination & WithUpdatedAt(Aws::Utils::DateTime &&value)
const IngestionDestinationStatus & GetStatus() const
void SetProcessingConfiguration(ProcessingConfiguration &&value)
IngestionDestination & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetProcessingConfiguration(const ProcessingConfiguration &value)
void SetCreatedAt(Aws::Utils::DateTime &&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