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-securityhub/include/aws/securityhub/model/DisassociateMembersRequest.h

99 lines
3.4 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/securityhub/SecurityHub_EXPORTS.h>
#include <aws/securityhub/SecurityHubRequest.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace SecurityHub
{
namespace Model
{
/**
*/
class AWS_SECURITYHUB_API DisassociateMembersRequest : public SecurityHubRequest
{
public:
DisassociateMembersRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DisassociateMembers"; }
Aws::String SerializePayload() const override;
/**
* <p>The account IDs of the member accounts to disassociate from the master
* account.</p>
*/
inline const Aws::Vector<Aws::String>& GetAccountIds() const{ return m_accountIds; }
/**
* <p>The account IDs of the member accounts to disassociate from the master
* account.</p>
*/
inline bool AccountIdsHasBeenSet() const { return m_accountIdsHasBeenSet; }
/**
* <p>The account IDs of the member accounts to disassociate from the master
* account.</p>
*/
inline void SetAccountIds(const Aws::Vector<Aws::String>& value) { m_accountIdsHasBeenSet = true; m_accountIds = value; }
/**
* <p>The account IDs of the member accounts to disassociate from the master
* account.</p>
*/
inline void SetAccountIds(Aws::Vector<Aws::String>&& value) { m_accountIdsHasBeenSet = true; m_accountIds = std::move(value); }
/**
* <p>The account IDs of the member accounts to disassociate from the master
* account.</p>
*/
inline DisassociateMembersRequest& WithAccountIds(const Aws::Vector<Aws::String>& value) { SetAccountIds(value); return *this;}
/**
* <p>The account IDs of the member accounts to disassociate from the master
* account.</p>
*/
inline DisassociateMembersRequest& WithAccountIds(Aws::Vector<Aws::String>&& value) { SetAccountIds(std::move(value)); return *this;}
/**
* <p>The account IDs of the member accounts to disassociate from the master
* account.</p>
*/
inline DisassociateMembersRequest& AddAccountIds(const Aws::String& value) { m_accountIdsHasBeenSet = true; m_accountIds.push_back(value); return *this; }
/**
* <p>The account IDs of the member accounts to disassociate from the master
* account.</p>
*/
inline DisassociateMembersRequest& AddAccountIds(Aws::String&& value) { m_accountIdsHasBeenSet = true; m_accountIds.push_back(std::move(value)); return *this; }
/**
* <p>The account IDs of the member accounts to disassociate from the master
* account.</p>
*/
inline DisassociateMembersRequest& AddAccountIds(const char* value) { m_accountIdsHasBeenSet = true; m_accountIds.push_back(value); return *this; }
private:
Aws::Vector<Aws::String> m_accountIds;
bool m_accountIdsHasBeenSet;
};
} // namespace Model
} // namespace SecurityHub
} // namespace Aws