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-ssm/include/aws/ssm/model/UpdateServiceSettingRequest.h

222 lines
11 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/ssm/SSM_EXPORTS.h>
#include <aws/ssm/SSMRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace SSM
{
namespace Model
{
/**
* <p>The request body of the UpdateServiceSetting API action.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateServiceSettingRequest">AWS
* API Reference</a></p>
*/
class AWS_SSM_API UpdateServiceSettingRequest : public SSMRequest
{
public:
UpdateServiceSettingRequest();
// 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 "UpdateServiceSetting"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The Amazon Resource Name (ARN) of the service setting to reset. For example,
* <code>arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled</code>.
* The setting ID can be one of the following.</p> <ul> <li> <p>
* <code>/ssm/parameter-store/default-parameter-tier</code> </p> </li> <li> <p>
* <code>/ssm/parameter-store/high-throughput-enabled</code> </p> </li> <li> <p>
* <code>/ssm/managed-instance/activation-tier</code> </p> </li> </ul>
*/
inline const Aws::String& GetSettingId() const{ return m_settingId; }
/**
* <p>The Amazon Resource Name (ARN) of the service setting to reset. For example,
* <code>arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled</code>.
* The setting ID can be one of the following.</p> <ul> <li> <p>
* <code>/ssm/parameter-store/default-parameter-tier</code> </p> </li> <li> <p>
* <code>/ssm/parameter-store/high-throughput-enabled</code> </p> </li> <li> <p>
* <code>/ssm/managed-instance/activation-tier</code> </p> </li> </ul>
*/
inline bool SettingIdHasBeenSet() const { return m_settingIdHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the service setting to reset. For example,
* <code>arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled</code>.
* The setting ID can be one of the following.</p> <ul> <li> <p>
* <code>/ssm/parameter-store/default-parameter-tier</code> </p> </li> <li> <p>
* <code>/ssm/parameter-store/high-throughput-enabled</code> </p> </li> <li> <p>
* <code>/ssm/managed-instance/activation-tier</code> </p> </li> </ul>
*/
inline void SetSettingId(const Aws::String& value) { m_settingIdHasBeenSet = true; m_settingId = value; }
/**
* <p>The Amazon Resource Name (ARN) of the service setting to reset. For example,
* <code>arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled</code>.
* The setting ID can be one of the following.</p> <ul> <li> <p>
* <code>/ssm/parameter-store/default-parameter-tier</code> </p> </li> <li> <p>
* <code>/ssm/parameter-store/high-throughput-enabled</code> </p> </li> <li> <p>
* <code>/ssm/managed-instance/activation-tier</code> </p> </li> </ul>
*/
inline void SetSettingId(Aws::String&& value) { m_settingIdHasBeenSet = true; m_settingId = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the service setting to reset. For example,
* <code>arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled</code>.
* The setting ID can be one of the following.</p> <ul> <li> <p>
* <code>/ssm/parameter-store/default-parameter-tier</code> </p> </li> <li> <p>
* <code>/ssm/parameter-store/high-throughput-enabled</code> </p> </li> <li> <p>
* <code>/ssm/managed-instance/activation-tier</code> </p> </li> </ul>
*/
inline void SetSettingId(const char* value) { m_settingIdHasBeenSet = true; m_settingId.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the service setting to reset. For example,
* <code>arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled</code>.
* The setting ID can be one of the following.</p> <ul> <li> <p>
* <code>/ssm/parameter-store/default-parameter-tier</code> </p> </li> <li> <p>
* <code>/ssm/parameter-store/high-throughput-enabled</code> </p> </li> <li> <p>
* <code>/ssm/managed-instance/activation-tier</code> </p> </li> </ul>
*/
inline UpdateServiceSettingRequest& WithSettingId(const Aws::String& value) { SetSettingId(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the service setting to reset. For example,
* <code>arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled</code>.
* The setting ID can be one of the following.</p> <ul> <li> <p>
* <code>/ssm/parameter-store/default-parameter-tier</code> </p> </li> <li> <p>
* <code>/ssm/parameter-store/high-throughput-enabled</code> </p> </li> <li> <p>
* <code>/ssm/managed-instance/activation-tier</code> </p> </li> </ul>
*/
inline UpdateServiceSettingRequest& WithSettingId(Aws::String&& value) { SetSettingId(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the service setting to reset. For example,
* <code>arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled</code>.
* The setting ID can be one of the following.</p> <ul> <li> <p>
* <code>/ssm/parameter-store/default-parameter-tier</code> </p> </li> <li> <p>
* <code>/ssm/parameter-store/high-throughput-enabled</code> </p> </li> <li> <p>
* <code>/ssm/managed-instance/activation-tier</code> </p> </li> </ul>
*/
inline UpdateServiceSettingRequest& WithSettingId(const char* value) { SetSettingId(value); return *this;}
/**
* <p>The new value to specify for the service setting. For the
* <code>/ssm/parameter-store/default-parameter-tier</code> setting ID, the setting
* value can be one of the following.</p> <ul> <li> <p>Standard</p> </li> <li>
* <p>Advanced</p> </li> <li> <p>Intelligent-Tiering</p> </li> </ul> <p>For the
* <code>/ssm/parameter-store/high-throughput-enabled</code>, and
* <code>/ssm/managed-instance/activation-tier</code> setting IDs, the setting
* value can be true or false.</p>
*/
inline const Aws::String& GetSettingValue() const{ return m_settingValue; }
/**
* <p>The new value to specify for the service setting. For the
* <code>/ssm/parameter-store/default-parameter-tier</code> setting ID, the setting
* value can be one of the following.</p> <ul> <li> <p>Standard</p> </li> <li>
* <p>Advanced</p> </li> <li> <p>Intelligent-Tiering</p> </li> </ul> <p>For the
* <code>/ssm/parameter-store/high-throughput-enabled</code>, and
* <code>/ssm/managed-instance/activation-tier</code> setting IDs, the setting
* value can be true or false.</p>
*/
inline bool SettingValueHasBeenSet() const { return m_settingValueHasBeenSet; }
/**
* <p>The new value to specify for the service setting. For the
* <code>/ssm/parameter-store/default-parameter-tier</code> setting ID, the setting
* value can be one of the following.</p> <ul> <li> <p>Standard</p> </li> <li>
* <p>Advanced</p> </li> <li> <p>Intelligent-Tiering</p> </li> </ul> <p>For the
* <code>/ssm/parameter-store/high-throughput-enabled</code>, and
* <code>/ssm/managed-instance/activation-tier</code> setting IDs, the setting
* value can be true or false.</p>
*/
inline void SetSettingValue(const Aws::String& value) { m_settingValueHasBeenSet = true; m_settingValue = value; }
/**
* <p>The new value to specify for the service setting. For the
* <code>/ssm/parameter-store/default-parameter-tier</code> setting ID, the setting
* value can be one of the following.</p> <ul> <li> <p>Standard</p> </li> <li>
* <p>Advanced</p> </li> <li> <p>Intelligent-Tiering</p> </li> </ul> <p>For the
* <code>/ssm/parameter-store/high-throughput-enabled</code>, and
* <code>/ssm/managed-instance/activation-tier</code> setting IDs, the setting
* value can be true or false.</p>
*/
inline void SetSettingValue(Aws::String&& value) { m_settingValueHasBeenSet = true; m_settingValue = std::move(value); }
/**
* <p>The new value to specify for the service setting. For the
* <code>/ssm/parameter-store/default-parameter-tier</code> setting ID, the setting
* value can be one of the following.</p> <ul> <li> <p>Standard</p> </li> <li>
* <p>Advanced</p> </li> <li> <p>Intelligent-Tiering</p> </li> </ul> <p>For the
* <code>/ssm/parameter-store/high-throughput-enabled</code>, and
* <code>/ssm/managed-instance/activation-tier</code> setting IDs, the setting
* value can be true or false.</p>
*/
inline void SetSettingValue(const char* value) { m_settingValueHasBeenSet = true; m_settingValue.assign(value); }
/**
* <p>The new value to specify for the service setting. For the
* <code>/ssm/parameter-store/default-parameter-tier</code> setting ID, the setting
* value can be one of the following.</p> <ul> <li> <p>Standard</p> </li> <li>
* <p>Advanced</p> </li> <li> <p>Intelligent-Tiering</p> </li> </ul> <p>For the
* <code>/ssm/parameter-store/high-throughput-enabled</code>, and
* <code>/ssm/managed-instance/activation-tier</code> setting IDs, the setting
* value can be true or false.</p>
*/
inline UpdateServiceSettingRequest& WithSettingValue(const Aws::String& value) { SetSettingValue(value); return *this;}
/**
* <p>The new value to specify for the service setting. For the
* <code>/ssm/parameter-store/default-parameter-tier</code> setting ID, the setting
* value can be one of the following.</p> <ul> <li> <p>Standard</p> </li> <li>
* <p>Advanced</p> </li> <li> <p>Intelligent-Tiering</p> </li> </ul> <p>For the
* <code>/ssm/parameter-store/high-throughput-enabled</code>, and
* <code>/ssm/managed-instance/activation-tier</code> setting IDs, the setting
* value can be true or false.</p>
*/
inline UpdateServiceSettingRequest& WithSettingValue(Aws::String&& value) { SetSettingValue(std::move(value)); return *this;}
/**
* <p>The new value to specify for the service setting. For the
* <code>/ssm/parameter-store/default-parameter-tier</code> setting ID, the setting
* value can be one of the following.</p> <ul> <li> <p>Standard</p> </li> <li>
* <p>Advanced</p> </li> <li> <p>Intelligent-Tiering</p> </li> </ul> <p>For the
* <code>/ssm/parameter-store/high-throughput-enabled</code>, and
* <code>/ssm/managed-instance/activation-tier</code> setting IDs, the setting
* value can be true or false.</p>
*/
inline UpdateServiceSettingRequest& WithSettingValue(const char* value) { SetSettingValue(value); return *this;}
private:
Aws::String m_settingId;
bool m_settingIdHasBeenSet;
Aws::String m_settingValue;
bool m_settingValueHasBeenSet;
};
} // namespace Model
} // namespace SSM
} // namespace Aws