AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
DescribeInsightsRefreshResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/eks/EKS_EXPORTS.h>
11#include <aws/eks/model/InsightsRefreshStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace EKS {
25namespace Model {
27 public:
28 AWS_EKS_API DescribeInsightsRefreshResult() = default;
31
33
36 inline const Aws::String& GetMessage() const { return m_message; }
37 template <typename MessageT = Aws::String>
38 void SetMessage(MessageT&& value) {
39 m_messageHasBeenSet = true;
40 m_message = std::forward<MessageT>(value);
41 }
42 template <typename MessageT = Aws::String>
44 SetMessage(std::forward<MessageT>(value));
45 return *this;
46 }
48
50
53 inline InsightsRefreshStatus GetStatus() const { return m_status; }
54 inline void SetStatus(InsightsRefreshStatus value) {
55 m_statusHasBeenSet = true;
56 m_status = value;
57 }
59 SetStatus(value);
60 return *this;
61 }
63
65
68 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
69 template <typename StartedAtT = Aws::Utils::DateTime>
70 void SetStartedAt(StartedAtT&& value) {
71 m_startedAtHasBeenSet = true;
72 m_startedAt = std::forward<StartedAtT>(value);
73 }
74 template <typename StartedAtT = Aws::Utils::DateTime>
76 SetStartedAt(std::forward<StartedAtT>(value));
77 return *this;
78 }
80
82
85 inline const Aws::Utils::DateTime& GetEndedAt() const { return m_endedAt; }
86 template <typename EndedAtT = Aws::Utils::DateTime>
87 void SetEndedAt(EndedAtT&& value) {
88 m_endedAtHasBeenSet = true;
89 m_endedAt = std::forward<EndedAtT>(value);
90 }
91 template <typename EndedAtT = Aws::Utils::DateTime>
93 SetEndedAt(std::forward<EndedAtT>(value));
94 return *this;
95 }
97
99
100 inline const Aws::String& GetRequestId() const { return m_requestId; }
101 template <typename RequestIdT = Aws::String>
102 void SetRequestId(RequestIdT&& value) {
103 m_requestIdHasBeenSet = true;
104 m_requestId = std::forward<RequestIdT>(value);
105 }
106 template <typename RequestIdT = Aws::String>
108 SetRequestId(std::forward<RequestIdT>(value));
109 return *this;
110 }
112 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
113
114 private:
115 Aws::String m_message;
116
118
119 Aws::Utils::DateTime m_startedAt{};
120
121 Aws::Utils::DateTime m_endedAt{};
122
123 Aws::String m_requestId;
124 Aws::Http::HttpResponseCode m_HttpResponseCode;
125 bool m_messageHasBeenSet = false;
126 bool m_statusHasBeenSet = false;
127 bool m_startedAtHasBeenSet = false;
128 bool m_endedAtHasBeenSet = false;
129 bool m_requestIdHasBeenSet = false;
130};
131
132} // namespace Model
133} // namespace EKS
134} // namespace Aws
DescribeInsightsRefreshResult & WithMessage(MessageT &&value)
DescribeInsightsRefreshResult & WithRequestId(RequestIdT &&value)
DescribeInsightsRefreshResult & WithEndedAt(EndedAtT &&value)
AWS_EKS_API DescribeInsightsRefreshResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_EKS_API DescribeInsightsRefreshResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeInsightsRefreshResult & WithStatus(InsightsRefreshStatus value)
DescribeInsightsRefreshResult & WithStartedAt(StartedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue