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

Details about the account that was not processed.

See Also:

* AWS * API Reference

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

An Amazon Web Services account ID of the account that was not processed.

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

An Amazon Web Services account ID of the account that was not processed.

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

An Amazon Web Services account ID of the account that was not processed.

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

An Amazon Web Services account ID of the account that was not processed.

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

An Amazon Web Services account ID of the account that was not processed.

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

An Amazon Web Services account ID of the account that was not processed.

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

An Amazon Web Services account ID of the account that was not processed.

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

An Amazon Web Services account ID of the account that was not processed.

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

The reason that the account was not processed.

*/ inline const Aws::String& GetProcessingResult() const{ return m_processingResult; } /** *

The reason that the account was not processed.

*/ inline bool ProcessingResultHasBeenSet() const { return m_processingResultHasBeenSet; } /** *

The reason that the account was not processed.

*/ inline void SetProcessingResult(const Aws::String& value) { m_processingResultHasBeenSet = true; m_processingResult = value; } /** *

The reason that the account was not processed.

*/ inline void SetProcessingResult(Aws::String&& value) { m_processingResultHasBeenSet = true; m_processingResult = std::move(value); } /** *

The reason that the account was not processed.

*/ inline void SetProcessingResult(const char* value) { m_processingResultHasBeenSet = true; m_processingResult.assign(value); } /** *

The reason that the account was not processed.

*/ inline Result& WithProcessingResult(const Aws::String& value) { SetProcessingResult(value); return *this;} /** *

The reason that the account was not processed.

*/ inline Result& WithProcessingResult(Aws::String&& value) { SetProcessingResult(std::move(value)); return *this;} /** *

The reason that the account was not processed.

*/ inline Result& WithProcessingResult(const char* value) { SetProcessingResult(value); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; Aws::String m_processingResult; bool m_processingResultHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws