AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
InsightResourceDetail.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/InsightStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace EKS {
21namespace Model {
22
30 public:
31 AWS_EKS_API InsightResourceDetail() = default;
35
37
40 inline const InsightStatus& GetInsightStatus() const { return m_insightStatus; }
41 inline bool InsightStatusHasBeenSet() const { return m_insightStatusHasBeenSet; }
42 template <typename InsightStatusT = InsightStatus>
43 void SetInsightStatus(InsightStatusT&& value) {
44 m_insightStatusHasBeenSet = true;
45 m_insightStatus = std::forward<InsightStatusT>(value);
46 }
47 template <typename InsightStatusT = InsightStatus>
48 InsightResourceDetail& WithInsightStatus(InsightStatusT&& value) {
49 SetInsightStatus(std::forward<InsightStatusT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetKubernetesResourceUri() const { return m_kubernetesResourceUri; }
59 inline bool KubernetesResourceUriHasBeenSet() const { return m_kubernetesResourceUriHasBeenSet; }
60 template <typename KubernetesResourceUriT = Aws::String>
61 void SetKubernetesResourceUri(KubernetesResourceUriT&& value) {
62 m_kubernetesResourceUriHasBeenSet = true;
63 m_kubernetesResourceUri = std::forward<KubernetesResourceUriT>(value);
64 }
65 template <typename KubernetesResourceUriT = Aws::String>
66 InsightResourceDetail& WithKubernetesResourceUri(KubernetesResourceUriT&& value) {
67 SetKubernetesResourceUri(std::forward<KubernetesResourceUriT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetArn() const { return m_arn; }
77 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
78 template <typename ArnT = Aws::String>
79 void SetArn(ArnT&& value) {
80 m_arnHasBeenSet = true;
81 m_arn = std::forward<ArnT>(value);
82 }
83 template <typename ArnT = Aws::String>
85 SetArn(std::forward<ArnT>(value));
86 return *this;
87 }
89 private:
90 InsightStatus m_insightStatus;
91
92 Aws::String m_kubernetesResourceUri;
93
94 Aws::String m_arn;
95 bool m_insightStatusHasBeenSet = false;
96 bool m_kubernetesResourceUriHasBeenSet = false;
97 bool m_arnHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace EKS
102} // namespace Aws
void SetKubernetesResourceUri(KubernetesResourceUriT &&value)
AWS_EKS_API InsightResourceDetail()=default
void SetInsightStatus(InsightStatusT &&value)
const InsightStatus & GetInsightStatus() const
InsightResourceDetail & WithKubernetesResourceUri(KubernetesResourceUriT &&value)
AWS_EKS_API InsightResourceDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
InsightResourceDetail & WithInsightStatus(InsightStatusT &&value)
AWS_EKS_API InsightResourceDetail(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetKubernetesResourceUri() const
InsightResourceDetail & WithArn(ArnT &&value)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue