AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
FargateProfileHealth.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/eks/EKS_EXPORTS.h>
9#include <aws/eks/model/FargateProfileIssue.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 FargateProfileHealth() = default;
35
37
40 inline const Aws::Vector<FargateProfileIssue>& GetIssues() const { return m_issues; }
41 inline bool IssuesHasBeenSet() const { return m_issuesHasBeenSet; }
42 template <typename IssuesT = Aws::Vector<FargateProfileIssue>>
43 void SetIssues(IssuesT&& value) {
44 m_issuesHasBeenSet = true;
45 m_issues = std::forward<IssuesT>(value);
46 }
47 template <typename IssuesT = Aws::Vector<FargateProfileIssue>>
48 FargateProfileHealth& WithIssues(IssuesT&& value) {
49 SetIssues(std::forward<IssuesT>(value));
50 return *this;
51 }
52 template <typename IssuesT = FargateProfileIssue>
53 FargateProfileHealth& AddIssues(IssuesT&& value) {
54 m_issuesHasBeenSet = true;
55 m_issues.emplace_back(std::forward<IssuesT>(value));
56 return *this;
57 }
59 private:
61 bool m_issuesHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace EKS
66} // namespace Aws
const Aws::Vector< FargateProfileIssue > & GetIssues() const
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EKS_API FargateProfileHealth & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EKS_API FargateProfileHealth()=default
FargateProfileHealth & AddIssues(IssuesT &&value)
FargateProfileHealth & WithIssues(IssuesT &&value)
AWS_EKS_API FargateProfileHealth(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue