AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AliasRoutingConfiguration.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Lambda
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_LAMBDA_API AliasRoutingConfiguration();
40 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Map<Aws::String, double>& GetAdditionalVersionWeights() const{ return m_additionalVersionWeights; }
48 inline bool AdditionalVersionWeightsHasBeenSet() const { return m_additionalVersionWeightsHasBeenSet; }
49 inline void SetAdditionalVersionWeights(const Aws::Map<Aws::String, double>& value) { m_additionalVersionWeightsHasBeenSet = true; m_additionalVersionWeights = value; }
50 inline void SetAdditionalVersionWeights(Aws::Map<Aws::String, double>&& value) { m_additionalVersionWeightsHasBeenSet = true; m_additionalVersionWeights = std::move(value); }
53 inline AliasRoutingConfiguration& AddAdditionalVersionWeights(const Aws::String& key, double value) { m_additionalVersionWeightsHasBeenSet = true; m_additionalVersionWeights.emplace(key, value); return *this; }
54 inline AliasRoutingConfiguration& AddAdditionalVersionWeights(Aws::String&& key, double value) { m_additionalVersionWeightsHasBeenSet = true; m_additionalVersionWeights.emplace(std::move(key), value); return *this; }
55 inline AliasRoutingConfiguration& AddAdditionalVersionWeights(const char* key, double value) { m_additionalVersionWeightsHasBeenSet = true; m_additionalVersionWeights.emplace(key, value); return *this; }
57 private:
58
59 Aws::Map<Aws::String, double> m_additionalVersionWeights;
60 bool m_additionalVersionWeightsHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace Lambda
65} // namespace Aws
AliasRoutingConfiguration & AddAdditionalVersionWeights(const Aws::String &key, double value)
void SetAdditionalVersionWeights(Aws::Map< Aws::String, double > &&value)
const Aws::Map< Aws::String, double > & GetAdditionalVersionWeights() const
AWS_LAMBDA_API AliasRoutingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
AliasRoutingConfiguration & AddAdditionalVersionWeights(Aws::String &&key, double value)
AliasRoutingConfiguration & AddAdditionalVersionWeights(const char *key, double value)
void SetAdditionalVersionWeights(const Aws::Map< Aws::String, double > &value)
AliasRoutingConfiguration & WithAdditionalVersionWeights(Aws::Map< Aws::String, double > &&value)
AWS_LAMBDA_API AliasRoutingConfiguration(Aws::Utils::Json::JsonView jsonValue)
AliasRoutingConfiguration & WithAdditionalVersionWeights(const Aws::Map< Aws::String, double > &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue