/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the detector state.See Also:
AWS
* API Reference
The name of the state.
*/ inline const Aws::String& GetStateName() const{ return m_stateName; } /** *The name of the state.
*/ inline bool StateNameHasBeenSet() const { return m_stateNameHasBeenSet; } /** *The name of the state.
*/ inline void SetStateName(const Aws::String& value) { m_stateNameHasBeenSet = true; m_stateName = value; } /** *The name of the state.
*/ inline void SetStateName(Aws::String&& value) { m_stateNameHasBeenSet = true; m_stateName = std::move(value); } /** *The name of the state.
*/ inline void SetStateName(const char* value) { m_stateNameHasBeenSet = true; m_stateName.assign(value); } /** *The name of the state.
*/ inline DetectorStateSummary& WithStateName(const Aws::String& value) { SetStateName(value); return *this;} /** *The name of the state.
*/ inline DetectorStateSummary& WithStateName(Aws::String&& value) { SetStateName(std::move(value)); return *this;} /** *The name of the state.
*/ inline DetectorStateSummary& WithStateName(const char* value) { SetStateName(value); return *this;} private: Aws::String m_stateName; bool m_stateNameHasBeenSet = false; }; } // namespace Model } // namespace IoTEventsData } // namespace Aws