/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An error or warning for the operation.See Also:
AWS
* API Reference
The data path related to the message.
*/ inline const Aws::String& GetDataPath() const{ return m_dataPath; } /** *The data path related to the message.
*/ inline bool DataPathHasBeenSet() const { return m_dataPathHasBeenSet; } /** *The data path related to the message.
*/ inline void SetDataPath(const Aws::String& value) { m_dataPathHasBeenSet = true; m_dataPath = value; } /** *The data path related to the message.
*/ inline void SetDataPath(Aws::String&& value) { m_dataPathHasBeenSet = true; m_dataPath = std::move(value); } /** *The data path related to the message.
*/ inline void SetDataPath(const char* value) { m_dataPathHasBeenSet = true; m_dataPath.assign(value); } /** *The data path related to the message.
*/ inline DashboardValidationMessage& WithDataPath(const Aws::String& value) { SetDataPath(value); return *this;} /** *The data path related to the message.
*/ inline DashboardValidationMessage& WithDataPath(Aws::String&& value) { SetDataPath(std::move(value)); return *this;} /** *The data path related to the message.
*/ inline DashboardValidationMessage& WithDataPath(const char* value) { SetDataPath(value); return *this;} /** *A message describing the error or warning.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *A message describing the error or warning.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *A message describing the error or warning.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *A message describing the error or warning.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *A message describing the error or warning.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *A message describing the error or warning.
*/ inline DashboardValidationMessage& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *A message describing the error or warning.
*/ inline DashboardValidationMessage& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *A message describing the error or warning.
*/ inline DashboardValidationMessage& WithMessage(const char* value) { SetMessage(value); return *this;} private: Aws::String m_dataPath; bool m_dataPathHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; }; } // namespace Model } // namespace CloudWatch } // namespace Aws