AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsLambdaFunctionEnvironment.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/securityhub/model/AwsLambdaFunctionEnvironmentError.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SecurityHub
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_SECURITYHUB_API AwsLambdaFunctionEnvironment();
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Map<Aws::String, Aws::String>& GetVariables() const{ return m_variables; }
47 inline bool VariablesHasBeenSet() const { return m_variablesHasBeenSet; }
48 inline void SetVariables(const Aws::Map<Aws::String, Aws::String>& value) { m_variablesHasBeenSet = true; m_variables = value; }
49 inline void SetVariables(Aws::Map<Aws::String, Aws::String>&& value) { m_variablesHasBeenSet = true; m_variables = std::move(value); }
52 inline AwsLambdaFunctionEnvironment& AddVariables(const Aws::String& key, const Aws::String& value) { m_variablesHasBeenSet = true; m_variables.emplace(key, value); return *this; }
53 inline AwsLambdaFunctionEnvironment& AddVariables(Aws::String&& key, const Aws::String& value) { m_variablesHasBeenSet = true; m_variables.emplace(std::move(key), value); return *this; }
54 inline AwsLambdaFunctionEnvironment& AddVariables(const Aws::String& key, Aws::String&& value) { m_variablesHasBeenSet = true; m_variables.emplace(key, std::move(value)); return *this; }
55 inline AwsLambdaFunctionEnvironment& AddVariables(Aws::String&& key, Aws::String&& value) { m_variablesHasBeenSet = true; m_variables.emplace(std::move(key), std::move(value)); return *this; }
56 inline AwsLambdaFunctionEnvironment& AddVariables(const char* key, Aws::String&& value) { m_variablesHasBeenSet = true; m_variables.emplace(key, std::move(value)); return *this; }
57 inline AwsLambdaFunctionEnvironment& AddVariables(Aws::String&& key, const char* value) { m_variablesHasBeenSet = true; m_variables.emplace(std::move(key), value); return *this; }
58 inline AwsLambdaFunctionEnvironment& AddVariables(const char* key, const char* value) { m_variablesHasBeenSet = true; m_variables.emplace(key, value); return *this; }
60
62
65 inline const AwsLambdaFunctionEnvironmentError& GetError() const{ return m_error; }
66 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
67 inline void SetError(const AwsLambdaFunctionEnvironmentError& value) { m_errorHasBeenSet = true; m_error = value; }
68 inline void SetError(AwsLambdaFunctionEnvironmentError&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
70 inline AwsLambdaFunctionEnvironment& WithError(AwsLambdaFunctionEnvironmentError&& value) { SetError(std::move(value)); return *this;}
72 private:
73
75 bool m_variablesHasBeenSet = false;
76
78 bool m_errorHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace SecurityHub
83} // namespace Aws
void SetError(const AwsLambdaFunctionEnvironmentError &value)
AwsLambdaFunctionEnvironment & AddVariables(Aws::String &&key, const Aws::String &value)
AwsLambdaFunctionEnvironment & AddVariables(Aws::String &&key, Aws::String &&value)
AWS_SECURITYHUB_API AwsLambdaFunctionEnvironment(Aws::Utils::Json::JsonView jsonValue)
void SetVariables(const Aws::Map< Aws::String, Aws::String > &value)
AwsLambdaFunctionEnvironment & AddVariables(const Aws::String &key, const Aws::String &value)
void SetVariables(Aws::Map< Aws::String, Aws::String > &&value)
AwsLambdaFunctionEnvironment & WithError(AwsLambdaFunctionEnvironmentError &&value)
void SetError(AwsLambdaFunctionEnvironmentError &&value)
AwsLambdaFunctionEnvironment & AddVariables(Aws::String &&key, const char *value)
AWS_SECURITYHUB_API AwsLambdaFunctionEnvironment & operator=(Aws::Utils::Json::JsonView jsonValue)
const AwsLambdaFunctionEnvironmentError & GetError() const
AwsLambdaFunctionEnvironment & AddVariables(const char *key, Aws::String &&value)
AwsLambdaFunctionEnvironment & WithVariables(const Aws::Map< Aws::String, Aws::String > &value)
AwsLambdaFunctionEnvironment & AddVariables(const Aws::String &key, Aws::String &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsLambdaFunctionEnvironment & AddVariables(const char *key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetVariables() const
AwsLambdaFunctionEnvironment & WithError(const AwsLambdaFunctionEnvironmentError &value)
AwsLambdaFunctionEnvironment & WithVariables(Aws::Map< Aws::String, Aws::String > &&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