AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExportJobSummary.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sesv2/model/ExportSourceType.h>
10#include <aws/sesv2/model/JobStatus.h>
11#include <aws/core/utils/DateTime.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 SESV2
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_SESV2_API ExportJobSummary();
40 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetJobId() const{ return m_jobId; }
48 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
49 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
50 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
51 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
52 inline ExportJobSummary& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
53 inline ExportJobSummary& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
54 inline ExportJobSummary& WithJobId(const char* value) { SetJobId(value); return *this;}
56
58
61 inline const ExportSourceType& GetExportSourceType() const{ return m_exportSourceType; }
62 inline bool ExportSourceTypeHasBeenSet() const { return m_exportSourceTypeHasBeenSet; }
63 inline void SetExportSourceType(const ExportSourceType& value) { m_exportSourceTypeHasBeenSet = true; m_exportSourceType = value; }
64 inline void SetExportSourceType(ExportSourceType&& value) { m_exportSourceTypeHasBeenSet = true; m_exportSourceType = std::move(value); }
65 inline ExportJobSummary& WithExportSourceType(const ExportSourceType& value) { SetExportSourceType(value); return *this;}
66 inline ExportJobSummary& WithExportSourceType(ExportSourceType&& value) { SetExportSourceType(std::move(value)); return *this;}
68
70
73 inline const JobStatus& GetJobStatus() const{ return m_jobStatus; }
74 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
75 inline void SetJobStatus(const JobStatus& value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
76 inline void SetJobStatus(JobStatus&& value) { m_jobStatusHasBeenSet = true; m_jobStatus = std::move(value); }
77 inline ExportJobSummary& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;}
78 inline ExportJobSummary& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
80
82
85 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
86 inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
87 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; }
88 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); }
90 inline ExportJobSummary& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
92
94
97 inline const Aws::Utils::DateTime& GetCompletedTimestamp() const{ return m_completedTimestamp; }
98 inline bool CompletedTimestampHasBeenSet() const { return m_completedTimestampHasBeenSet; }
99 inline void SetCompletedTimestamp(const Aws::Utils::DateTime& value) { m_completedTimestampHasBeenSet = true; m_completedTimestamp = value; }
100 inline void SetCompletedTimestamp(Aws::Utils::DateTime&& value) { m_completedTimestampHasBeenSet = true; m_completedTimestamp = std::move(value); }
102 inline ExportJobSummary& WithCompletedTimestamp(Aws::Utils::DateTime&& value) { SetCompletedTimestamp(std::move(value)); return *this;}
104 private:
105
106 Aws::String m_jobId;
107 bool m_jobIdHasBeenSet = false;
108
109 ExportSourceType m_exportSourceType;
110 bool m_exportSourceTypeHasBeenSet = false;
111
112 JobStatus m_jobStatus;
113 bool m_jobStatusHasBeenSet = false;
114
115 Aws::Utils::DateTime m_createdTimestamp;
116 bool m_createdTimestampHasBeenSet = false;
117
118 Aws::Utils::DateTime m_completedTimestamp;
119 bool m_completedTimestampHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace SESV2
124} // namespace Aws
ExportJobSummary & WithExportSourceType(const ExportSourceType &value)
ExportJobSummary & WithJobId(const Aws::String &value)
void SetCompletedTimestamp(const Aws::Utils::DateTime &value)
void SetExportSourceType(const ExportSourceType &value)
void SetJobStatus(JobStatus &&value)
ExportJobSummary & WithCompletedTimestamp(Aws::Utils::DateTime &&value)
ExportJobSummary & WithJobStatus(JobStatus &&value)
ExportJobSummary & WithJobId(Aws::String &&value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
ExportJobSummary & WithJobId(const char *value)
void SetCompletedTimestamp(Aws::Utils::DateTime &&value)
void SetExportSourceType(ExportSourceType &&value)
ExportJobSummary & WithCompletedTimestamp(const Aws::Utils::DateTime &value)
const Aws::String & GetJobId() const
const ExportSourceType & GetExportSourceType() const
ExportJobSummary & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
ExportJobSummary & WithExportSourceType(ExportSourceType &&value)
void SetJobStatus(const JobStatus &value)
ExportJobSummary & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCompletedTimestamp() const
AWS_SESV2_API ExportJobSummary(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
const JobStatus & GetJobStatus() const
void SetJobId(Aws::String &&value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
ExportJobSummary & WithJobStatus(const JobStatus &value)
void SetJobId(const Aws::String &value)
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