66 lines
2.0 KiB
C++
66 lines
2.0 KiB
C++
/**
|
|
* 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>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Macie2
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_MACIE2_API UpdateOrganizationConfigurationRequest : public Macie2Request
|
|
{
|
|
public:
|
|
UpdateOrganizationConfigurationRequest();
|
|
|
|
// 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 "UpdateOrganizationConfiguration"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
|
|
/**
|
|
* <p>Specifies whether Amazon Macie is enabled automatically for each account,
|
|
* when the account is added to the AWS organization.</p>
|
|
*/
|
|
inline bool GetAutoEnable() const{ return m_autoEnable; }
|
|
|
|
/**
|
|
* <p>Specifies whether Amazon Macie is enabled automatically for each account,
|
|
* when the account is added to the AWS organization.</p>
|
|
*/
|
|
inline bool AutoEnableHasBeenSet() const { return m_autoEnableHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Specifies whether Amazon Macie is enabled automatically for each account,
|
|
* when the account is added to the AWS organization.</p>
|
|
*/
|
|
inline void SetAutoEnable(bool value) { m_autoEnableHasBeenSet = true; m_autoEnable = value; }
|
|
|
|
/**
|
|
* <p>Specifies whether Amazon Macie is enabled automatically for each account,
|
|
* when the account is added to the AWS organization.</p>
|
|
*/
|
|
inline UpdateOrganizationConfigurationRequest& WithAutoEnable(bool value) { SetAutoEnable(value); return *this;}
|
|
|
|
private:
|
|
|
|
bool m_autoEnable;
|
|
bool m_autoEnableHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace Macie2
|
|
} // namespace Aws
|