AWS SDK for C++  1.9.155
AWS SDK for C++
ImportJobSummary.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace SESV2
25 {
26 namespace Model
27 {
28 
35  {
36  public:
41 
42 
43 
44  inline const Aws::String& GetJobId() const{ return m_jobId; }
45 
46 
47  inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
48 
49 
50  inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
51 
52 
53  inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
54 
55 
56  inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
57 
58 
59  inline ImportJobSummary& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
60 
61 
62  inline ImportJobSummary& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
63 
64 
65  inline ImportJobSummary& WithJobId(const char* value) { SetJobId(value); return *this;}
66 
67 
68 
69  inline const ImportDestination& GetImportDestination() const{ return m_importDestination; }
70 
71 
72  inline bool ImportDestinationHasBeenSet() const { return m_importDestinationHasBeenSet; }
73 
74 
75  inline void SetImportDestination(const ImportDestination& value) { m_importDestinationHasBeenSet = true; m_importDestination = value; }
76 
77 
78  inline void SetImportDestination(ImportDestination&& value) { m_importDestinationHasBeenSet = true; m_importDestination = std::move(value); }
79 
80 
81  inline ImportJobSummary& WithImportDestination(const ImportDestination& value) { SetImportDestination(value); return *this;}
82 
83 
84  inline ImportJobSummary& WithImportDestination(ImportDestination&& value) { SetImportDestination(std::move(value)); return *this;}
85 
86 
87 
88  inline const JobStatus& GetJobStatus() const{ return m_jobStatus; }
89 
90 
91  inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
92 
93 
94  inline void SetJobStatus(const JobStatus& value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
95 
96 
97  inline void SetJobStatus(JobStatus&& value) { m_jobStatusHasBeenSet = true; m_jobStatus = std::move(value); }
98 
99 
100  inline ImportJobSummary& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;}
101 
102 
103  inline ImportJobSummary& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
104 
105 
109  inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
110 
114  inline bool CreatedTimestampHasBeenSet() const { return m_createdTimestampHasBeenSet; }
115 
119  inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = value; }
120 
124  inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestampHasBeenSet = true; m_createdTimestamp = std::move(value); }
125 
129  inline ImportJobSummary& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;}
130 
134  inline ImportJobSummary& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
135 
136  private:
137 
138  Aws::String m_jobId;
139  bool m_jobIdHasBeenSet;
140 
141  ImportDestination m_importDestination;
142  bool m_importDestinationHasBeenSet;
143 
144  JobStatus m_jobStatus;
145  bool m_jobStatusHasBeenSet;
146 
147  Aws::Utils::DateTime m_createdTimestamp;
148  bool m_createdTimestampHasBeenSet;
149  };
150 
151 } // namespace Model
152 } // namespace SESV2
153 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SESV2::Model::ImportDestination
Definition: ImportDestination.h:34
Aws::SESV2::Model::ImportJobSummary::WithJobId
ImportJobSummary & WithJobId(Aws::String &&value)
Definition: ImportJobSummary.h:62
Aws::SESV2::Model::ImportJobSummary::CreatedTimestampHasBeenSet
bool CreatedTimestampHasBeenSet() const
Definition: ImportJobSummary.h:114
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
JobStatus.h
ImportDestination.h
Aws::SESV2::Model::ImportJobSummary::SetJobId
void SetJobId(const Aws::String &value)
Definition: ImportJobSummary.h:50
Aws::SESV2::Model::ImportJobSummary::SetImportDestination
void SetImportDestination(const ImportDestination &value)
Definition: ImportJobSummary.h:75
Aws::SESV2::Model::ImportJobSummary::WithImportDestination
ImportJobSummary & WithImportDestination(const ImportDestination &value)
Definition: ImportJobSummary.h:81
Aws::SESV2::Model::ImportJobSummary::SetCreatedTimestamp
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
Definition: ImportJobSummary.h:119
DateTime.h
Aws::SESV2::Model::ImportJobSummary::SetJobId
void SetJobId(Aws::String &&value)
Definition: ImportJobSummary.h:53
Aws::SESV2::Model::ImportJobSummary::GetCreatedTimestamp
const Aws::Utils::DateTime & GetCreatedTimestamp() const
Definition: ImportJobSummary.h:109
Aws::SESV2::Model::ImportJobSummary::SetJobId
void SetJobId(const char *value)
Definition: ImportJobSummary.h:56
Aws::SESV2::Model::ImportJobSummary::SetCreatedTimestamp
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
Definition: ImportJobSummary.h:124
Aws::SESV2::Model::ImportJobSummary::GetJobId
const Aws::String & GetJobId() const
Definition: ImportJobSummary.h:44
Aws::SESV2::Model::ImportJobSummary::SetImportDestination
void SetImportDestination(ImportDestination &&value)
Definition: ImportJobSummary.h:78
Aws::SESV2::Model::ImportJobSummary::ImportDestinationHasBeenSet
bool ImportDestinationHasBeenSet() const
Definition: ImportJobSummary.h:72
Aws::SESV2::Model::ImportJobSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SESV2::Model::ImportJobSummary::GetImportDestination
const ImportDestination & GetImportDestination() const
Definition: ImportJobSummary.h:69
Aws::SESV2::Model::ImportJobSummary::JobIdHasBeenSet
bool JobIdHasBeenSet() const
Definition: ImportJobSummary.h:47
Aws::SESV2::Model::ImportJobSummary::JobStatusHasBeenSet
bool JobStatusHasBeenSet() const
Definition: ImportJobSummary.h:91
Aws::SESV2::Model::ImportJobSummary::WithJobId
ImportJobSummary & WithJobId(const char *value)
Definition: ImportJobSummary.h:65
Aws::SESV2::Model::ImportJobSummary::ImportJobSummary
ImportJobSummary()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SESV2::Model::JobStatus
JobStatus
Definition: JobStatus.h:17
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SESV2::Model::ImportJobSummary::WithJobStatus
ImportJobSummary & WithJobStatus(const JobStatus &value)
Definition: ImportJobSummary.h:100
SESV2_EXPORTS.h
Aws::SESV2::Model::ImportJobSummary
Definition: ImportJobSummary.h:35
Aws::SESV2::Model::ImportJobSummary::WithCreatedTimestamp
ImportJobSummary & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
Definition: ImportJobSummary.h:134
Aws::SESV2::Model::ImportJobSummary::SetJobStatus
void SetJobStatus(JobStatus &&value)
Definition: ImportJobSummary.h:97
Aws::SESV2::Model::ImportJobSummary::WithCreatedTimestamp
ImportJobSummary & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
Definition: ImportJobSummary.h:129
Aws::SESV2::Model::ImportJobSummary::WithJobId
ImportJobSummary & WithJobId(const Aws::String &value)
Definition: ImportJobSummary.h:59
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::ImportJobSummary::GetJobStatus
const JobStatus & GetJobStatus() const
Definition: ImportJobSummary.h:88
Aws::SESV2::Model::ImportJobSummary::operator=
ImportJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::ImportJobSummary::ImportJobSummary
ImportJobSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::ImportJobSummary::SetJobStatus
void SetJobStatus(const JobStatus &value)
Definition: ImportJobSummary.h:94
Aws::SESV2::Model::ImportJobSummary::WithImportDestination
ImportJobSummary & WithImportDestination(ImportDestination &&value)
Definition: ImportJobSummary.h:84
Aws::SESV2::Model::ImportJobSummary::WithJobStatus
ImportJobSummary & WithJobStatus(JobStatus &&value)
Definition: ImportJobSummary.h:103