/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information that defines how a detector operates.See Also:
* AWS
* API Reference
Information about the states of the detector.
*/ inline const Aws::VectorInformation about the states of the detector.
*/ inline bool StatesHasBeenSet() const { return m_statesHasBeenSet; } /** *Information about the states of the detector.
*/ inline void SetStates(const Aws::VectorInformation about the states of the detector.
*/ inline void SetStates(Aws::VectorInformation about the states of the detector.
*/ inline DetectorModelDefinition& WithStates(const Aws::VectorInformation about the states of the detector.
*/ inline DetectorModelDefinition& WithStates(Aws::VectorInformation about the states of the detector.
*/ inline DetectorModelDefinition& AddStates(const State& value) { m_statesHasBeenSet = true; m_states.push_back(value); return *this; } /** *Information about the states of the detector.
*/ inline DetectorModelDefinition& AddStates(State&& value) { m_statesHasBeenSet = true; m_states.push_back(std::move(value)); return *this; } /** *The state that is entered at the creation of each detector (instance).
*/ inline const Aws::String& GetInitialStateName() const{ return m_initialStateName; } /** *The state that is entered at the creation of each detector (instance).
*/ inline bool InitialStateNameHasBeenSet() const { return m_initialStateNameHasBeenSet; } /** *The state that is entered at the creation of each detector (instance).
*/ inline void SetInitialStateName(const Aws::String& value) { m_initialStateNameHasBeenSet = true; m_initialStateName = value; } /** *The state that is entered at the creation of each detector (instance).
*/ inline void SetInitialStateName(Aws::String&& value) { m_initialStateNameHasBeenSet = true; m_initialStateName = std::move(value); } /** *The state that is entered at the creation of each detector (instance).
*/ inline void SetInitialStateName(const char* value) { m_initialStateNameHasBeenSet = true; m_initialStateName.assign(value); } /** *The state that is entered at the creation of each detector (instance).
*/ inline DetectorModelDefinition& WithInitialStateName(const Aws::String& value) { SetInitialStateName(value); return *this;} /** *The state that is entered at the creation of each detector (instance).
*/ inline DetectorModelDefinition& WithInitialStateName(Aws::String&& value) { SetInitialStateName(std::move(value)); return *this;} /** *The state that is entered at the creation of each detector (instance).
*/ inline DetectorModelDefinition& WithInitialStateName(const char* value) { SetInitialStateName(value); return *this;} private: Aws::Vector