/** * 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 Detective { namespace Model { /** *

A member account that was included in a request but for which the request * could not be processed.

See Also:

AWS * API Reference

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

The Amazon Web Services account identifier of the member account that was not * processed.

*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *

The Amazon Web Services account identifier of the member account that was not * processed.

*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *

The Amazon Web Services account identifier of the member account that was not * processed.

*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *

The Amazon Web Services account identifier of the member account that was not * processed.

*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *

The Amazon Web Services account identifier of the member account that was not * processed.

*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *

The Amazon Web Services account identifier of the member account that was not * processed.

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

The Amazon Web Services account identifier of the member account that was not * processed.

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

The Amazon Web Services account identifier of the member account that was not * processed.

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

The reason that the member account request could not be processed.

*/ inline const Aws::String& GetReason() const{ return m_reason; } /** *

The reason that the member account request could not be processed.

*/ inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } /** *

The reason that the member account request could not be processed.

*/ inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; } /** *

The reason that the member account request could not be processed.

*/ inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } /** *

The reason that the member account request could not be processed.

*/ inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); } /** *

The reason that the member account request could not be processed.

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

The reason that the member account request could not be processed.

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

The reason that the member account request could not be processed.

*/ inline UnprocessedAccount& WithReason(const char* value) { SetReason(value); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Aws::String m_reason; bool m_reasonHasBeenSet = false; }; } // namespace Model } // namespace Detective } // namespace Aws