/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The traffic-shifting
* configuration of a Lambda function alias.See Also:
AWS
* API Reference
The second version, and the percentage of traffic that's routed to it.
*/ inline const Aws::MapThe second version, and the percentage of traffic that's routed to it.
*/ inline bool AdditionalVersionWeightsHasBeenSet() const { return m_additionalVersionWeightsHasBeenSet; } /** *The second version, and the percentage of traffic that's routed to it.
*/ inline void SetAdditionalVersionWeights(const Aws::MapThe second version, and the percentage of traffic that's routed to it.
*/ inline void SetAdditionalVersionWeights(Aws::MapThe second version, and the percentage of traffic that's routed to it.
*/ inline AliasRoutingConfiguration& WithAdditionalVersionWeights(const Aws::MapThe second version, and the percentage of traffic that's routed to it.
*/ inline AliasRoutingConfiguration& WithAdditionalVersionWeights(Aws::MapThe second version, and the percentage of traffic that's routed to it.
*/ inline AliasRoutingConfiguration& AddAdditionalVersionWeights(const Aws::String& key, double value) { m_additionalVersionWeightsHasBeenSet = true; m_additionalVersionWeights.emplace(key, value); return *this; } /** *The second version, and the percentage of traffic that's routed to it.
*/ inline AliasRoutingConfiguration& AddAdditionalVersionWeights(Aws::String&& key, double value) { m_additionalVersionWeightsHasBeenSet = true; m_additionalVersionWeights.emplace(std::move(key), value); return *this; } /** *The second version, and the percentage of traffic that's routed to it.
*/ inline AliasRoutingConfiguration& AddAdditionalVersionWeights(const char* key, double value) { m_additionalVersionWeightsHasBeenSet = true; m_additionalVersionWeights.emplace(key, value); return *this; } private: Aws::Map