AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Environment.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
36 {
37 public:
38 AWS_LAMBDA_API Environment();
39 AWS_LAMBDA_API Environment(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::Map<Aws::String, Aws::String>& GetVariables() const{ return m_variables; }
51 inline bool VariablesHasBeenSet() const { return m_variablesHasBeenSet; }
52 inline void SetVariables(const Aws::Map<Aws::String, Aws::String>& value) { m_variablesHasBeenSet = true; m_variables = value; }
53 inline void SetVariables(Aws::Map<Aws::String, Aws::String>&& value) { m_variablesHasBeenSet = true; m_variables = std::move(value); }
54 inline Environment& WithVariables(const Aws::Map<Aws::String, Aws::String>& value) { SetVariables(value); return *this;}
55 inline Environment& WithVariables(Aws::Map<Aws::String, Aws::String>&& value) { SetVariables(std::move(value)); return *this;}
56 inline Environment& AddVariables(const Aws::String& key, const Aws::String& value) { m_variablesHasBeenSet = true; m_variables.emplace(key, value); return *this; }
57 inline Environment& AddVariables(Aws::String&& key, const Aws::String& value) { m_variablesHasBeenSet = true; m_variables.emplace(std::move(key), value); return *this; }
58 inline Environment& AddVariables(const Aws::String& key, Aws::String&& value) { m_variablesHasBeenSet = true; m_variables.emplace(key, std::move(value)); return *this; }
59 inline Environment& AddVariables(Aws::String&& key, Aws::String&& value) { m_variablesHasBeenSet = true; m_variables.emplace(std::move(key), std::move(value)); return *this; }
60 inline Environment& AddVariables(const char* key, Aws::String&& value) { m_variablesHasBeenSet = true; m_variables.emplace(key, std::move(value)); return *this; }
61 inline Environment& AddVariables(Aws::String&& key, const char* value) { m_variablesHasBeenSet = true; m_variables.emplace(std::move(key), value); return *this; }
62 inline Environment& AddVariables(const char* key, const char* value) { m_variablesHasBeenSet = true; m_variables.emplace(key, value); return *this; }
64 private:
65
67 bool m_variablesHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace Lambda
72} // namespace Aws
AWS_LAMBDA_API Environment & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetVariables() const
Definition Environment.h:50
void SetVariables(Aws::Map< Aws::String, Aws::String > &&value)
Definition Environment.h:53
Environment & AddVariables(const char *key, const char *value)
Definition Environment.h:62
void SetVariables(const Aws::Map< Aws::String, Aws::String > &value)
Definition Environment.h:52
Environment & AddVariables(Aws::String &&key, const Aws::String &value)
Definition Environment.h:57
Environment & AddVariables(const Aws::String &key, Aws::String &&value)
Definition Environment.h:58
Environment & WithVariables(Aws::Map< Aws::String, Aws::String > &&value)
Definition Environment.h:55
Environment & WithVariables(const Aws::Map< Aws::String, Aws::String > &value)
Definition Environment.h:54
Environment & AddVariables(Aws::String &&key, Aws::String &&value)
Definition Environment.h:59
AWS_LAMBDA_API Environment(Aws::Utils::Json::JsonView jsonValue)
Environment & AddVariables(const Aws::String &key, const Aws::String &value)
Definition Environment.h:56
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
Environment & AddVariables(const char *key, Aws::String &&value)
Definition Environment.h:60
Environment & AddVariables(Aws::String &&key, const char *value)
Definition Environment.h:61
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