/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace SSM { namespace Model { /** *

The request body of the ResetServiceSetting API action.

See * Also:

AWS * API Reference

*/ class AWS_SSM_API ResetServiceSettingRequest : public SSMRequest { public: ResetServiceSettingRequest(); // 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 "ResetServiceSetting"; } Aws::String SerializePayload() const override; Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The Amazon Resource Name (ARN) of the service setting to reset. The setting * ID can be /ssm/parameter-store/default-parameter-tier, * /ssm/parameter-store/high-throughput-enabled, or * /ssm/managed-instance/activation-tier. For example, * arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled.

*/ inline const Aws::String& GetSettingId() const{ return m_settingId; } /** *

The Amazon Resource Name (ARN) of the service setting to reset. The setting * ID can be /ssm/parameter-store/default-parameter-tier, * /ssm/parameter-store/high-throughput-enabled, or * /ssm/managed-instance/activation-tier. For example, * arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled.

*/ inline bool SettingIdHasBeenSet() const { return m_settingIdHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the service setting to reset. The setting * ID can be /ssm/parameter-store/default-parameter-tier, * /ssm/parameter-store/high-throughput-enabled, or * /ssm/managed-instance/activation-tier. For example, * arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled.

*/ inline void SetSettingId(const Aws::String& value) { m_settingIdHasBeenSet = true; m_settingId = value; } /** *

The Amazon Resource Name (ARN) of the service setting to reset. The setting * ID can be /ssm/parameter-store/default-parameter-tier, * /ssm/parameter-store/high-throughput-enabled, or * /ssm/managed-instance/activation-tier. For example, * arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled.

*/ inline void SetSettingId(Aws::String&& value) { m_settingIdHasBeenSet = true; m_settingId = std::move(value); } /** *

The Amazon Resource Name (ARN) of the service setting to reset. The setting * ID can be /ssm/parameter-store/default-parameter-tier, * /ssm/parameter-store/high-throughput-enabled, or * /ssm/managed-instance/activation-tier. For example, * arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled.

*/ inline void SetSettingId(const char* value) { m_settingIdHasBeenSet = true; m_settingId.assign(value); } /** *

The Amazon Resource Name (ARN) of the service setting to reset. The setting * ID can be /ssm/parameter-store/default-parameter-tier, * /ssm/parameter-store/high-throughput-enabled, or * /ssm/managed-instance/activation-tier. For example, * arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled.

*/ inline ResetServiceSettingRequest& WithSettingId(const Aws::String& value) { SetSettingId(value); return *this;} /** *

The Amazon Resource Name (ARN) of the service setting to reset. The setting * ID can be /ssm/parameter-store/default-parameter-tier, * /ssm/parameter-store/high-throughput-enabled, or * /ssm/managed-instance/activation-tier. For example, * arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled.

*/ inline ResetServiceSettingRequest& WithSettingId(Aws::String&& value) { SetSettingId(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the service setting to reset. The setting * ID can be /ssm/parameter-store/default-parameter-tier, * /ssm/parameter-store/high-throughput-enabled, or * /ssm/managed-instance/activation-tier. For example, * arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled.

*/ inline ResetServiceSettingRequest& WithSettingId(const char* value) { SetSettingId(value); return *this;} private: Aws::String m_settingId; bool m_settingIdHasBeenSet; }; } // namespace Model } // namespace SSM } // namespace Aws