/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the state of an association between a route table and a subnet or
* gateway. See Also:
AWS
* API Reference
The state of the association.
*/ inline const Aws::String& GetState() const{ return m_state; } /** *The state of the association.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The state of the association.
*/ inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; } /** *The state of the association.
*/ inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The state of the association.
*/ inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); } /** *The state of the association.
*/ inline AssociationStateDetails& WithState(const Aws::String& value) { SetState(value); return *this;} /** *The state of the association.
*/ inline AssociationStateDetails& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;} /** *The state of the association.
*/ inline AssociationStateDetails& WithState(const char* value) { SetState(value); return *this;} /** *The status message, if applicable.
*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *The status message, if applicable.
*/ inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } /** *The status message, if applicable.
*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } /** *The status message, if applicable.
*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } /** *The status message, if applicable.
*/ inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } /** *The status message, if applicable.
*/ inline AssociationStateDetails& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *The status message, if applicable.
*/ inline AssociationStateDetails& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *The status message, if applicable.
*/ inline AssociationStateDetails& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} private: Aws::String m_state; bool m_stateHasBeenSet = false; Aws::String m_statusMessage; bool m_statusMessageHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws