/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A collection of error messages for any views that Amazon Web Services
* Resource Explorer couldn't retrieve details.See Also:
AWS
* API Reference
The description of the error for the specified view.
*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** *The description of the error for the specified view.
*/ inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } /** *The description of the error for the specified view.
*/ inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } /** *The description of the error for the specified view.
*/ inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } /** *The description of the error for the specified view.
*/ inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } /** *The description of the error for the specified view.
*/ inline BatchGetViewError& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** *The description of the error for the specified view.
*/ inline BatchGetViewError& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** *The description of the error for the specified view.
*/ inline BatchGetViewError& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} /** *The Amazon * resource name (ARN) of the view for which Resource Explorer failed to * retrieve details.
*/ inline const Aws::String& GetViewArn() const{ return m_viewArn; } /** *The Amazon * resource name (ARN) of the view for which Resource Explorer failed to * retrieve details.
*/ inline bool ViewArnHasBeenSet() const { return m_viewArnHasBeenSet; } /** *The Amazon * resource name (ARN) of the view for which Resource Explorer failed to * retrieve details.
*/ inline void SetViewArn(const Aws::String& value) { m_viewArnHasBeenSet = true; m_viewArn = value; } /** *The Amazon * resource name (ARN) of the view for which Resource Explorer failed to * retrieve details.
*/ inline void SetViewArn(Aws::String&& value) { m_viewArnHasBeenSet = true; m_viewArn = std::move(value); } /** *The Amazon * resource name (ARN) of the view for which Resource Explorer failed to * retrieve details.
*/ inline void SetViewArn(const char* value) { m_viewArnHasBeenSet = true; m_viewArn.assign(value); } /** *The Amazon * resource name (ARN) of the view for which Resource Explorer failed to * retrieve details.
*/ inline BatchGetViewError& WithViewArn(const Aws::String& value) { SetViewArn(value); return *this;} /** *The Amazon * resource name (ARN) of the view for which Resource Explorer failed to * retrieve details.
*/ inline BatchGetViewError& WithViewArn(Aws::String&& value) { SetViewArn(std::move(value)); return *this;} /** *The Amazon * resource name (ARN) of the view for which Resource Explorer failed to * retrieve details.
*/ inline BatchGetViewError& WithViewArn(const char* value) { SetViewArn(value); return *this;} private: Aws::String m_errorMessage; bool m_errorMessageHasBeenSet = false; Aws::String m_viewArn; bool m_viewArnHasBeenSet = false; }; } // namespace Model } // namespace ResourceExplorer2 } // namespace Aws