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

The names of the parameters to delete. After deleting a parameter, wait for * at least 30 seconds to create a parameter with the same name.

*/ inline const Aws::Vector& GetNames() const{ return m_names; } /** *

The names of the parameters to delete. After deleting a parameter, wait for * at least 30 seconds to create a parameter with the same name.

*/ inline bool NamesHasBeenSet() const { return m_namesHasBeenSet; } /** *

The names of the parameters to delete. After deleting a parameter, wait for * at least 30 seconds to create a parameter with the same name.

*/ inline void SetNames(const Aws::Vector& value) { m_namesHasBeenSet = true; m_names = value; } /** *

The names of the parameters to delete. After deleting a parameter, wait for * at least 30 seconds to create a parameter with the same name.

*/ inline void SetNames(Aws::Vector&& value) { m_namesHasBeenSet = true; m_names = std::move(value); } /** *

The names of the parameters to delete. After deleting a parameter, wait for * at least 30 seconds to create a parameter with the same name.

*/ inline DeleteParametersRequest& WithNames(const Aws::Vector& value) { SetNames(value); return *this;} /** *

The names of the parameters to delete. After deleting a parameter, wait for * at least 30 seconds to create a parameter with the same name.

*/ inline DeleteParametersRequest& WithNames(Aws::Vector&& value) { SetNames(std::move(value)); return *this;} /** *

The names of the parameters to delete. After deleting a parameter, wait for * at least 30 seconds to create a parameter with the same name.

*/ inline DeleteParametersRequest& AddNames(const Aws::String& value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; } /** *

The names of the parameters to delete. After deleting a parameter, wait for * at least 30 seconds to create a parameter with the same name.

*/ inline DeleteParametersRequest& AddNames(Aws::String&& value) { m_namesHasBeenSet = true; m_names.push_back(std::move(value)); return *this; } /** *

The names of the parameters to delete. After deleting a parameter, wait for * at least 30 seconds to create a parameter with the same name.

*/ inline DeleteParametersRequest& AddNames(const char* value) { m_namesHasBeenSet = true; m_names.push_back(value); return *this; } private: Aws::Vector m_names; bool m_namesHasBeenSet = false; }; } // namespace Model } // namespace SSM } // namespace Aws