AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UserPausedDetails.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Macie2
23{
24namespace Model
25{
26
39 {
40 public:
41 AWS_MACIE2_API UserPausedDetails();
44 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
52 inline const Aws::Utils::DateTime& GetJobExpiresAt() const{ return m_jobExpiresAt; }
53 inline bool JobExpiresAtHasBeenSet() const { return m_jobExpiresAtHasBeenSet; }
54 inline void SetJobExpiresAt(const Aws::Utils::DateTime& value) { m_jobExpiresAtHasBeenSet = true; m_jobExpiresAt = value; }
55 inline void SetJobExpiresAt(Aws::Utils::DateTime&& value) { m_jobExpiresAtHasBeenSet = true; m_jobExpiresAt = std::move(value); }
56 inline UserPausedDetails& WithJobExpiresAt(const Aws::Utils::DateTime& value) { SetJobExpiresAt(value); return *this;}
57 inline UserPausedDetails& WithJobExpiresAt(Aws::Utils::DateTime&& value) { SetJobExpiresAt(std::move(value)); return *this;}
59
61
66 inline const Aws::String& GetJobImminentExpirationHealthEventArn() const{ return m_jobImminentExpirationHealthEventArn; }
67 inline bool JobImminentExpirationHealthEventArnHasBeenSet() const { return m_jobImminentExpirationHealthEventArnHasBeenSet; }
68 inline void SetJobImminentExpirationHealthEventArn(const Aws::String& value) { m_jobImminentExpirationHealthEventArnHasBeenSet = true; m_jobImminentExpirationHealthEventArn = value; }
69 inline void SetJobImminentExpirationHealthEventArn(Aws::String&& value) { m_jobImminentExpirationHealthEventArnHasBeenSet = true; m_jobImminentExpirationHealthEventArn = std::move(value); }
70 inline void SetJobImminentExpirationHealthEventArn(const char* value) { m_jobImminentExpirationHealthEventArnHasBeenSet = true; m_jobImminentExpirationHealthEventArn.assign(value); }
75
77
81 inline const Aws::Utils::DateTime& GetJobPausedAt() const{ return m_jobPausedAt; }
82 inline bool JobPausedAtHasBeenSet() const { return m_jobPausedAtHasBeenSet; }
83 inline void SetJobPausedAt(const Aws::Utils::DateTime& value) { m_jobPausedAtHasBeenSet = true; m_jobPausedAt = value; }
84 inline void SetJobPausedAt(Aws::Utils::DateTime&& value) { m_jobPausedAtHasBeenSet = true; m_jobPausedAt = std::move(value); }
85 inline UserPausedDetails& WithJobPausedAt(const Aws::Utils::DateTime& value) { SetJobPausedAt(value); return *this;}
86 inline UserPausedDetails& WithJobPausedAt(Aws::Utils::DateTime&& value) { SetJobPausedAt(std::move(value)); return *this;}
88 private:
89
90 Aws::Utils::DateTime m_jobExpiresAt;
91 bool m_jobExpiresAtHasBeenSet = false;
92
93 Aws::String m_jobImminentExpirationHealthEventArn;
94 bool m_jobImminentExpirationHealthEventArnHasBeenSet = false;
95
96 Aws::Utils::DateTime m_jobPausedAt;
97 bool m_jobPausedAtHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Macie2
102} // namespace Aws
UserPausedDetails & WithJobImminentExpirationHealthEventArn(Aws::String &&value)
UserPausedDetails & WithJobExpiresAt(Aws::Utils::DateTime &&value)
AWS_MACIE2_API UserPausedDetails(Aws::Utils::Json::JsonView jsonValue)
void SetJobPausedAt(const Aws::Utils::DateTime &value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetJobExpiresAt() const
void SetJobImminentExpirationHealthEventArn(Aws::String &&value)
void SetJobImminentExpirationHealthEventArn(const char *value)
UserPausedDetails & WithJobPausedAt(const Aws::Utils::DateTime &value)
UserPausedDetails & WithJobPausedAt(Aws::Utils::DateTime &&value)
UserPausedDetails & WithJobExpiresAt(const Aws::Utils::DateTime &value)
void SetJobExpiresAt(Aws::Utils::DateTime &&value)
AWS_MACIE2_API UserPausedDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetJobPausedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetJobPausedAt() const
const Aws::String & GetJobImminentExpirationHealthEventArn() const
UserPausedDetails & WithJobImminentExpirationHealthEventArn(const char *value)
void SetJobExpiresAt(const Aws::Utils::DateTime &value)
void SetJobImminentExpirationHealthEventArn(const Aws::String &value)
UserPausedDetails & WithJobImminentExpirationHealthEventArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue