AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline Ingestion& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline Ingestion& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline Ingestion& WithArn(const char* value) { SetArn(value); return *this;}
56
58
61 inline const Aws::String& GetAppBundleArn() const{ return m_appBundleArn; }
62 inline bool AppBundleArnHasBeenSet() const { return m_appBundleArnHasBeenSet; }
63 inline void SetAppBundleArn(const Aws::String& value) { m_appBundleArnHasBeenSet = true; m_appBundleArn = value; }
64 inline void SetAppBundleArn(Aws::String&& value) { m_appBundleArnHasBeenSet = true; m_appBundleArn = std::move(value); }
65 inline void SetAppBundleArn(const char* value) { m_appBundleArnHasBeenSet = true; m_appBundleArn.assign(value); }
66 inline Ingestion& WithAppBundleArn(const Aws::String& value) { SetAppBundleArn(value); return *this;}
67 inline Ingestion& WithAppBundleArn(Aws::String&& value) { SetAppBundleArn(std::move(value)); return *this;}
68 inline Ingestion& WithAppBundleArn(const char* value) { SetAppBundleArn(value); return *this;}
70
72
75 inline const Aws::String& GetApp() const{ return m_app; }
76 inline bool AppHasBeenSet() const { return m_appHasBeenSet; }
77 inline void SetApp(const Aws::String& value) { m_appHasBeenSet = true; m_app = value; }
78 inline void SetApp(Aws::String&& value) { m_appHasBeenSet = true; m_app = std::move(value); }
79 inline void SetApp(const char* value) { m_appHasBeenSet = true; m_app.assign(value); }
80 inline Ingestion& WithApp(const Aws::String& value) { SetApp(value); return *this;}
81 inline Ingestion& WithApp(Aws::String&& value) { SetApp(std::move(value)); return *this;}
82 inline Ingestion& WithApp(const char* value) { SetApp(value); return *this;}
84
86
89 inline const Aws::String& GetTenantId() const{ return m_tenantId; }
90 inline bool TenantIdHasBeenSet() const { return m_tenantIdHasBeenSet; }
91 inline void SetTenantId(const Aws::String& value) { m_tenantIdHasBeenSet = true; m_tenantId = value; }
92 inline void SetTenantId(Aws::String&& value) { m_tenantIdHasBeenSet = true; m_tenantId = std::move(value); }
93 inline void SetTenantId(const char* value) { m_tenantIdHasBeenSet = true; m_tenantId.assign(value); }
94 inline Ingestion& WithTenantId(const Aws::String& value) { SetTenantId(value); return *this;}
95 inline Ingestion& WithTenantId(Aws::String&& value) { SetTenantId(std::move(value)); return *this;}
96 inline Ingestion& WithTenantId(const char* value) { SetTenantId(value); return *this;}
98
100
103 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
104 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
105 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
106 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
107 inline Ingestion& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
108 inline Ingestion& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
110
112
115 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
116 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
117 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
118 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
119 inline Ingestion& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
120 inline Ingestion& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
122
124
127 inline const IngestionState& GetState() const{ return m_state; }
128 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
129 inline void SetState(const IngestionState& value) { m_stateHasBeenSet = true; m_state = value; }
130 inline void SetState(IngestionState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
131 inline Ingestion& WithState(const IngestionState& value) { SetState(value); return *this;}
132 inline Ingestion& WithState(IngestionState&& value) { SetState(std::move(value)); return *this;}
134
136
139 inline const IngestionType& GetIngestionType() const{ return m_ingestionType; }
140 inline bool IngestionTypeHasBeenSet() const { return m_ingestionTypeHasBeenSet; }
141 inline void SetIngestionType(const IngestionType& value) { m_ingestionTypeHasBeenSet = true; m_ingestionType = value; }
142 inline void SetIngestionType(IngestionType&& value) { m_ingestionTypeHasBeenSet = true; m_ingestionType = std::move(value); }
143 inline Ingestion& WithIngestionType(const IngestionType& value) { SetIngestionType(value); return *this;}
144 inline Ingestion& WithIngestionType(IngestionType&& value) { SetIngestionType(std::move(value)); return *this;}
146 private:
147
148 Aws::String m_arn;
149 bool m_arnHasBeenSet = false;
150
151 Aws::String m_appBundleArn;
152 bool m_appBundleArnHasBeenSet = false;
153
154 Aws::String m_app;
155 bool m_appHasBeenSet = false;
156
157 Aws::String m_tenantId;
158 bool m_tenantIdHasBeenSet = false;
159
160 Aws::Utils::DateTime m_createdAt;
161 bool m_createdAtHasBeenSet = false;
162
163 Aws::Utils::DateTime m_updatedAt;
164 bool m_updatedAtHasBeenSet = false;
165
166 IngestionState m_state;
167 bool m_stateHasBeenSet = false;
168
169 IngestionType m_ingestionType;
170 bool m_ingestionTypeHasBeenSet = false;
171 };
172
173} // namespace Model
174} // namespace AppFabric
175} // namespace Aws
Ingestion & WithArn(Aws::String &&value)
Definition Ingestion.h:53
void SetArn(const Aws::String &value)
Definition Ingestion.h:49
Ingestion & WithTenantId(const Aws::String &value)
Definition Ingestion.h:94
AWS_APPFABRIC_API Aws::Utils::Json::JsonValue Jsonize() const
Ingestion & WithArn(const char *value)
Definition Ingestion.h:54
void SetApp(const Aws::String &value)
Definition Ingestion.h:77
const Aws::String & GetApp() const
Definition Ingestion.h:75
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition Ingestion.h:106
Ingestion & WithAppBundleArn(const Aws::String &value)
Definition Ingestion.h:66
void SetTenantId(const char *value)
Definition Ingestion.h:93
void SetState(IngestionState &&value)
Definition Ingestion.h:130
void SetArn(const char *value)
Definition Ingestion.h:51
Ingestion & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition Ingestion.h:108
Ingestion & WithAppBundleArn(Aws::String &&value)
Definition Ingestion.h:67
Ingestion & WithApp(const Aws::String &value)
Definition Ingestion.h:80
Ingestion & WithState(IngestionState &&value)
Definition Ingestion.h:132
Ingestion & WithAppBundleArn(const char *value)
Definition Ingestion.h:68
Ingestion & WithApp(Aws::String &&value)
Definition Ingestion.h:81
void SetArn(Aws::String &&value)
Definition Ingestion.h:50
Ingestion & WithUpdatedAt(const Aws::Utils::DateTime &value)
Definition Ingestion.h:119
void SetUpdatedAt(Aws::Utils::DateTime &&value)
Definition Ingestion.h:118
void SetUpdatedAt(const Aws::Utils::DateTime &value)
Definition Ingestion.h:117
Ingestion & WithState(const IngestionState &value)
Definition Ingestion.h:131
Ingestion & WithArn(const Aws::String &value)
Definition Ingestion.h:52
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Ingestion.h:103
const Aws::String & GetAppBundleArn() const
Definition Ingestion.h:61
void SetAppBundleArn(Aws::String &&value)
Definition Ingestion.h:64
Ingestion & WithTenantId(const char *value)
Definition Ingestion.h:96
void SetAppBundleArn(const Aws::String &value)
Definition Ingestion.h:63
Ingestion & WithIngestionType(const IngestionType &value)
Definition Ingestion.h:143
const Aws::String & GetArn() const
Definition Ingestion.h:47
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition Ingestion.h:115
void SetAppBundleArn(const char *value)
Definition Ingestion.h:65
void SetTenantId(const Aws::String &value)
Definition Ingestion.h:91
void SetTenantId(Aws::String &&value)
Definition Ingestion.h:92
void SetIngestionType(const IngestionType &value)
Definition Ingestion.h:141
Ingestion & WithUpdatedAt(Aws::Utils::DateTime &&value)
Definition Ingestion.h:120
Ingestion & WithIngestionType(IngestionType &&value)
Definition Ingestion.h:144
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition Ingestion.h:105
const Aws::String & GetTenantId() const
Definition Ingestion.h:89
const IngestionState & GetState() const
Definition Ingestion.h:127
void SetIngestionType(IngestionType &&value)
Definition Ingestion.h:142
AWS_APPFABRIC_API Ingestion()
AWS_APPFABRIC_API Ingestion(Aws::Utils::Json::JsonView jsonValue)
const IngestionType & GetIngestionType() const
Definition Ingestion.h:139
void SetApp(Aws::String &&value)
Definition Ingestion.h:78
void SetState(const IngestionState &value)
Definition Ingestion.h:129
void SetApp(const char *value)
Definition Ingestion.h:79
Ingestion & WithTenantId(Aws::String &&value)
Definition Ingestion.h:95
AWS_APPFABRIC_API Ingestion & operator=(Aws::Utils::Json::JsonView jsonValue)
Ingestion & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition Ingestion.h:107
Ingestion & WithApp(const char *value)
Definition Ingestion.h:82
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue