86 lines
3.1 KiB
C
86 lines
3.1 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/AWSVector.h>
|
|||
|
|
#include <aws/guardduty/model/UnprocessedAccount.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
template<typename RESULT_TYPE>
|
|||
|
|
class AmazonWebServiceResult;
|
|||
|
|
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace GuardDuty
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
class AWS_GUARDDUTY_API CreateMembersResult
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
CreateMembersResult();
|
|||
|
|
CreateMembersResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
CreateMembersResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A list of objects that include the <code>accountIds</code> of the unprocessed
|
|||
|
|
* accounts and a result string that explains why each was unprocessed.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Vector<UnprocessedAccount>& GetUnprocessedAccounts() const{ return m_unprocessedAccounts; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A list of objects that include the <code>accountIds</code> of the unprocessed
|
|||
|
|
* accounts and a result string that explains why each was unprocessed.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetUnprocessedAccounts(const Aws::Vector<UnprocessedAccount>& value) { m_unprocessedAccounts = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A list of objects that include the <code>accountIds</code> of the unprocessed
|
|||
|
|
* accounts and a result string that explains why each was unprocessed.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetUnprocessedAccounts(Aws::Vector<UnprocessedAccount>&& value) { m_unprocessedAccounts = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A list of objects that include the <code>accountIds</code> of the unprocessed
|
|||
|
|
* accounts and a result string that explains why each was unprocessed.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateMembersResult& WithUnprocessedAccounts(const Aws::Vector<UnprocessedAccount>& value) { SetUnprocessedAccounts(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A list of objects that include the <code>accountIds</code> of the unprocessed
|
|||
|
|
* accounts and a result string that explains why each was unprocessed.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateMembersResult& WithUnprocessedAccounts(Aws::Vector<UnprocessedAccount>&& value) { SetUnprocessedAccounts(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A list of objects that include the <code>accountIds</code> of the unprocessed
|
|||
|
|
* accounts and a result string that explains why each was unprocessed.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateMembersResult& AddUnprocessedAccounts(const UnprocessedAccount& value) { m_unprocessedAccounts.push_back(value); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A list of objects that include the <code>accountIds</code> of the unprocessed
|
|||
|
|
* accounts and a result string that explains why each was unprocessed.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateMembersResult& AddUnprocessedAccounts(UnprocessedAccount&& value) { m_unprocessedAccounts.push_back(std::move(value)); return *this; }
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::Vector<UnprocessedAccount> m_unprocessedAccounts;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace GuardDuty
|
|||
|
|
} // namespace Aws
|