AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
DescribeInsightsRefreshResult.h
1
6#pragma once
7#include <aws/eks/EKS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/eks/model/InsightsRefreshStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace EKS
26{
27namespace Model
28{
30 {
31 public:
32 AWS_EKS_API DescribeInsightsRefreshResult() = default;
35
36
38
41 inline const Aws::String& GetMessage() const { return m_message; }
42 template<typename MessageT = Aws::String>
43 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
44 template<typename MessageT = Aws::String>
45 DescribeInsightsRefreshResult& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
47
49
52 inline InsightsRefreshStatus GetStatus() const { return m_status; }
53 inline void SetStatus(InsightsRefreshStatus value) { m_statusHasBeenSet = true; m_status = value; }
56
58
61 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
62 template<typename StartedAtT = Aws::Utils::DateTime>
63 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::forward<StartedAtT>(value); }
64 template<typename StartedAtT = Aws::Utils::DateTime>
65 DescribeInsightsRefreshResult& WithStartedAt(StartedAtT&& value) { SetStartedAt(std::forward<StartedAtT>(value)); return *this;}
67
69
72 inline const Aws::Utils::DateTime& GetEndedAt() const { return m_endedAt; }
73 template<typename EndedAtT = Aws::Utils::DateTime>
74 void SetEndedAt(EndedAtT&& value) { m_endedAtHasBeenSet = true; m_endedAt = std::forward<EndedAtT>(value); }
75 template<typename EndedAtT = Aws::Utils::DateTime>
76 DescribeInsightsRefreshResult& WithEndedAt(EndedAtT&& value) { SetEndedAt(std::forward<EndedAtT>(value)); return *this;}
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template<typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
84 template<typename RequestIdT = Aws::String>
85 DescribeInsightsRefreshResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
87 private:
88
89 Aws::String m_message;
90 bool m_messageHasBeenSet = false;
91
93 bool m_statusHasBeenSet = false;
94
95 Aws::Utils::DateTime m_startedAt{};
96 bool m_startedAtHasBeenSet = false;
97
98 Aws::Utils::DateTime m_endedAt{};
99 bool m_endedAtHasBeenSet = false;
100
101 Aws::String m_requestId;
102 bool m_requestIdHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace EKS
107} // 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