AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RuntimeVersionConfig.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lambda/model/RuntimeVersionError.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
34 {
35 public:
36 AWS_LAMBDA_API RuntimeVersionConfig();
39 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetRuntimeVersionArn() const{ return m_runtimeVersionArn; }
47 inline bool RuntimeVersionArnHasBeenSet() const { return m_runtimeVersionArnHasBeenSet; }
48 inline void SetRuntimeVersionArn(const Aws::String& value) { m_runtimeVersionArnHasBeenSet = true; m_runtimeVersionArn = value; }
49 inline void SetRuntimeVersionArn(Aws::String&& value) { m_runtimeVersionArnHasBeenSet = true; m_runtimeVersionArn = std::move(value); }
50 inline void SetRuntimeVersionArn(const char* value) { m_runtimeVersionArnHasBeenSet = true; m_runtimeVersionArn.assign(value); }
51 inline RuntimeVersionConfig& WithRuntimeVersionArn(const Aws::String& value) { SetRuntimeVersionArn(value); return *this;}
52 inline RuntimeVersionConfig& WithRuntimeVersionArn(Aws::String&& value) { SetRuntimeVersionArn(std::move(value)); return *this;}
53 inline RuntimeVersionConfig& WithRuntimeVersionArn(const char* value) { SetRuntimeVersionArn(value); return *this;}
55
57
61 inline const RuntimeVersionError& GetError() const{ return m_error; }
62 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
63 inline void SetError(const RuntimeVersionError& value) { m_errorHasBeenSet = true; m_error = value; }
64 inline void SetError(RuntimeVersionError&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
65 inline RuntimeVersionConfig& WithError(const RuntimeVersionError& value) { SetError(value); return *this;}
66 inline RuntimeVersionConfig& WithError(RuntimeVersionError&& value) { SetError(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_runtimeVersionArn;
71 bool m_runtimeVersionArnHasBeenSet = false;
72
73 RuntimeVersionError m_error;
74 bool m_errorHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Lambda
79} // namespace Aws
AWS_LAMBDA_API RuntimeVersionConfig(Aws::Utils::Json::JsonView jsonValue)
void SetError(const RuntimeVersionError &value)
const RuntimeVersionError & GetError() const
RuntimeVersionConfig & WithError(RuntimeVersionError &&value)
RuntimeVersionConfig & WithError(const RuntimeVersionError &value)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
RuntimeVersionConfig & WithRuntimeVersionArn(const Aws::String &value)
AWS_LAMBDA_API RuntimeVersionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRuntimeVersionArn(const Aws::String &value)
RuntimeVersionConfig & WithRuntimeVersionArn(Aws::String &&value)
RuntimeVersionConfig & WithRuntimeVersionArn(const char *value)
void SetError(RuntimeVersionError &&value)
const Aws::String & GetRuntimeVersionArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue