AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Ingestion.h
1
6#pragma once
7#include <aws/appfabric/AppFabric_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/appfabric/model/IngestionState.h>
11#include <aws/appfabric/model/IngestionType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace AppFabric
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_APPFABRIC_API Ingestion() = default;
38 AWS_APPFABRIC_API Ingestion(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPFABRIC_API Ingestion& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetArn() const { return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 template<typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
51 template<typename ArnT = Aws::String>
52 Ingestion& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
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) { m_appBundleArnHasBeenSet = true; m_appBundleArn = std::forward<AppBundleArnT>(value); }
63 template<typename AppBundleArnT = Aws::String>
64 Ingestion& WithAppBundleArn(AppBundleArnT&& value) { SetAppBundleArn(std::forward<AppBundleArnT>(value)); return *this;}
66
68
71 inline const Aws::String& GetApp() const { return m_app; }
72 inline bool AppHasBeenSet() const { return m_appHasBeenSet; }
73 template<typename AppT = Aws::String>
74 void SetApp(AppT&& value) { m_appHasBeenSet = true; m_app = std::forward<AppT>(value); }
75 template<typename AppT = Aws::String>
76 Ingestion& WithApp(AppT&& value) { SetApp(std::forward<AppT>(value)); return *this;}
78
80
83 inline const Aws::String& GetTenantId() const { return m_tenantId; }
84 inline bool TenantIdHasBeenSet() const { return m_tenantIdHasBeenSet; }
85 template<typename TenantIdT = Aws::String>
86 void SetTenantId(TenantIdT&& value) { m_tenantIdHasBeenSet = true; m_tenantId = std::forward<TenantIdT>(value); }
87 template<typename TenantIdT = Aws::String>
88 Ingestion& WithTenantId(TenantIdT&& value) { SetTenantId(std::forward<TenantIdT>(value)); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
96 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
97 template<typename CreatedAtT = Aws::Utils::DateTime>
98 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
99 template<typename CreatedAtT = Aws::Utils::DateTime>
100 Ingestion& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
108 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
109 template<typename UpdatedAtT = Aws::Utils::DateTime>
110 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
111 template<typename UpdatedAtT = Aws::Utils::DateTime>
112 Ingestion& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
114
116
119 inline IngestionState GetState() const { return m_state; }
120 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
121 inline void SetState(IngestionState value) { m_stateHasBeenSet = true; m_state = value; }
122 inline Ingestion& WithState(IngestionState value) { SetState(value); return *this;}
124
126
129 inline IngestionType GetIngestionType() const { return m_ingestionType; }
130 inline bool IngestionTypeHasBeenSet() const { return m_ingestionTypeHasBeenSet; }
131 inline void SetIngestionType(IngestionType value) { m_ingestionTypeHasBeenSet = true; m_ingestionType = value; }
132 inline Ingestion& WithIngestionType(IngestionType value) { SetIngestionType(value); return *this;}
134 private:
135
136 Aws::String m_arn;
137 bool m_arnHasBeenSet = false;
138
139 Aws::String m_appBundleArn;
140 bool m_appBundleArnHasBeenSet = false;
141
142 Aws::String m_app;
143 bool m_appHasBeenSet = false;
144
145 Aws::String m_tenantId;
146 bool m_tenantIdHasBeenSet = false;
147
148 Aws::Utils::DateTime m_createdAt{};
149 bool m_createdAtHasBeenSet = false;
150
151 Aws::Utils::DateTime m_updatedAt{};
152 bool m_updatedAtHasBeenSet = false;
153
155 bool m_stateHasBeenSet = false;
156
157 IngestionType m_ingestionType{IngestionType::NOT_SET};
158 bool m_ingestionTypeHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace AppFabric
163} // namespace Aws
void SetAppBundleArn(AppBundleArnT &&value)
Definition Ingestion.h:62
IngestionState GetState() const
Definition Ingestion.h:119
AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const
Ingestion & WithCreatedAt(CreatedAtT &&value)
Definition Ingestion.h:100
const Aws::String & GetApp() const
Definition Ingestion.h:71
void SetArn(ArnT &&value)
Definition Ingestion.h:50
void SetIngestionType(IngestionType value)
Definition Ingestion.h:131
Ingestion & WithTenantId(TenantIdT &&value)
Definition Ingestion.h:88
void SetCreatedAt(CreatedAtT &&value)
Definition Ingestion.h:98
Ingestion & WithIngestionType(IngestionType value)
Definition Ingestion.h:132
void SetUpdatedAt(UpdatedAtT &&value)
Definition Ingestion.h:110
void SetState(IngestionState value)
Definition Ingestion.h:121
Ingestion & WithArn(ArnT &&value)
Definition Ingestion.h:52
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Ingestion.h:95
const Aws::String & GetAppBundleArn() const
Definition Ingestion.h:59
void SetTenantId(TenantIdT &&value)
Definition Ingestion.h:86
const Aws::String & GetArn() const
Definition Ingestion.h:47
void SetApp(AppT &&value)
Definition Ingestion.h:74
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition Ingestion.h:107
Ingestion & WithUpdatedAt(UpdatedAtT &&value)
Definition Ingestion.h:112
Ingestion & WithAppBundleArn(AppBundleArnT &&value)
Definition Ingestion.h:64
Ingestion & WithState(IngestionState value)
Definition Ingestion.h:122
const Aws::String & GetTenantId() const
Definition Ingestion.h:83
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:76
IngestionType GetIngestionType() const
Definition Ingestion.h:129
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue