AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
StartInsightsRefreshResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/eks/EKS_EXPORTS.h>
9#include <aws/eks/model/InsightsRefreshStatus.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace EKS {
23namespace Model {
25 public:
26 AWS_EKS_API StartInsightsRefreshResult() = default;
29
31
34 inline const Aws::String& GetMessage() const { return m_message; }
35 template <typename MessageT = Aws::String>
36 void SetMessage(MessageT&& value) {
37 m_messageHasBeenSet = true;
38 m_message = std::forward<MessageT>(value);
39 }
40 template <typename MessageT = Aws::String>
42 SetMessage(std::forward<MessageT>(value));
43 return *this;
44 }
46
48
51 inline InsightsRefreshStatus GetStatus() const { return m_status; }
52 inline void SetStatus(InsightsRefreshStatus value) {
53 m_statusHasBeenSet = true;
54 m_status = value;
55 }
57 SetStatus(value);
58 return *this;
59 }
61
63
64 inline const Aws::String& GetRequestId() const { return m_requestId; }
65 template <typename RequestIdT = Aws::String>
66 void SetRequestId(RequestIdT&& value) {
67 m_requestIdHasBeenSet = true;
68 m_requestId = std::forward<RequestIdT>(value);
69 }
70 template <typename RequestIdT = Aws::String>
72 SetRequestId(std::forward<RequestIdT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_message;
78
80
81 Aws::String m_requestId;
82 bool m_messageHasBeenSet = false;
83 bool m_statusHasBeenSet = false;
84 bool m_requestIdHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace EKS
89} // namespace Aws
StartInsightsRefreshResult & WithMessage(MessageT &&value)
AWS_EKS_API StartInsightsRefreshResult()=default
AWS_EKS_API StartInsightsRefreshResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_EKS_API StartInsightsRefreshResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartInsightsRefreshResult & WithRequestId(RequestIdT &&value)
StartInsightsRefreshResult & WithStatus(InsightsRefreshStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue