AWS SDK for C++

AWS SDK for C++ Version 1.11.769

Loading...
Searching...
No Matches
ImportFileEnrichment.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mgn/Mgn_EXPORTS.h>
10#include <aws/mgn/model/Checksum.h>
11#include <aws/mgn/model/EnrichmentTargetS3Configuration.h>
12#include <aws/mgn/model/ImportFileEnrichmentStatus.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace mgn {
24namespace Model {
25
32 public:
33 AWS_MGN_API ImportFileEnrichment() = default;
37
39
42 inline const Aws::String& GetJobID() const { return m_jobID; }
43 inline bool JobIDHasBeenSet() const { return m_jobIDHasBeenSet; }
44 template <typename JobIDT = Aws::String>
45 void SetJobID(JobIDT&& value) {
46 m_jobIDHasBeenSet = true;
47 m_jobID = std::forward<JobIDT>(value);
48 }
49 template <typename JobIDT = Aws::String>
51 SetJobID(std::forward<JobIDT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
61 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
62 template <typename CreatedAtT = Aws::Utils::DateTime>
63 void SetCreatedAt(CreatedAtT&& value) {
64 m_createdAtHasBeenSet = true;
65 m_createdAt = std::forward<CreatedAtT>(value);
66 }
67 template <typename CreatedAtT = Aws::Utils::DateTime>
68 ImportFileEnrichment& WithCreatedAt(CreatedAtT&& value) {
69 SetCreatedAt(std::forward<CreatedAtT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::Utils::DateTime& GetEndedAt() const { return m_endedAt; }
79 inline bool EndedAtHasBeenSet() const { return m_endedAtHasBeenSet; }
80 template <typename EndedAtT = Aws::Utils::DateTime>
81 void SetEndedAt(EndedAtT&& value) {
82 m_endedAtHasBeenSet = true;
83 m_endedAt = std::forward<EndedAtT>(value);
84 }
85 template <typename EndedAtT = Aws::Utils::DateTime>
86 ImportFileEnrichment& WithEndedAt(EndedAtT&& value) {
87 SetEndedAt(std::forward<EndedAtT>(value));
88 return *this;
89 }
91
93
96 inline ImportFileEnrichmentStatus GetStatus() const { return m_status; }
97 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
99 m_statusHasBeenSet = true;
100 m_status = value;
101 }
103 SetStatus(value);
104 return *this;
105 }
107
109
112 inline const Aws::String& GetStatusDetails() const { return m_statusDetails; }
113 inline bool StatusDetailsHasBeenSet() const { return m_statusDetailsHasBeenSet; }
114 template <typename StatusDetailsT = Aws::String>
115 void SetStatusDetails(StatusDetailsT&& value) {
116 m_statusDetailsHasBeenSet = true;
117 m_statusDetails = std::forward<StatusDetailsT>(value);
118 }
119 template <typename StatusDetailsT = Aws::String>
120 ImportFileEnrichment& WithStatusDetails(StatusDetailsT&& value) {
121 SetStatusDetails(std::forward<StatusDetailsT>(value));
122 return *this;
123 }
125
127
130 inline const Checksum& GetChecksum() const { return m_checksum; }
131 inline bool ChecksumHasBeenSet() const { return m_checksumHasBeenSet; }
132 template <typename ChecksumT = Checksum>
133 void SetChecksum(ChecksumT&& value) {
134 m_checksumHasBeenSet = true;
135 m_checksum = std::forward<ChecksumT>(value);
136 }
137 template <typename ChecksumT = Checksum>
138 ImportFileEnrichment& WithChecksum(ChecksumT&& value) {
139 SetChecksum(std::forward<ChecksumT>(value));
140 return *this;
141 }
143
145
148 inline const EnrichmentTargetS3Configuration& GetS3BucketTarget() const { return m_s3BucketTarget; }
149 inline bool S3BucketTargetHasBeenSet() const { return m_s3BucketTargetHasBeenSet; }
150 template <typename S3BucketTargetT = EnrichmentTargetS3Configuration>
151 void SetS3BucketTarget(S3BucketTargetT&& value) {
152 m_s3BucketTargetHasBeenSet = true;
153 m_s3BucketTarget = std::forward<S3BucketTargetT>(value);
154 }
155 template <typename S3BucketTargetT = EnrichmentTargetS3Configuration>
156 ImportFileEnrichment& WithS3BucketTarget(S3BucketTargetT&& value) {
157 SetS3BucketTarget(std::forward<S3BucketTargetT>(value));
158 return *this;
159 }
161 private:
162 Aws::String m_jobID;
163
164 Aws::Utils::DateTime m_createdAt{};
165
166 Aws::Utils::DateTime m_endedAt{};
167
169
170 Aws::String m_statusDetails;
171
172 Checksum m_checksum;
173
174 EnrichmentTargetS3Configuration m_s3BucketTarget;
175 bool m_jobIDHasBeenSet = false;
176 bool m_createdAtHasBeenSet = false;
177 bool m_endedAtHasBeenSet = false;
178 bool m_statusHasBeenSet = false;
179 bool m_statusDetailsHasBeenSet = false;
180 bool m_checksumHasBeenSet = false;
181 bool m_s3BucketTargetHasBeenSet = false;
182};
183
184} // namespace Model
185} // namespace mgn
186} // namespace Aws
const Aws::Utils::DateTime & GetEndedAt() const
AWS_MGN_API ImportFileEnrichment & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(ImportFileEnrichmentStatus value)
const Aws::Utils::DateTime & GetCreatedAt() const
ImportFileEnrichment & WithJobID(JobIDT &&value)
ImportFileEnrichmentStatus GetStatus() const
ImportFileEnrichment & WithS3BucketTarget(S3BucketTargetT &&value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
ImportFileEnrichment & WithEndedAt(EndedAtT &&value)
ImportFileEnrichment & WithCreatedAt(CreatedAtT &&value)
void SetS3BucketTarget(S3BucketTargetT &&value)
ImportFileEnrichment & WithStatus(ImportFileEnrichmentStatus value)
const EnrichmentTargetS3Configuration & GetS3BucketTarget() const
const Aws::String & GetStatusDetails() const
void SetStatusDetails(StatusDetailsT &&value)
AWS_MGN_API ImportFileEnrichment(Aws::Utils::Json::JsonView jsonValue)
AWS_MGN_API ImportFileEnrichment()=default
ImportFileEnrichment & WithChecksum(ChecksumT &&value)
ImportFileEnrichment & WithStatusDetails(StatusDetailsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue