/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An issue with your local Amazon EKS cluster on an Amazon Web Services
* Outpost. You can't use this API with an Amazon EKS cluster on the Amazon Web
* Services cloud.See Also:
AWS
* API Reference
The error code of the issue.
*/ inline const ClusterIssueCode& GetCode() const{ return m_code; } /** *The error code of the issue.
*/ inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; } /** *The error code of the issue.
*/ inline void SetCode(const ClusterIssueCode& value) { m_codeHasBeenSet = true; m_code = value; } /** *The error code of the issue.
*/ inline void SetCode(ClusterIssueCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); } /** *The error code of the issue.
*/ inline ClusterIssue& WithCode(const ClusterIssueCode& value) { SetCode(value); return *this;} /** *The error code of the issue.
*/ inline ClusterIssue& WithCode(ClusterIssueCode&& value) { SetCode(std::move(value)); return *this;} /** *A description of the issue.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *A description of the issue.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *A description of the issue.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *A description of the issue.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *A description of the issue.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *A description of the issue.
*/ inline ClusterIssue& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *A description of the issue.
*/ inline ClusterIssue& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *A description of the issue.
*/ inline ClusterIssue& WithMessage(const char* value) { SetMessage(value); return *this;} /** *The resource IDs that the issue relates to.
*/ inline const Aws::VectorThe resource IDs that the issue relates to.
*/ inline bool ResourceIdsHasBeenSet() const { return m_resourceIdsHasBeenSet; } /** *The resource IDs that the issue relates to.
*/ inline void SetResourceIds(const Aws::VectorThe resource IDs that the issue relates to.
*/ inline void SetResourceIds(Aws::VectorThe resource IDs that the issue relates to.
*/ inline ClusterIssue& WithResourceIds(const Aws::VectorThe resource IDs that the issue relates to.
*/ inline ClusterIssue& WithResourceIds(Aws::VectorThe resource IDs that the issue relates to.
*/ inline ClusterIssue& AddResourceIds(const Aws::String& value) { m_resourceIdsHasBeenSet = true; m_resourceIds.push_back(value); return *this; } /** *The resource IDs that the issue relates to.
*/ inline ClusterIssue& AddResourceIds(Aws::String&& value) { m_resourceIdsHasBeenSet = true; m_resourceIds.push_back(std::move(value)); return *this; } /** *The resource IDs that the issue relates to.
*/ inline ClusterIssue& AddResourceIds(const char* value) { m_resourceIdsHasBeenSet = true; m_resourceIds.push_back(value); return *this; } private: ClusterIssueCode m_code; bool m_codeHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; Aws::Vector