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-detective/include/aws/detective/model/GetMembersRequest.h

152 lines
6.3 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/detective/Detective_EXPORTS.h>
#include <aws/detective/DetectiveRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>
namespace Aws
{
namespace Detective
{
namespace Model
{
/**
*/
class AWS_DETECTIVE_API GetMembersRequest : public DetectiveRequest
{
public:
GetMembersRequest();
// 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 "GetMembers"; }
Aws::String SerializePayload() const override;
/**
* <p>The ARN of the behavior graph for which to request the member details.</p>
*/
inline const Aws::String& GetGraphArn() const{ return m_graphArn; }
/**
* <p>The ARN of the behavior graph for which to request the member details.</p>
*/
inline bool GraphArnHasBeenSet() const { return m_graphArnHasBeenSet; }
/**
* <p>The ARN of the behavior graph for which to request the member details.</p>
*/
inline void SetGraphArn(const Aws::String& value) { m_graphArnHasBeenSet = true; m_graphArn = value; }
/**
* <p>The ARN of the behavior graph for which to request the member details.</p>
*/
inline void SetGraphArn(Aws::String&& value) { m_graphArnHasBeenSet = true; m_graphArn = std::move(value); }
/**
* <p>The ARN of the behavior graph for which to request the member details.</p>
*/
inline void SetGraphArn(const char* value) { m_graphArnHasBeenSet = true; m_graphArn.assign(value); }
/**
* <p>The ARN of the behavior graph for which to request the member details.</p>
*/
inline GetMembersRequest& WithGraphArn(const Aws::String& value) { SetGraphArn(value); return *this;}
/**
* <p>The ARN of the behavior graph for which to request the member details.</p>
*/
inline GetMembersRequest& WithGraphArn(Aws::String&& value) { SetGraphArn(std::move(value)); return *this;}
/**
* <p>The ARN of the behavior graph for which to request the member details.</p>
*/
inline GetMembersRequest& WithGraphArn(const char* value) { SetGraphArn(value); return *this;}
/**
* <p>The list of AWS account identifiers for the member account for which to
* return member details.</p> <p>You cannot use <code>GetMembers</code> to retrieve
* information about member accounts that were removed from the behavior graph.</p>
*/
inline const Aws::Vector<Aws::String>& GetAccountIds() const{ return m_accountIds; }
/**
* <p>The list of AWS account identifiers for the member account for which to
* return member details.</p> <p>You cannot use <code>GetMembers</code> to retrieve
* information about member accounts that were removed from the behavior graph.</p>
*/
inline bool AccountIdsHasBeenSet() const { return m_accountIdsHasBeenSet; }
/**
* <p>The list of AWS account identifiers for the member account for which to
* return member details.</p> <p>You cannot use <code>GetMembers</code> to retrieve
* information about member accounts that were removed from the behavior graph.</p>
*/
inline void SetAccountIds(const Aws::Vector<Aws::String>& value) { m_accountIdsHasBeenSet = true; m_accountIds = value; }
/**
* <p>The list of AWS account identifiers for the member account for which to
* return member details.</p> <p>You cannot use <code>GetMembers</code> to retrieve
* information about member accounts that were removed from the behavior graph.</p>
*/
inline void SetAccountIds(Aws::Vector<Aws::String>&& value) { m_accountIdsHasBeenSet = true; m_accountIds = std::move(value); }
/**
* <p>The list of AWS account identifiers for the member account for which to
* return member details.</p> <p>You cannot use <code>GetMembers</code> to retrieve
* information about member accounts that were removed from the behavior graph.</p>
*/
inline GetMembersRequest& WithAccountIds(const Aws::Vector<Aws::String>& value) { SetAccountIds(value); return *this;}
/**
* <p>The list of AWS account identifiers for the member account for which to
* return member details.</p> <p>You cannot use <code>GetMembers</code> to retrieve
* information about member accounts that were removed from the behavior graph.</p>
*/
inline GetMembersRequest& WithAccountIds(Aws::Vector<Aws::String>&& value) { SetAccountIds(std::move(value)); return *this;}
/**
* <p>The list of AWS account identifiers for the member account for which to
* return member details.</p> <p>You cannot use <code>GetMembers</code> to retrieve
* information about member accounts that were removed from the behavior graph.</p>
*/
inline GetMembersRequest& AddAccountIds(const Aws::String& value) { m_accountIdsHasBeenSet = true; m_accountIds.push_back(value); return *this; }
/**
* <p>The list of AWS account identifiers for the member account for which to
* return member details.</p> <p>You cannot use <code>GetMembers</code> to retrieve
* information about member accounts that were removed from the behavior graph.</p>
*/
inline GetMembersRequest& AddAccountIds(Aws::String&& value) { m_accountIdsHasBeenSet = true; m_accountIds.push_back(std::move(value)); return *this; }
/**
* <p>The list of AWS account identifiers for the member account for which to
* return member details.</p> <p>You cannot use <code>GetMembers</code> to retrieve
* information about member accounts that were removed from the behavior graph.</p>
*/
inline GetMembersRequest& AddAccountIds(const char* value) { m_accountIdsHasBeenSet = true; m_accountIds.push_back(value); return *this; }
private:
Aws::String m_graphArn;
bool m_graphArnHasBeenSet;
Aws::Vector<Aws::String> m_accountIds;
bool m_accountIdsHasBeenSet;
};
} // namespace Model
} // namespace Detective
} // namespace Aws