/** * 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 AppRegistry { namespace Model { /** */ class PutConfigurationRequest : public AppRegistryRequest { public: AWS_APPREGISTRY_API PutConfigurationRequest(); // 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 "PutConfiguration"; } AWS_APPREGISTRY_API Aws::String SerializePayload() const override; /** *

Associates a TagKey configuration to an account.

*/ inline const AppRegistryConfiguration& GetConfiguration() const{ return m_configuration; } /** *

Associates a TagKey configuration to an account.

*/ inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; } /** *

Associates a TagKey configuration to an account.

*/ inline void SetConfiguration(const AppRegistryConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; } /** *

Associates a TagKey configuration to an account.

*/ inline void SetConfiguration(AppRegistryConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); } /** *

Associates a TagKey configuration to an account.

*/ inline PutConfigurationRequest& WithConfiguration(const AppRegistryConfiguration& value) { SetConfiguration(value); return *this;} /** *

Associates a TagKey configuration to an account.

*/ inline PutConfigurationRequest& WithConfiguration(AppRegistryConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} private: AppRegistryConfiguration m_configuration; bool m_configurationHasBeenSet = false; }; } // namespace Model } // namespace AppRegistry } // namespace Aws