AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IngestionStatus.h
1
6#pragma once
7#include <aws/cloudtrail/CloudTrail_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 CloudTrail
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CLOUDTRAIL_API IngestionStatus();
37 AWS_CLOUDTRAIL_API IngestionStatus(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Utils::DateTime& GetLatestIngestionSuccessTime() const{ return m_latestIngestionSuccessTime; }
48 inline bool LatestIngestionSuccessTimeHasBeenSet() const { return m_latestIngestionSuccessTimeHasBeenSet; }
49 inline void SetLatestIngestionSuccessTime(const Aws::Utils::DateTime& value) { m_latestIngestionSuccessTimeHasBeenSet = true; m_latestIngestionSuccessTime = value; }
50 inline void SetLatestIngestionSuccessTime(Aws::Utils::DateTime&& value) { m_latestIngestionSuccessTimeHasBeenSet = true; m_latestIngestionSuccessTime = std::move(value); }
54
56
59 inline const Aws::String& GetLatestIngestionSuccessEventID() const{ return m_latestIngestionSuccessEventID; }
60 inline bool LatestIngestionSuccessEventIDHasBeenSet() const { return m_latestIngestionSuccessEventIDHasBeenSet; }
61 inline void SetLatestIngestionSuccessEventID(const Aws::String& value) { m_latestIngestionSuccessEventIDHasBeenSet = true; m_latestIngestionSuccessEventID = value; }
62 inline void SetLatestIngestionSuccessEventID(Aws::String&& value) { m_latestIngestionSuccessEventIDHasBeenSet = true; m_latestIngestionSuccessEventID = std::move(value); }
63 inline void SetLatestIngestionSuccessEventID(const char* value) { m_latestIngestionSuccessEventIDHasBeenSet = true; m_latestIngestionSuccessEventID.assign(value); }
68
70
73 inline const Aws::String& GetLatestIngestionErrorCode() const{ return m_latestIngestionErrorCode; }
74 inline bool LatestIngestionErrorCodeHasBeenSet() const { return m_latestIngestionErrorCodeHasBeenSet; }
75 inline void SetLatestIngestionErrorCode(const Aws::String& value) { m_latestIngestionErrorCodeHasBeenSet = true; m_latestIngestionErrorCode = value; }
76 inline void SetLatestIngestionErrorCode(Aws::String&& value) { m_latestIngestionErrorCodeHasBeenSet = true; m_latestIngestionErrorCode = std::move(value); }
77 inline void SetLatestIngestionErrorCode(const char* value) { m_latestIngestionErrorCodeHasBeenSet = true; m_latestIngestionErrorCode.assign(value); }
79 inline IngestionStatus& WithLatestIngestionErrorCode(Aws::String&& value) { SetLatestIngestionErrorCode(std::move(value)); return *this;}
80 inline IngestionStatus& WithLatestIngestionErrorCode(const char* value) { SetLatestIngestionErrorCode(value); return *this;}
82
84
88 inline const Aws::Utils::DateTime& GetLatestIngestionAttemptTime() const{ return m_latestIngestionAttemptTime; }
89 inline bool LatestIngestionAttemptTimeHasBeenSet() const { return m_latestIngestionAttemptTimeHasBeenSet; }
90 inline void SetLatestIngestionAttemptTime(const Aws::Utils::DateTime& value) { m_latestIngestionAttemptTimeHasBeenSet = true; m_latestIngestionAttemptTime = value; }
91 inline void SetLatestIngestionAttemptTime(Aws::Utils::DateTime&& value) { m_latestIngestionAttemptTimeHasBeenSet = true; m_latestIngestionAttemptTime = std::move(value); }
95
97
100 inline const Aws::String& GetLatestIngestionAttemptEventID() const{ return m_latestIngestionAttemptEventID; }
101 inline bool LatestIngestionAttemptEventIDHasBeenSet() const { return m_latestIngestionAttemptEventIDHasBeenSet; }
102 inline void SetLatestIngestionAttemptEventID(const Aws::String& value) { m_latestIngestionAttemptEventIDHasBeenSet = true; m_latestIngestionAttemptEventID = value; }
103 inline void SetLatestIngestionAttemptEventID(Aws::String&& value) { m_latestIngestionAttemptEventIDHasBeenSet = true; m_latestIngestionAttemptEventID = std::move(value); }
104 inline void SetLatestIngestionAttemptEventID(const char* value) { m_latestIngestionAttemptEventIDHasBeenSet = true; m_latestIngestionAttemptEventID.assign(value); }
109 private:
110
111 Aws::Utils::DateTime m_latestIngestionSuccessTime;
112 bool m_latestIngestionSuccessTimeHasBeenSet = false;
113
114 Aws::String m_latestIngestionSuccessEventID;
115 bool m_latestIngestionSuccessEventIDHasBeenSet = false;
116
117 Aws::String m_latestIngestionErrorCode;
118 bool m_latestIngestionErrorCodeHasBeenSet = false;
119
120 Aws::Utils::DateTime m_latestIngestionAttemptTime;
121 bool m_latestIngestionAttemptTimeHasBeenSet = false;
122
123 Aws::String m_latestIngestionAttemptEventID;
124 bool m_latestIngestionAttemptEventIDHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace CloudTrail
129} // namespace Aws
void SetLatestIngestionSuccessEventID(const Aws::String &value)
IngestionStatus & WithLatestIngestionSuccessEventID(const Aws::String &value)
void SetLatestIngestionSuccessTime(Aws::Utils::DateTime &&value)
void SetLatestIngestionSuccessEventID(Aws::String &&value)
IngestionStatus & WithLatestIngestionAttemptTime(Aws::Utils::DateTime &&value)
void SetLatestIngestionSuccessEventID(const char *value)
IngestionStatus & WithLatestIngestionAttemptTime(const Aws::Utils::DateTime &value)
IngestionStatus & WithLatestIngestionSuccessEventID(Aws::String &&value)
IngestionStatus & WithLatestIngestionSuccessTime(Aws::Utils::DateTime &&value)
void SetLatestIngestionAttemptEventID(const char *value)
IngestionStatus & WithLatestIngestionAttemptEventID(const char *value)
void SetLatestIngestionAttemptEventID(Aws::String &&value)
IngestionStatus & WithLatestIngestionSuccessEventID(const char *value)
AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLatestIngestionAttemptTime(const Aws::Utils::DateTime &value)
const Aws::String & GetLatestIngestionSuccessEventID() const
void SetLatestIngestionErrorCode(Aws::String &&value)
void SetLatestIngestionAttemptEventID(const Aws::String &value)
const Aws::String & GetLatestIngestionErrorCode() const
AWS_CLOUDTRAIL_API IngestionStatus(Aws::Utils::Json::JsonView jsonValue)
IngestionStatus & WithLatestIngestionAttemptEventID(Aws::String &&value)
IngestionStatus & WithLatestIngestionErrorCode(const char *value)
void SetLatestIngestionAttemptTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLatestIngestionSuccessTime() const
AWS_CLOUDTRAIL_API IngestionStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
IngestionStatus & WithLatestIngestionSuccessTime(const Aws::Utils::DateTime &value)
IngestionStatus & WithLatestIngestionErrorCode(const Aws::String &value)
IngestionStatus & WithLatestIngestionAttemptEventID(const Aws::String &value)
void SetLatestIngestionErrorCode(const char *value)
void SetLatestIngestionSuccessTime(const Aws::Utils::DateTime &value)
void SetLatestIngestionErrorCode(const Aws::String &value)
const Aws::String & GetLatestIngestionAttemptEventID() const
const Aws::Utils::DateTime & GetLatestIngestionAttemptTime() const
IngestionStatus & WithLatestIngestionErrorCode(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue