/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Reserved.See Also:
AWS
* API Reference
Reserved.
*/ inline const QueryCompileErrorLocation& GetLocation() const{ return m_location; } /** *Reserved.
*/ inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; } /** *Reserved.
*/ inline void SetLocation(const QueryCompileErrorLocation& value) { m_locationHasBeenSet = true; m_location = value; } /** *Reserved.
*/ inline void SetLocation(QueryCompileErrorLocation&& value) { m_locationHasBeenSet = true; m_location = std::move(value); } /** *Reserved.
*/ inline QueryCompileError& WithLocation(const QueryCompileErrorLocation& value) { SetLocation(value); return *this;} /** *Reserved.
*/ inline QueryCompileError& WithLocation(QueryCompileErrorLocation&& value) { SetLocation(std::move(value)); return *this;} /** *Reserved.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *Reserved.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *Reserved.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *Reserved.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *Reserved.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *Reserved.
*/ inline QueryCompileError& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *Reserved.
*/ inline QueryCompileError& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *Reserved.
*/ inline QueryCompileError& WithMessage(const char* value) { SetMessage(value); return *this;} private: QueryCompileErrorLocation m_location; bool m_locationHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; }; } // namespace Model } // namespace CloudWatchLogs } // namespace Aws