This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-guardduty/include/aws/guardduty/model/UnprocessedAccount.h

134 lines
3.7 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/guardduty/GuardDuty_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace GuardDuty
{
namespace Model
{
/**
* <p>Contains information about the accounts that weren't processed.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UnprocessedAccount">AWS
* API Reference</a></p>
*/
class AWS_GUARDDUTY_API UnprocessedAccount
{
public:
UnprocessedAccount();
UnprocessedAccount(Aws::Utils::Json::JsonView jsonValue);
UnprocessedAccount& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The AWS account ID.</p>
*/
inline const Aws::String& GetAccountId() const{ return m_accountId; }
/**
* <p>The AWS account ID.</p>
*/
inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
/**
* <p>The AWS account ID.</p>
*/
inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
/**
* <p>The AWS account ID.</p>
*/
inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
/**
* <p>The AWS account ID.</p>
*/
inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
/**
* <p>The AWS account ID.</p>
*/
inline UnprocessedAccount& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
/**
* <p>The AWS account ID.</p>
*/
inline UnprocessedAccount& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
/**
* <p>The AWS account ID.</p>
*/
inline UnprocessedAccount& WithAccountId(const char* value) { SetAccountId(value); return *this;}
/**
* <p>A reason why the account hasn't been processed.</p>
*/
inline const Aws::String& GetResult() const{ return m_result; }
/**
* <p>A reason why the account hasn't been processed.</p>
*/
inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; }
/**
* <p>A reason why the account hasn't been processed.</p>
*/
inline void SetResult(const Aws::String& value) { m_resultHasBeenSet = true; m_result = value; }
/**
* <p>A reason why the account hasn't been processed.</p>
*/
inline void SetResult(Aws::String&& value) { m_resultHasBeenSet = true; m_result = std::move(value); }
/**
* <p>A reason why the account hasn't been processed.</p>
*/
inline void SetResult(const char* value) { m_resultHasBeenSet = true; m_result.assign(value); }
/**
* <p>A reason why the account hasn't been processed.</p>
*/
inline UnprocessedAccount& WithResult(const Aws::String& value) { SetResult(value); return *this;}
/**
* <p>A reason why the account hasn't been processed.</p>
*/
inline UnprocessedAccount& WithResult(Aws::String&& value) { SetResult(std::move(value)); return *this;}
/**
* <p>A reason why the account hasn't been processed.</p>
*/
inline UnprocessedAccount& WithResult(const char* value) { SetResult(value); return *this;}
private:
Aws::String m_accountId;
bool m_accountIdHasBeenSet;
Aws::String m_result;
bool m_resultHasBeenSet;
};
} // namespace Model
} // namespace GuardDuty
} // namespace Aws