AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
ExportJobSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sesv2/SESV2_EXPORTS.h>
10#include <aws/sesv2/model/ExportSourceType.h>
11#include <aws/sesv2/model/JobStatus.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SESV2 {
23namespace Model {
24
31 public:
32 AWS_SESV2_API ExportJobSummary() = default;
35 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetJobId() const { return m_jobId; }
42 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
43 template <typename JobIdT = Aws::String>
44 void SetJobId(JobIdT&& value) {
45 m_jobIdHasBeenSet = true;
46 m_jobId = std::forward<JobIdT>(value);
47 }
48 template <typename JobIdT = Aws::String>
49 ExportJobSummary& WithJobId(JobIdT&& value) {
50 SetJobId(std::forward<JobIdT>(value));
51 return *this;
52 }
54
56
59 inline ExportSourceType GetExportSourceType() const { return m_exportSourceType; }
60 inline bool ExportSourceTypeHasBeenSet() const { return m_exportSourceTypeHasBeenSet; }
62 m_exportSourceTypeHasBeenSet = true;
63 m_exportSourceType = value;
64 }
67 return *this;
68 }
70
72
75 inline JobStatus GetJobStatus() const { return m_jobStatus; }
76 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
77 inline void SetJobStatus(JobStatus value) {
78 m_jobStatusHasBeenSet = true;
79 m_jobStatus = value;
80 }
82 SetJobStatus(value);
83 return *this;
84 }
86
88
91 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const { return m_createdTimestamp; }
92 inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
93 template <typename CreatedTimestampT = Aws::Utils::DateTime>
94 void SetCreatedTimestamp(CreatedTimestampT&& value) {
95 m_createdTimestampHasBeenSet = true;
96 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
97 }
98 template <typename CreatedTimestampT = Aws::Utils::DateTime>
99 ExportJobSummary& WithCreatedTimestamp(CreatedTimestampT&& value) {
100 SetCreatedTimestamp(std::forward<CreatedTimestampT>(value));
101 return *this;
102 }
104
106
109 inline const Aws::Utils::DateTime& GetCompletedTimestamp() const { return m_completedTimestamp; }
110 inline bool CompletedTimestampHasBeenSet() const { return m_completedTimestampHasBeenSet; }
111 template <typename CompletedTimestampT = Aws::Utils::DateTime>
112 void SetCompletedTimestamp(CompletedTimestampT&& value) {
113 m_completedTimestampHasBeenSet = true;
114 m_completedTimestamp = std::forward<CompletedTimestampT>(value);
115 }
116 template <typename CompletedTimestampT = Aws::Utils::DateTime>
117 ExportJobSummary& WithCompletedTimestamp(CompletedTimestampT&& value) {
118 SetCompletedTimestamp(std::forward<CompletedTimestampT>(value));
119 return *this;
120 }
122 private:
123 Aws::String m_jobId;
124
126
127 JobStatus m_jobStatus{JobStatus::NOT_SET};
128
129 Aws::Utils::DateTime m_createdTimestamp{};
130
131 Aws::Utils::DateTime m_completedTimestamp{};
132 bool m_jobIdHasBeenSet = false;
133 bool m_exportSourceTypeHasBeenSet = false;
134 bool m_jobStatusHasBeenSet = false;
135 bool m_createdTimestampHasBeenSet = false;
136 bool m_completedTimestampHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace SESV2
141} // namespace Aws
void SetCreatedTimestamp(CreatedTimestampT &&value)
ExportJobSummary & WithJobStatus(JobStatus value)
ExportJobSummary & WithCreatedTimestamp(CreatedTimestampT &&value)
AWS_SESV2_API ExportJobSummary()=default
ExportJobSummary & WithCompletedTimestamp(CompletedTimestampT &&value)
ExportSourceType GetExportSourceType() const
const Aws::Utils::DateTime & GetCreatedTimestamp() const
void SetCompletedTimestamp(CompletedTimestampT &&value)
ExportJobSummary & WithExportSourceType(ExportSourceType value)
ExportJobSummary & WithJobId(JobIdT &&value)
const Aws::String & GetJobId() const
void SetExportSourceType(ExportSourceType value)
const Aws::Utils::DateTime & GetCompletedTimestamp() const
AWS_SESV2_API ExportJobSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SESV2_API ExportJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue