/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains current status information for the configuration.See
* Also:
AWS
* API Reference
The current state of the configuration.
*/ inline const ConfigurationState& GetState() const{ return m_state; } /** *The current state of the configuration.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The current state of the configuration.
*/ inline void SetState(const ConfigurationState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The current state of the configuration.
*/ inline void SetState(ConfigurationState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The current state of the configuration.
*/ inline ConfigurationStatus& WithState(const ConfigurationState& value) { SetState(value); return *this;} /** *The current state of the configuration.
*/ inline ConfigurationStatus& WithState(ConfigurationState&& value) { SetState(std::move(value)); return *this;} /** *Contains associated error information, if any.
*/ inline const ConfigurationErrorDetails& GetError() const{ return m_error; } /** *Contains associated error information, if any.
*/ inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } /** *Contains associated error information, if any.
*/ inline void SetError(const ConfigurationErrorDetails& value) { m_errorHasBeenSet = true; m_error = value; } /** *Contains associated error information, if any.
*/ inline void SetError(ConfigurationErrorDetails&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } /** *Contains associated error information, if any.
*/ inline ConfigurationStatus& WithError(const ConfigurationErrorDetails& value) { SetError(value); return *this;} /** *Contains associated error information, if any.
*/ inline ConfigurationStatus& WithError(ConfigurationErrorDetails&& value) { SetError(std::move(value)); return *this;} private: ConfigurationState m_state; bool m_stateHasBeenSet = false; ConfigurationErrorDetails m_error; bool m_errorHasBeenSet = false; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws