AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename LatestIngestionSuccessTimeT = Aws::Utils::DateTime>
50 void SetLatestIngestionSuccessTime(LatestIngestionSuccessTimeT&& value) { m_latestIngestionSuccessTimeHasBeenSet = true; m_latestIngestionSuccessTime = std::forward<LatestIngestionSuccessTimeT>(value); }
51 template<typename LatestIngestionSuccessTimeT = Aws::Utils::DateTime>
52 IngestionStatus& WithLatestIngestionSuccessTime(LatestIngestionSuccessTimeT&& value) { SetLatestIngestionSuccessTime(std::forward<LatestIngestionSuccessTimeT>(value)); return *this;}
54
56
59 inline const Aws::String& GetLatestIngestionSuccessEventID() const { return m_latestIngestionSuccessEventID; }
60 inline bool LatestIngestionSuccessEventIDHasBeenSet() const { return m_latestIngestionSuccessEventIDHasBeenSet; }
61 template<typename LatestIngestionSuccessEventIDT = Aws::String>
62 void SetLatestIngestionSuccessEventID(LatestIngestionSuccessEventIDT&& value) { m_latestIngestionSuccessEventIDHasBeenSet = true; m_latestIngestionSuccessEventID = std::forward<LatestIngestionSuccessEventIDT>(value); }
63 template<typename LatestIngestionSuccessEventIDT = Aws::String>
64 IngestionStatus& WithLatestIngestionSuccessEventID(LatestIngestionSuccessEventIDT&& value) { SetLatestIngestionSuccessEventID(std::forward<LatestIngestionSuccessEventIDT>(value)); return *this;}
66
68
71 inline const Aws::String& GetLatestIngestionErrorCode() const { return m_latestIngestionErrorCode; }
72 inline bool LatestIngestionErrorCodeHasBeenSet() const { return m_latestIngestionErrorCodeHasBeenSet; }
73 template<typename LatestIngestionErrorCodeT = Aws::String>
74 void SetLatestIngestionErrorCode(LatestIngestionErrorCodeT&& value) { m_latestIngestionErrorCodeHasBeenSet = true; m_latestIngestionErrorCode = std::forward<LatestIngestionErrorCodeT>(value); }
75 template<typename LatestIngestionErrorCodeT = Aws::String>
76 IngestionStatus& WithLatestIngestionErrorCode(LatestIngestionErrorCodeT&& value) { SetLatestIngestionErrorCode(std::forward<LatestIngestionErrorCodeT>(value)); return *this;}
78
80
84 inline const Aws::Utils::DateTime& GetLatestIngestionAttemptTime() const { return m_latestIngestionAttemptTime; }
85 inline bool LatestIngestionAttemptTimeHasBeenSet() const { return m_latestIngestionAttemptTimeHasBeenSet; }
86 template<typename LatestIngestionAttemptTimeT = Aws::Utils::DateTime>
87 void SetLatestIngestionAttemptTime(LatestIngestionAttemptTimeT&& value) { m_latestIngestionAttemptTimeHasBeenSet = true; m_latestIngestionAttemptTime = std::forward<LatestIngestionAttemptTimeT>(value); }
88 template<typename LatestIngestionAttemptTimeT = Aws::Utils::DateTime>
89 IngestionStatus& WithLatestIngestionAttemptTime(LatestIngestionAttemptTimeT&& value) { SetLatestIngestionAttemptTime(std::forward<LatestIngestionAttemptTimeT>(value)); return *this;}
91
93
96 inline const Aws::String& GetLatestIngestionAttemptEventID() const { return m_latestIngestionAttemptEventID; }
97 inline bool LatestIngestionAttemptEventIDHasBeenSet() const { return m_latestIngestionAttemptEventIDHasBeenSet; }
98 template<typename LatestIngestionAttemptEventIDT = Aws::String>
99 void SetLatestIngestionAttemptEventID(LatestIngestionAttemptEventIDT&& value) { m_latestIngestionAttemptEventIDHasBeenSet = true; m_latestIngestionAttemptEventID = std::forward<LatestIngestionAttemptEventIDT>(value); }
100 template<typename LatestIngestionAttemptEventIDT = Aws::String>
101 IngestionStatus& WithLatestIngestionAttemptEventID(LatestIngestionAttemptEventIDT&& value) { SetLatestIngestionAttemptEventID(std::forward<LatestIngestionAttemptEventIDT>(value)); return *this;}
103 private:
104
105 Aws::Utils::DateTime m_latestIngestionSuccessTime{};
106 bool m_latestIngestionSuccessTimeHasBeenSet = false;
107
108 Aws::String m_latestIngestionSuccessEventID;
109 bool m_latestIngestionSuccessEventIDHasBeenSet = false;
110
111 Aws::String m_latestIngestionErrorCode;
112 bool m_latestIngestionErrorCodeHasBeenSet = false;
113
114 Aws::Utils::DateTime m_latestIngestionAttemptTime{};
115 bool m_latestIngestionAttemptTimeHasBeenSet = false;
116
117 Aws::String m_latestIngestionAttemptEventID;
118 bool m_latestIngestionAttemptEventIDHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace CloudTrail
123} // namespace Aws
IngestionStatus & WithLatestIngestionAttemptEventID(LatestIngestionAttemptEventIDT &&value)
void SetLatestIngestionSuccessTime(LatestIngestionSuccessTimeT &&value)
void SetLatestIngestionSuccessEventID(LatestIngestionSuccessEventIDT &&value)
void SetLatestIngestionAttemptTime(LatestIngestionAttemptTimeT &&value)
IngestionStatus & WithLatestIngestionAttemptTime(LatestIngestionAttemptTimeT &&value)
void SetLatestIngestionAttemptEventID(LatestIngestionAttemptEventIDT &&value)
AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetLatestIngestionSuccessEventID() const
AWS_CLOUDTRAIL_API IngestionStatus()=default
void SetLatestIngestionErrorCode(LatestIngestionErrorCodeT &&value)
const Aws::String & GetLatestIngestionErrorCode() const
AWS_CLOUDTRAIL_API IngestionStatus(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLatestIngestionSuccessTime() const
AWS_CLOUDTRAIL_API IngestionStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
IngestionStatus & WithLatestIngestionSuccessTime(LatestIngestionSuccessTimeT &&value)
IngestionStatus & WithLatestIngestionErrorCode(LatestIngestionErrorCodeT &&value)
IngestionStatus & WithLatestIngestionSuccessEventID(LatestIngestionSuccessEventIDT &&value)
const Aws::String & GetLatestIngestionAttemptEventID() const
const Aws::Utils::DateTime & GetLatestIngestionAttemptTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue