AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobDetails.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/IsDefinedInJob.h>
9#include <aws/macie2/model/IsMonitoredByJob.h>
10#include <aws/core/utils/memory/stl/AWSString.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 Macie2
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_MACIE2_API JobDetails();
40 AWS_MACIE2_API JobDetails(Aws::Utils::Json::JsonView jsonValue);
42 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
60 inline const IsDefinedInJob& GetIsDefinedInJob() const{ return m_isDefinedInJob; }
61 inline bool IsDefinedInJobHasBeenSet() const { return m_isDefinedInJobHasBeenSet; }
62 inline void SetIsDefinedInJob(const IsDefinedInJob& value) { m_isDefinedInJobHasBeenSet = true; m_isDefinedInJob = value; }
63 inline void SetIsDefinedInJob(IsDefinedInJob&& value) { m_isDefinedInJobHasBeenSet = true; m_isDefinedInJob = std::move(value); }
64 inline JobDetails& WithIsDefinedInJob(const IsDefinedInJob& value) { SetIsDefinedInJob(value); return *this;}
65 inline JobDetails& WithIsDefinedInJob(IsDefinedInJob&& value) { SetIsDefinedInJob(std::move(value)); return *this;}
67
69
83 inline const IsMonitoredByJob& GetIsMonitoredByJob() const{ return m_isMonitoredByJob; }
84 inline bool IsMonitoredByJobHasBeenSet() const { return m_isMonitoredByJobHasBeenSet; }
85 inline void SetIsMonitoredByJob(const IsMonitoredByJob& value) { m_isMonitoredByJobHasBeenSet = true; m_isMonitoredByJob = value; }
86 inline void SetIsMonitoredByJob(IsMonitoredByJob&& value) { m_isMonitoredByJobHasBeenSet = true; m_isMonitoredByJob = std::move(value); }
87 inline JobDetails& WithIsMonitoredByJob(const IsMonitoredByJob& value) { SetIsMonitoredByJob(value); return *this;}
88 inline JobDetails& WithIsMonitoredByJob(IsMonitoredByJob&& value) { SetIsMonitoredByJob(std::move(value)); return *this;}
90
92
98 inline const Aws::String& GetLastJobId() const{ return m_lastJobId; }
99 inline bool LastJobIdHasBeenSet() const { return m_lastJobIdHasBeenSet; }
100 inline void SetLastJobId(const Aws::String& value) { m_lastJobIdHasBeenSet = true; m_lastJobId = value; }
101 inline void SetLastJobId(Aws::String&& value) { m_lastJobIdHasBeenSet = true; m_lastJobId = std::move(value); }
102 inline void SetLastJobId(const char* value) { m_lastJobIdHasBeenSet = true; m_lastJobId.assign(value); }
103 inline JobDetails& WithLastJobId(const Aws::String& value) { SetLastJobId(value); return *this;}
104 inline JobDetails& WithLastJobId(Aws::String&& value) { SetLastJobId(std::move(value)); return *this;}
105 inline JobDetails& WithLastJobId(const char* value) { SetLastJobId(value); return *this;}
107
109
115 inline const Aws::Utils::DateTime& GetLastJobRunTime() const{ return m_lastJobRunTime; }
116 inline bool LastJobRunTimeHasBeenSet() const { return m_lastJobRunTimeHasBeenSet; }
117 inline void SetLastJobRunTime(const Aws::Utils::DateTime& value) { m_lastJobRunTimeHasBeenSet = true; m_lastJobRunTime = value; }
118 inline void SetLastJobRunTime(Aws::Utils::DateTime&& value) { m_lastJobRunTimeHasBeenSet = true; m_lastJobRunTime = std::move(value); }
119 inline JobDetails& WithLastJobRunTime(const Aws::Utils::DateTime& value) { SetLastJobRunTime(value); return *this;}
120 inline JobDetails& WithLastJobRunTime(Aws::Utils::DateTime&& value) { SetLastJobRunTime(std::move(value)); return *this;}
122 private:
123
124 IsDefinedInJob m_isDefinedInJob;
125 bool m_isDefinedInJobHasBeenSet = false;
126
127 IsMonitoredByJob m_isMonitoredByJob;
128 bool m_isMonitoredByJobHasBeenSet = false;
129
130 Aws::String m_lastJobId;
131 bool m_lastJobIdHasBeenSet = false;
132
133 Aws::Utils::DateTime m_lastJobRunTime;
134 bool m_lastJobRunTimeHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace Macie2
139} // namespace Aws
void SetIsDefinedInJob(IsDefinedInJob &&value)
Definition JobDetails.h:63
JobDetails & WithLastJobRunTime(const Aws::Utils::DateTime &value)
Definition JobDetails.h:119
const Aws::Utils::DateTime & GetLastJobRunTime() const
Definition JobDetails.h:115
const IsMonitoredByJob & GetIsMonitoredByJob() const
Definition JobDetails.h:83
JobDetails & WithLastJobId(const char *value)
Definition JobDetails.h:105
JobDetails & WithIsMonitoredByJob(IsMonitoredByJob &&value)
Definition JobDetails.h:88
void SetIsDefinedInJob(const IsDefinedInJob &value)
Definition JobDetails.h:62
JobDetails & WithIsMonitoredByJob(const IsMonitoredByJob &value)
Definition JobDetails.h:87
void SetLastJobRunTime(const Aws::Utils::DateTime &value)
Definition JobDetails.h:117
bool IsDefinedInJobHasBeenSet() const
Definition JobDetails.h:61
JobDetails & WithLastJobId(Aws::String &&value)
Definition JobDetails.h:104
void SetIsMonitoredByJob(const IsMonitoredByJob &value)
Definition JobDetails.h:85
bool LastJobRunTimeHasBeenSet() const
Definition JobDetails.h:116
AWS_MACIE2_API JobDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastJobRunTime(Aws::Utils::DateTime &&value)
Definition JobDetails.h:118
bool IsMonitoredByJobHasBeenSet() const
Definition JobDetails.h:84
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MACIE2_API JobDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLastJobId() const
Definition JobDetails.h:98
JobDetails & WithIsDefinedInJob(const IsDefinedInJob &value)
Definition JobDetails.h:64
void SetLastJobId(Aws::String &&value)
Definition JobDetails.h:101
void SetLastJobId(const char *value)
Definition JobDetails.h:102
void SetIsMonitoredByJob(IsMonitoredByJob &&value)
Definition JobDetails.h:86
JobDetails & WithLastJobId(const Aws::String &value)
Definition JobDetails.h:103
const IsDefinedInJob & GetIsDefinedInJob() const
Definition JobDetails.h:60
void SetLastJobId(const Aws::String &value)
Definition JobDetails.h:100
JobDetails & WithLastJobRunTime(Aws::Utils::DateTime &&value)
Definition JobDetails.h:120
JobDetails & WithIsDefinedInJob(IsDefinedInJob &&value)
Definition JobDetails.h:65
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue