AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeInsightsRefreshResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/eks/EKS_EXPORTS.h>
10#include <aws/eks/model/InsightsRefreshStatus.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace EKS {
24namespace Model {
26 public:
27 AWS_EKS_API DescribeInsightsRefreshResult() = default;
30
32
35 inline const Aws::String& GetMessage() const { return m_message; }
36 template <typename MessageT = Aws::String>
37 void SetMessage(MessageT&& value) {
38 m_messageHasBeenSet = true;
39 m_message = std::forward<MessageT>(value);
40 }
41 template <typename MessageT = Aws::String>
43 SetMessage(std::forward<MessageT>(value));
44 return *this;
45 }
47
49
52 inline InsightsRefreshStatus GetStatus() const { return m_status; }
53 inline void SetStatus(InsightsRefreshStatus value) {
54 m_statusHasBeenSet = true;
55 m_status = value;
56 }
58 SetStatus(value);
59 return *this;
60 }
62
64
67 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
68 template <typename StartedAtT = Aws::Utils::DateTime>
69 void SetStartedAt(StartedAtT&& value) {
70 m_startedAtHasBeenSet = true;
71 m_startedAt = std::forward<StartedAtT>(value);
72 }
73 template <typename StartedAtT = Aws::Utils::DateTime>
75 SetStartedAt(std::forward<StartedAtT>(value));
76 return *this;
77 }
79
81
84 inline const Aws::Utils::DateTime& GetEndedAt() const { return m_endedAt; }
85 template <typename EndedAtT = Aws::Utils::DateTime>
86 void SetEndedAt(EndedAtT&& value) {
87 m_endedAtHasBeenSet = true;
88 m_endedAt = std::forward<EndedAtT>(value);
89 }
90 template <typename EndedAtT = Aws::Utils::DateTime>
92 SetEndedAt(std::forward<EndedAtT>(value));
93 return *this;
94 }
96
98
99 inline const Aws::String& GetRequestId() const { return m_requestId; }
100 template <typename RequestIdT = Aws::String>
101 void SetRequestId(RequestIdT&& value) {
102 m_requestIdHasBeenSet = true;
103 m_requestId = std::forward<RequestIdT>(value);
104 }
105 template <typename RequestIdT = Aws::String>
107 SetRequestId(std::forward<RequestIdT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_message;
113
115
116 Aws::Utils::DateTime m_startedAt{};
117
118 Aws::Utils::DateTime m_endedAt{};
119
120 Aws::String m_requestId;
121 bool m_messageHasBeenSet = false;
122 bool m_statusHasBeenSet = false;
123 bool m_startedAtHasBeenSet = false;
124 bool m_endedAtHasBeenSet = false;
125 bool m_requestIdHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace EKS
130} // 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