AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportJobSummary.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/ImportDestination.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 ImportJobSummary();
40 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
45 inline const Aws::String& GetJobId() const{ return m_jobId; }
46 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
47 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
48 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
49 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
50 inline ImportJobSummary& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
51 inline ImportJobSummary& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
52 inline ImportJobSummary& WithJobId(const char* value) { SetJobId(value); return *this;}
54
56
57 inline const ImportDestination& GetImportDestination() const{ return m_importDestination; }
58 inline bool ImportDestinationHasBeenSet() const { return m_importDestinationHasBeenSet; }
59 inline void SetImportDestination(const ImportDestination& value) { m_importDestinationHasBeenSet = true; m_importDestination = value; }
60 inline void SetImportDestination(ImportDestination&& value) { m_importDestinationHasBeenSet = true; m_importDestination = std::move(value); }
62 inline ImportJobSummary& WithImportDestination(ImportDestination&& value) { SetImportDestination(std::move(value)); return *this;}
64
66
67 inline const JobStatus& GetJobStatus() const{ return m_jobStatus; }
68 inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
69 inline void SetJobStatus(const JobStatus& value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
70 inline void SetJobStatus(JobStatus&& value) { m_jobStatusHasBeenSet = true; m_jobStatus = std::move(value); }
71 inline ImportJobSummary& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;}
72 inline ImportJobSummary& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
74
76
79 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
80 inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
81 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; }
82 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); }
84 inline ImportJobSummary& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
86
88
91 inline int GetProcessedRecordsCount() const{ return m_processedRecordsCount; }
92 inline bool ProcessedRecordsCountHasBeenSet() const { return m_processedRecordsCountHasBeenSet; }
93 inline void SetProcessedRecordsCount(int value) { m_processedRecordsCountHasBeenSet = true; m_processedRecordsCount = value; }
94 inline ImportJobSummary& WithProcessedRecordsCount(int value) { SetProcessedRecordsCount(value); return *this;}
96
98
102 inline int GetFailedRecordsCount() const{ return m_failedRecordsCount; }
103 inline bool FailedRecordsCountHasBeenSet() const { return m_failedRecordsCountHasBeenSet; }
104 inline void SetFailedRecordsCount(int value) { m_failedRecordsCountHasBeenSet = true; m_failedRecordsCount = value; }
105 inline ImportJobSummary& WithFailedRecordsCount(int value) { SetFailedRecordsCount(value); return *this;}
107 private:
108
109 Aws::String m_jobId;
110 bool m_jobIdHasBeenSet = false;
111
112 ImportDestination m_importDestination;
113 bool m_importDestinationHasBeenSet = false;
114
115 JobStatus m_jobStatus;
116 bool m_jobStatusHasBeenSet = false;
117
118 Aws::Utils::DateTime m_createdTimestamp;
119 bool m_createdTimestampHasBeenSet = false;
120
121 int m_processedRecordsCount;
122 bool m_processedRecordsCountHasBeenSet = false;
123
124 int m_failedRecordsCount;
125 bool m_failedRecordsCountHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace SESV2
130} // namespace Aws
ImportJobSummary & WithFailedRecordsCount(int value)
ImportJobSummary & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
void SetJobStatus(const JobStatus &value)
void SetImportDestination(const ImportDestination &value)
void SetJobId(Aws::String &&value)
void SetImportDestination(ImportDestination &&value)
ImportJobSummary & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
void SetJobStatus(JobStatus &&value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
const ImportDestination & GetImportDestination() const
const Aws::String & GetJobId() const
ImportJobSummary & WithImportDestination(const ImportDestination &value)
ImportJobSummary & WithJobStatus(JobStatus &&value)
AWS_SESV2_API ImportJobSummary(Aws::Utils::Json::JsonView jsonValue)
void SetJobId(const Aws::String &value)
ImportJobSummary & WithJobId(const char *value)
ImportJobSummary & WithProcessedRecordsCount(int value)
const JobStatus & GetJobStatus() const
ImportJobSummary & WithJobId(const Aws::String &value)
ImportJobSummary & WithImportDestination(ImportDestination &&value)
ImportJobSummary & WithJobStatus(const JobStatus &value)
ImportJobSummary & WithJobId(Aws::String &&value)
AWS_SESV2_API ImportJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue