AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FargateProfileIssue.h
1
6#pragma once
7#include <aws/eks/EKS_EXPORTS.h>
8#include <aws/eks/model/FargateProfileIssueCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace EKS
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_EKS_API FargateProfileIssue() = default;
41
42
44
47 inline FargateProfileIssueCode GetCode() const { return m_code; }
48 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
49 inline void SetCode(FargateProfileIssueCode value) { m_codeHasBeenSet = true; m_code = value; }
50 inline FargateProfileIssue& WithCode(FargateProfileIssueCode value) { SetCode(value); return *this;}
52
54
57 inline const Aws::String& GetMessage() const { return m_message; }
58 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
59 template<typename MessageT = Aws::String>
60 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
61 template<typename MessageT = Aws::String>
62 FargateProfileIssue& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
64
66
69 inline const Aws::Vector<Aws::String>& GetResourceIds() const { return m_resourceIds; }
70 inline bool ResourceIdsHasBeenSet() const { return m_resourceIdsHasBeenSet; }
71 template<typename ResourceIdsT = Aws::Vector<Aws::String>>
72 void SetResourceIds(ResourceIdsT&& value) { m_resourceIdsHasBeenSet = true; m_resourceIds = std::forward<ResourceIdsT>(value); }
73 template<typename ResourceIdsT = Aws::Vector<Aws::String>>
74 FargateProfileIssue& WithResourceIds(ResourceIdsT&& value) { SetResourceIds(std::forward<ResourceIdsT>(value)); return *this;}
75 template<typename ResourceIdsT = Aws::String>
76 FargateProfileIssue& AddResourceIds(ResourceIdsT&& value) { m_resourceIdsHasBeenSet = true; m_resourceIds.emplace_back(std::forward<ResourceIdsT>(value)); return *this; }
78 private:
79
81 bool m_codeHasBeenSet = false;
82
83 Aws::String m_message;
84 bool m_messageHasBeenSet = false;
85
86 Aws::Vector<Aws::String> m_resourceIds;
87 bool m_resourceIdsHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace EKS
92} // namespace Aws
FargateProfileIssue & WithResourceIds(ResourceIdsT &&value)
FargateProfileIssue & AddResourceIds(ResourceIdsT &&value)
FargateProfileIssue & WithMessage(MessageT &&value)
AWS_EKS_API FargateProfileIssue()=default
AWS_EKS_API FargateProfileIssue & operator=(Aws::Utils::Json::JsonView jsonValue)
FargateProfileIssue & WithCode(FargateProfileIssueCode value)
void SetCode(FargateProfileIssueCode value)
void SetResourceIds(ResourceIdsT &&value)
FargateProfileIssueCode GetCode() const
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetResourceIds() const
AWS_EKS_API FargateProfileIssue(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMessage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue