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-macie2/include/aws/macie2/model/EnableOrganizationAdminAccountRequest.h

137 lines
4.6 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/macie2/Macie2_EXPORTS.h>
#include <aws/macie2/Macie2Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
#include <aws/core/utils/UUID.h>
namespace Aws
{
namespace Macie2
{
namespace Model
{
/**
*/
class AWS_MACIE2_API EnableOrganizationAdminAccountRequest : public Macie2Request
{
public:
EnableOrganizationAdminAccountRequest();
// 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 "EnableOrganizationAdminAccount"; }
Aws::String SerializePayload() const override;
/**
* <p>The AWS account ID for the account.</p>
*/
inline const Aws::String& GetAdminAccountId() const{ return m_adminAccountId; }
/**
* <p>The AWS account ID for the account.</p>
*/
inline bool AdminAccountIdHasBeenSet() const { return m_adminAccountIdHasBeenSet; }
/**
* <p>The AWS account ID for the account.</p>
*/
inline void SetAdminAccountId(const Aws::String& value) { m_adminAccountIdHasBeenSet = true; m_adminAccountId = value; }
/**
* <p>The AWS account ID for the account.</p>
*/
inline void SetAdminAccountId(Aws::String&& value) { m_adminAccountIdHasBeenSet = true; m_adminAccountId = std::move(value); }
/**
* <p>The AWS account ID for the account.</p>
*/
inline void SetAdminAccountId(const char* value) { m_adminAccountIdHasBeenSet = true; m_adminAccountId.assign(value); }
/**
* <p>The AWS account ID for the account.</p>
*/
inline EnableOrganizationAdminAccountRequest& WithAdminAccountId(const Aws::String& value) { SetAdminAccountId(value); return *this;}
/**
* <p>The AWS account ID for the account.</p>
*/
inline EnableOrganizationAdminAccountRequest& WithAdminAccountId(Aws::String&& value) { SetAdminAccountId(std::move(value)); return *this;}
/**
* <p>The AWS account ID for the account.</p>
*/
inline EnableOrganizationAdminAccountRequest& WithAdminAccountId(const char* value) { SetAdminAccountId(value); return *this;}
/**
* <p>A unique, case-sensitive token that you provide to ensure the idempotency of
* the request.</p>
*/
inline const Aws::String& GetClientToken() const{ return m_clientToken; }
/**
* <p>A unique, case-sensitive token that you provide to ensure the idempotency of
* the request.</p>
*/
inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
/**
* <p>A unique, case-sensitive token that you provide to ensure the idempotency of
* the request.</p>
*/
inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
/**
* <p>A unique, case-sensitive token that you provide to ensure the idempotency of
* the request.</p>
*/
inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
/**
* <p>A unique, case-sensitive token that you provide to ensure the idempotency of
* the request.</p>
*/
inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
/**
* <p>A unique, case-sensitive token that you provide to ensure the idempotency of
* the request.</p>
*/
inline EnableOrganizationAdminAccountRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
/**
* <p>A unique, case-sensitive token that you provide to ensure the idempotency of
* the request.</p>
*/
inline EnableOrganizationAdminAccountRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
/**
* <p>A unique, case-sensitive token that you provide to ensure the idempotency of
* the request.</p>
*/
inline EnableOrganizationAdminAccountRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
private:
Aws::String m_adminAccountId;
bool m_adminAccountIdHasBeenSet;
Aws::String m_clientToken;
bool m_clientTokenHasBeenSet;
};
} // namespace Model
} // namespace Macie2
} // namespace Aws