AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConfigExportDeliveryInfo.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/model/DeliveryStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ConfigService
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_CONFIGSERVICE_API ConfigExportDeliveryInfo();
40 AWS_CONFIGSERVICE_API ConfigExportDeliveryInfo(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const DeliveryStatus& GetLastStatus() const{ return m_lastStatus; }
50 inline bool LastStatusHasBeenSet() const { return m_lastStatusHasBeenSet; }
51 inline void SetLastStatus(const DeliveryStatus& value) { m_lastStatusHasBeenSet = true; m_lastStatus = value; }
52 inline void SetLastStatus(DeliveryStatus&& value) { m_lastStatusHasBeenSet = true; m_lastStatus = std::move(value); }
53 inline ConfigExportDeliveryInfo& WithLastStatus(const DeliveryStatus& value) { SetLastStatus(value); return *this;}
54 inline ConfigExportDeliveryInfo& WithLastStatus(DeliveryStatus&& value) { SetLastStatus(std::move(value)); return *this;}
56
58
61 inline const Aws::String& GetLastErrorCode() const{ return m_lastErrorCode; }
62 inline bool LastErrorCodeHasBeenSet() const { return m_lastErrorCodeHasBeenSet; }
63 inline void SetLastErrorCode(const Aws::String& value) { m_lastErrorCodeHasBeenSet = true; m_lastErrorCode = value; }
64 inline void SetLastErrorCode(Aws::String&& value) { m_lastErrorCodeHasBeenSet = true; m_lastErrorCode = std::move(value); }
65 inline void SetLastErrorCode(const char* value) { m_lastErrorCodeHasBeenSet = true; m_lastErrorCode.assign(value); }
66 inline ConfigExportDeliveryInfo& WithLastErrorCode(const Aws::String& value) { SetLastErrorCode(value); return *this;}
67 inline ConfigExportDeliveryInfo& WithLastErrorCode(Aws::String&& value) { SetLastErrorCode(std::move(value)); return *this;}
68 inline ConfigExportDeliveryInfo& WithLastErrorCode(const char* value) { SetLastErrorCode(value); return *this;}
70
72
75 inline const Aws::String& GetLastErrorMessage() const{ return m_lastErrorMessage; }
76 inline bool LastErrorMessageHasBeenSet() const { return m_lastErrorMessageHasBeenSet; }
77 inline void SetLastErrorMessage(const Aws::String& value) { m_lastErrorMessageHasBeenSet = true; m_lastErrorMessage = value; }
78 inline void SetLastErrorMessage(Aws::String&& value) { m_lastErrorMessageHasBeenSet = true; m_lastErrorMessage = std::move(value); }
79 inline void SetLastErrorMessage(const char* value) { m_lastErrorMessageHasBeenSet = true; m_lastErrorMessage.assign(value); }
81 inline ConfigExportDeliveryInfo& WithLastErrorMessage(Aws::String&& value) { SetLastErrorMessage(std::move(value)); return *this;}
82 inline ConfigExportDeliveryInfo& WithLastErrorMessage(const char* value) { SetLastErrorMessage(value); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetLastAttemptTime() const{ return m_lastAttemptTime; }
90 inline bool LastAttemptTimeHasBeenSet() const { return m_lastAttemptTimeHasBeenSet; }
91 inline void SetLastAttemptTime(const Aws::Utils::DateTime& value) { m_lastAttemptTimeHasBeenSet = true; m_lastAttemptTime = value; }
92 inline void SetLastAttemptTime(Aws::Utils::DateTime&& value) { m_lastAttemptTimeHasBeenSet = true; m_lastAttemptTime = std::move(value); }
94 inline ConfigExportDeliveryInfo& WithLastAttemptTime(Aws::Utils::DateTime&& value) { SetLastAttemptTime(std::move(value)); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetLastSuccessfulTime() const{ return m_lastSuccessfulTime; }
102 inline bool LastSuccessfulTimeHasBeenSet() const { return m_lastSuccessfulTimeHasBeenSet; }
103 inline void SetLastSuccessfulTime(const Aws::Utils::DateTime& value) { m_lastSuccessfulTimeHasBeenSet = true; m_lastSuccessfulTime = value; }
104 inline void SetLastSuccessfulTime(Aws::Utils::DateTime&& value) { m_lastSuccessfulTimeHasBeenSet = true; m_lastSuccessfulTime = std::move(value); }
108
110
113 inline const Aws::Utils::DateTime& GetNextDeliveryTime() const{ return m_nextDeliveryTime; }
114 inline bool NextDeliveryTimeHasBeenSet() const { return m_nextDeliveryTimeHasBeenSet; }
115 inline void SetNextDeliveryTime(const Aws::Utils::DateTime& value) { m_nextDeliveryTimeHasBeenSet = true; m_nextDeliveryTime = value; }
116 inline void SetNextDeliveryTime(Aws::Utils::DateTime&& value) { m_nextDeliveryTimeHasBeenSet = true; m_nextDeliveryTime = std::move(value); }
120 private:
121
122 DeliveryStatus m_lastStatus;
123 bool m_lastStatusHasBeenSet = false;
124
125 Aws::String m_lastErrorCode;
126 bool m_lastErrorCodeHasBeenSet = false;
127
128 Aws::String m_lastErrorMessage;
129 bool m_lastErrorMessageHasBeenSet = false;
130
131 Aws::Utils::DateTime m_lastAttemptTime;
132 bool m_lastAttemptTimeHasBeenSet = false;
133
134 Aws::Utils::DateTime m_lastSuccessfulTime;
135 bool m_lastSuccessfulTimeHasBeenSet = false;
136
137 Aws::Utils::DateTime m_nextDeliveryTime;
138 bool m_nextDeliveryTimeHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace ConfigService
143} // namespace Aws
ConfigExportDeliveryInfo & WithLastAttemptTime(const Aws::Utils::DateTime &value)
ConfigExportDeliveryInfo & WithLastErrorCode(const Aws::String &value)
ConfigExportDeliveryInfo & WithNextDeliveryTime(Aws::Utils::DateTime &&value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ConfigExportDeliveryInfo & WithLastSuccessfulTime(Aws::Utils::DateTime &&value)
ConfigExportDeliveryInfo & WithLastSuccessfulTime(const Aws::Utils::DateTime &value)
ConfigExportDeliveryInfo & WithLastErrorMessage(const char *value)
void SetLastSuccessfulTime(const Aws::Utils::DateTime &value)
void SetNextDeliveryTime(const Aws::Utils::DateTime &value)
ConfigExportDeliveryInfo & WithLastStatus(const DeliveryStatus &value)
ConfigExportDeliveryInfo & WithLastErrorMessage(const Aws::String &value)
ConfigExportDeliveryInfo & WithNextDeliveryTime(const Aws::Utils::DateTime &value)
ConfigExportDeliveryInfo & WithLastStatus(DeliveryStatus &&value)
AWS_CONFIGSERVICE_API ConfigExportDeliveryInfo(Aws::Utils::Json::JsonView jsonValue)
ConfigExportDeliveryInfo & WithLastErrorCode(const char *value)
ConfigExportDeliveryInfo & WithLastErrorMessage(Aws::String &&value)
AWS_CONFIGSERVICE_API ConfigExportDeliveryInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfigExportDeliveryInfo & WithLastAttemptTime(Aws::Utils::DateTime &&value)
void SetLastAttemptTime(const Aws::Utils::DateTime &value)
ConfigExportDeliveryInfo & WithLastErrorCode(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue