AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
Ingestion.h
1
6#pragma once
7#include <aws/appfabric/AppFabric_EXPORTS.h>
8#include <aws/appfabric/model/IngestionState.h>
9#include <aws/appfabric/model/IngestionType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AppFabric {
23namespace Model {
24
30class Ingestion {
31 public:
32 AWS_APPFABRIC_API Ingestion() = default;
33 AWS_APPFABRIC_API Ingestion(Aws::Utils::Json::JsonView jsonValue);
34 AWS_APPFABRIC_API Ingestion& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
43 template <typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) {
45 m_arnHasBeenSet = true;
46 m_arn = std::forward<ArnT>(value);
47 }
48 template <typename ArnT = Aws::String>
49 Ingestion& WithArn(ArnT&& value) {
50 SetArn(std::forward<ArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetAppBundleArn() const { return m_appBundleArn; }
60 inline bool AppBundleArnHasBeenSet() const { return m_appBundleArnHasBeenSet; }
61 template <typename AppBundleArnT = Aws::String>
62 void SetAppBundleArn(AppBundleArnT&& value) {
63 m_appBundleArnHasBeenSet = true;
64 m_appBundleArn = std::forward<AppBundleArnT>(value);
65 }
66 template <typename AppBundleArnT = Aws::String>
67 Ingestion& WithAppBundleArn(AppBundleArnT&& value) {
68 SetAppBundleArn(std::forward<AppBundleArnT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetApp() const { return m_app; }
78 inline bool AppHasBeenSet() const { return m_appHasBeenSet; }
79 template <typename AppT = Aws::String>
80 void SetApp(AppT&& value) {
81 m_appHasBeenSet = true;
82 m_app = std::forward<AppT>(value);
83 }
84 template <typename AppT = Aws::String>
85 Ingestion& WithApp(AppT&& value) {
86 SetApp(std::forward<AppT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetTenantId() const { return m_tenantId; }
96 inline bool TenantIdHasBeenSet() const { return m_tenantIdHasBeenSet; }
97 template <typename TenantIdT = Aws::String>
98 void SetTenantId(TenantIdT&& value) {
99 m_tenantIdHasBeenSet = true;
100 m_tenantId = std::forward<TenantIdT>(value);
101 }
102 template <typename TenantIdT = Aws::String>
103 Ingestion& WithTenantId(TenantIdT&& value) {
104 SetTenantId(std::forward<TenantIdT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
114 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
115 template <typename CreatedAtT = Aws::Utils::DateTime>
116 void SetCreatedAt(CreatedAtT&& value) {
117 m_createdAtHasBeenSet = true;
118 m_createdAt = std::forward<CreatedAtT>(value);
119 }
120 template <typename CreatedAtT = Aws::Utils::DateTime>
121 Ingestion& WithCreatedAt(CreatedAtT&& value) {
122 SetCreatedAt(std::forward<CreatedAtT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
132 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
133 template <typename UpdatedAtT = Aws::Utils::DateTime>
134 void SetUpdatedAt(UpdatedAtT&& value) {
135 m_updatedAtHasBeenSet = true;
136 m_updatedAt = std::forward<UpdatedAtT>(value);
137 }
138 template <typename UpdatedAtT = Aws::Utils::DateTime>
139 Ingestion& WithUpdatedAt(UpdatedAtT&& value) {
140 SetUpdatedAt(std::forward<UpdatedAtT>(value));
141 return *this;
142 }
144
146
149 inline IngestionState GetState() const { return m_state; }
150 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
151 inline void SetState(IngestionState value) {
152 m_stateHasBeenSet = true;
153 m_state = value;
154 }
156 SetState(value);
157 return *this;
158 }
160
162
165 inline IngestionType GetIngestionType() const { return m_ingestionType; }
166 inline bool IngestionTypeHasBeenSet() const { return m_ingestionTypeHasBeenSet; }
167 inline void SetIngestionType(IngestionType value) {
168 m_ingestionTypeHasBeenSet = true;
169 m_ingestionType = value;
170 }
172 SetIngestionType(value);
173 return *this;
174 }
176 private:
177 Aws::String m_arn;
178
179 Aws::String m_appBundleArn;
180
181 Aws::String m_app;
182
183 Aws::String m_tenantId;
184
185 Aws::Utils::DateTime m_createdAt{};
186
187 Aws::Utils::DateTime m_updatedAt{};
188
190
191 IngestionType m_ingestionType{IngestionType::NOT_SET};
192 bool m_arnHasBeenSet = false;
193 bool m_appBundleArnHasBeenSet = false;
194 bool m_appHasBeenSet = false;
195 bool m_tenantIdHasBeenSet = false;
196 bool m_createdAtHasBeenSet = false;
197 bool m_updatedAtHasBeenSet = false;
198 bool m_stateHasBeenSet = false;
199 bool m_ingestionTypeHasBeenSet = false;
200};
201
202} // namespace Model
203} // namespace AppFabric
204} // namespace Aws
void SetAppBundleArn(AppBundleArnT &&value)
Definition Ingestion.h:62
IngestionState GetState() const
Definition Ingestion.h:149
AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const
Ingestion & WithCreatedAt(CreatedAtT &&value)
Definition Ingestion.h:121
const Aws::String & GetApp() const
Definition Ingestion.h:77
void SetArn(ArnT &&value)
Definition Ingestion.h:44
void SetIngestionType(IngestionType value)
Definition Ingestion.h:167
Ingestion & WithTenantId(TenantIdT &&value)
Definition Ingestion.h:103
void SetCreatedAt(CreatedAtT &&value)
Definition Ingestion.h:116
Ingestion & WithIngestionType(IngestionType value)
Definition Ingestion.h:171
void SetUpdatedAt(UpdatedAtT &&value)
Definition Ingestion.h:134
void SetState(IngestionState value)
Definition Ingestion.h:151
Ingestion & WithArn(ArnT &&value)
Definition Ingestion.h:49
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Ingestion.h:113
const Aws::String & GetAppBundleArn() const
Definition Ingestion.h:59
void SetTenantId(TenantIdT &&value)
Definition Ingestion.h:98
const Aws::String & GetArn() const
Definition Ingestion.h:41
void SetApp(AppT &&value)
Definition Ingestion.h:80
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition Ingestion.h:131
Ingestion & WithUpdatedAt(UpdatedAtT &&value)
Definition Ingestion.h:139
Ingestion & WithAppBundleArn(AppBundleArnT &&value)
Definition Ingestion.h:67
Ingestion & WithState(IngestionState value)
Definition Ingestion.h:155
const Aws::String & GetTenantId() const
Definition Ingestion.h:95
AWS_APPFABRIC_API Ingestion(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFABRIC_API Ingestion & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFABRIC_API Ingestion()=default
Ingestion & WithApp(AppT &&value)
Definition Ingestion.h:85
IngestionType GetIngestionType() const
Definition Ingestion.h:165
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue