/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace GuardDuty { namespace Model { /** *

Contains information about the accounts that weren't processed.

See * Also:

AWS * API Reference

*/ class UnprocessedAccount { public: AWS_GUARDDUTY_API UnprocessedAccount(); AWS_GUARDDUTY_API UnprocessedAccount(Aws::Utils::Json::JsonView jsonValue); AWS_GUARDDUTY_API UnprocessedAccount& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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 UnprocessedAccount& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *

The Amazon Web Services account ID.

*/ inline UnprocessedAccount& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *

The Amazon Web Services account ID.

*/ inline UnprocessedAccount& WithAccountId(const char* value) { SetAccountId(value); return *this;} /** *

A reason why the account hasn't been processed.

*/ inline const Aws::String& GetResult() const{ return m_result; } /** *

A reason why the account hasn't been processed.

*/ inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; } /** *

A reason why the account hasn't been processed.

*/ inline void SetResult(const Aws::String& value) { m_resultHasBeenSet = true; m_result = value; } /** *

A reason why the account hasn't been processed.

*/ inline void SetResult(Aws::String&& value) { m_resultHasBeenSet = true; m_result = std::move(value); } /** *

A reason why the account hasn't been processed.

*/ inline void SetResult(const char* value) { m_resultHasBeenSet = true; m_result.assign(value); } /** *

A reason why the account hasn't been processed.

*/ inline UnprocessedAccount& WithResult(const Aws::String& value) { SetResult(value); return *this;} /** *

A reason why the account hasn't been processed.

*/ inline UnprocessedAccount& WithResult(Aws::String&& value) { SetResult(std::move(value)); return *this;} /** *

A reason why the account hasn't been processed.

*/ inline UnprocessedAccount& WithResult(const char* value) { SetResult(value); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Aws::String m_result; bool m_resultHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws