/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace ECS { namespace Model { /** */ class PutAccountSettingDefaultRequest : public ECSRequest { public: AWS_ECS_API PutAccountSettingDefaultRequest(); // 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 "PutAccountSettingDefault"; } AWS_ECS_API Aws::String SerializePayload() const override; AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The resource name for which to modify the account setting. If * serviceLongArnFormat is specified, the ARN for your Amazon ECS * services is affected. If taskLongArnFormat is specified, the ARN * and resource ID for your Amazon ECS tasks is affected. If * containerInstanceLongArnFormat is specified, the ARN and resource * ID for your Amazon ECS container instances is affected. If * awsvpcTrunking is specified, the ENI limit for your Amazon ECS * container instances is affected. If containerInsights is specified, * the default setting for Amazon Web Services CloudWatch Container Insights for * your clusters is affected. If tagResourceAuthorization is * specified, the opt-in option for tagging resources on creation is affected. For * information about the opt-in timeline, see Tagging * authorization timeline in the Amazon ECS Developer Guide.

When * you specify fargateFIPSMode for the name and * enabled for the value, Fargate uses FIPS-140 compliant * cryptographic algorithms on your tasks. For more information about FIPS-140 * compliance with Fargate, see * Amazon Web Services Fargate Federal Information Processing Standard (FIPS) 140-2 * compliance in the Amazon Elastic Container Service Developer * Guide.

*/ inline const SettingName& GetName() const{ return m_name; } /** *

The resource name for which to modify the account setting. If * serviceLongArnFormat is specified, the ARN for your Amazon ECS * services is affected. If taskLongArnFormat is specified, the ARN * and resource ID for your Amazon ECS tasks is affected. If * containerInstanceLongArnFormat is specified, the ARN and resource * ID for your Amazon ECS container instances is affected. If * awsvpcTrunking is specified, the ENI limit for your Amazon ECS * container instances is affected. If containerInsights is specified, * the default setting for Amazon Web Services CloudWatch Container Insights for * your clusters is affected. If tagResourceAuthorization is * specified, the opt-in option for tagging resources on creation is affected. For * information about the opt-in timeline, see Tagging * authorization timeline in the Amazon ECS Developer Guide.

When * you specify fargateFIPSMode for the name and * enabled for the value, Fargate uses FIPS-140 compliant * cryptographic algorithms on your tasks. For more information about FIPS-140 * compliance with Fargate, see * Amazon Web Services Fargate Federal Information Processing Standard (FIPS) 140-2 * compliance in the Amazon Elastic Container Service Developer * Guide.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The resource name for which to modify the account setting. If * serviceLongArnFormat is specified, the ARN for your Amazon ECS * services is affected. If taskLongArnFormat is specified, the ARN * and resource ID for your Amazon ECS tasks is affected. If * containerInstanceLongArnFormat is specified, the ARN and resource * ID for your Amazon ECS container instances is affected. If * awsvpcTrunking is specified, the ENI limit for your Amazon ECS * container instances is affected. If containerInsights is specified, * the default setting for Amazon Web Services CloudWatch Container Insights for * your clusters is affected. If tagResourceAuthorization is * specified, the opt-in option for tagging resources on creation is affected. For * information about the opt-in timeline, see Tagging * authorization timeline in the Amazon ECS Developer Guide.

When * you specify fargateFIPSMode for the name and * enabled for the value, Fargate uses FIPS-140 compliant * cryptographic algorithms on your tasks. For more information about FIPS-140 * compliance with Fargate, see * Amazon Web Services Fargate Federal Information Processing Standard (FIPS) 140-2 * compliance in the Amazon Elastic Container Service Developer * Guide.

*/ inline void SetName(const SettingName& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The resource name for which to modify the account setting. If * serviceLongArnFormat is specified, the ARN for your Amazon ECS * services is affected. If taskLongArnFormat is specified, the ARN * and resource ID for your Amazon ECS tasks is affected. If * containerInstanceLongArnFormat is specified, the ARN and resource * ID for your Amazon ECS container instances is affected. If * awsvpcTrunking is specified, the ENI limit for your Amazon ECS * container instances is affected. If containerInsights is specified, * the default setting for Amazon Web Services CloudWatch Container Insights for * your clusters is affected. If tagResourceAuthorization is * specified, the opt-in option for tagging resources on creation is affected. For * information about the opt-in timeline, see Tagging * authorization timeline in the Amazon ECS Developer Guide.

When * you specify fargateFIPSMode for the name and * enabled for the value, Fargate uses FIPS-140 compliant * cryptographic algorithms on your tasks. For more information about FIPS-140 * compliance with Fargate, see * Amazon Web Services Fargate Federal Information Processing Standard (FIPS) 140-2 * compliance in the Amazon Elastic Container Service Developer * Guide.

*/ inline void SetName(SettingName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The resource name for which to modify the account setting. If * serviceLongArnFormat is specified, the ARN for your Amazon ECS * services is affected. If taskLongArnFormat is specified, the ARN * and resource ID for your Amazon ECS tasks is affected. If * containerInstanceLongArnFormat is specified, the ARN and resource * ID for your Amazon ECS container instances is affected. If * awsvpcTrunking is specified, the ENI limit for your Amazon ECS * container instances is affected. If containerInsights is specified, * the default setting for Amazon Web Services CloudWatch Container Insights for * your clusters is affected. If tagResourceAuthorization is * specified, the opt-in option for tagging resources on creation is affected. For * information about the opt-in timeline, see Tagging * authorization timeline in the Amazon ECS Developer Guide.

When * you specify fargateFIPSMode for the name and * enabled for the value, Fargate uses FIPS-140 compliant * cryptographic algorithms on your tasks. For more information about FIPS-140 * compliance with Fargate, see * Amazon Web Services Fargate Federal Information Processing Standard (FIPS) 140-2 * compliance in the Amazon Elastic Container Service Developer * Guide.

*/ inline PutAccountSettingDefaultRequest& WithName(const SettingName& value) { SetName(value); return *this;} /** *

The resource name for which to modify the account setting. If * serviceLongArnFormat is specified, the ARN for your Amazon ECS * services is affected. If taskLongArnFormat is specified, the ARN * and resource ID for your Amazon ECS tasks is affected. If * containerInstanceLongArnFormat is specified, the ARN and resource * ID for your Amazon ECS container instances is affected. If * awsvpcTrunking is specified, the ENI limit for your Amazon ECS * container instances is affected. If containerInsights is specified, * the default setting for Amazon Web Services CloudWatch Container Insights for * your clusters is affected. If tagResourceAuthorization is * specified, the opt-in option for tagging resources on creation is affected. For * information about the opt-in timeline, see Tagging * authorization timeline in the Amazon ECS Developer Guide.

When * you specify fargateFIPSMode for the name and * enabled for the value, Fargate uses FIPS-140 compliant * cryptographic algorithms on your tasks. For more information about FIPS-140 * compliance with Fargate, see * Amazon Web Services Fargate Federal Information Processing Standard (FIPS) 140-2 * compliance in the Amazon Elastic Container Service Developer * Guide.

*/ inline PutAccountSettingDefaultRequest& WithName(SettingName&& value) { SetName(std::move(value)); return *this;} /** *

The account setting value for the specified principal ARN. Accepted values * are enabled, disabled, on, and * off.

*/ inline const Aws::String& GetValue() const{ return m_value; } /** *

The account setting value for the specified principal ARN. Accepted values * are enabled, disabled, on, and * off.

*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *

The account setting value for the specified principal ARN. Accepted values * are enabled, disabled, on, and * off.

*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *

The account setting value for the specified principal ARN. Accepted values * are enabled, disabled, on, and * off.

*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *

The account setting value for the specified principal ARN. Accepted values * are enabled, disabled, on, and * off.

*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *

The account setting value for the specified principal ARN. Accepted values * are enabled, disabled, on, and * off.

*/ inline PutAccountSettingDefaultRequest& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *

The account setting value for the specified principal ARN. Accepted values * are enabled, disabled, on, and * off.

*/ inline PutAccountSettingDefaultRequest& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *

The account setting value for the specified principal ARN. Accepted values * are enabled, disabled, on, and * off.

*/ inline PutAccountSettingDefaultRequest& WithValue(const char* value) { SetValue(value); return *this;} private: SettingName m_name; bool m_nameHasBeenSet = false; Aws::String m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace ECS } // namespace Aws