/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object with details the status of an Amazon Web Services account within
* your Amazon Inspector environment.See Also:
AWS
* API Reference
The Amazon Web Services account ID.
*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *The Amazon Web Services account ID.
*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *The Amazon Web Services account ID.
*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *The Amazon Web Services account ID.
*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *The Amazon Web Services account ID.
*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *The Amazon Web Services account ID.
*/ inline AccountState& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *The Amazon Web Services account ID.
*/ inline AccountState& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *The Amazon Web Services account ID.
*/ inline AccountState& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *An object detailing which resources Amazon Inspector is enabled to scan for * the account.
*/ inline const ResourceState& GetResourceState() const{ return m_resourceState; } /** *An object detailing which resources Amazon Inspector is enabled to scan for * the account.
*/ inline bool ResourceStateHasBeenSet() const { return m_resourceStateHasBeenSet; } /** *An object detailing which resources Amazon Inspector is enabled to scan for * the account.
*/ inline void SetResourceState(const ResourceState& value) { m_resourceStateHasBeenSet = true; m_resourceState = value; } /** *An object detailing which resources Amazon Inspector is enabled to scan for * the account.
*/ inline void SetResourceState(ResourceState&& value) { m_resourceStateHasBeenSet = true; m_resourceState = std::move(value); } /** *An object detailing which resources Amazon Inspector is enabled to scan for * the account.
*/ inline AccountState& WithResourceState(const ResourceState& value) { SetResourceState(value); return *this;} /** *An object detailing which resources Amazon Inspector is enabled to scan for * the account.
*/ inline AccountState& WithResourceState(ResourceState&& value) { SetResourceState(std::move(value)); return *this;} /** *An object detailing the status of Amazon Inspector for the account.
*/ inline const State& GetState() const{ return m_state; } /** *An object detailing the status of Amazon Inspector for the account.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *An object detailing the status of Amazon Inspector for the account.
*/ inline void SetState(const State& value) { m_stateHasBeenSet = true; m_state = value; } /** *An object detailing the status of Amazon Inspector for the account.
*/ inline void SetState(State&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *An object detailing the status of Amazon Inspector for the account.
*/ inline AccountState& WithState(const State& value) { SetState(value); return *this;} /** *An object detailing the status of Amazon Inspector for the account.
*/ inline AccountState& WithState(State&& value) { SetState(std::move(value)); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; ResourceState m_resourceState; bool m_resourceStateHasBeenSet = false; State m_state; bool m_stateHasBeenSet = false; }; } // namespace Model } // namespace Inspector2 } // namespace Aws