AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ExecutorConfiguration.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/model/JobWorkerExecutorConfiguration.h>
9#include <aws/codepipeline/model/LambdaExecutorConfiguration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CodePipeline {
21namespace Model {
22
31 public:
32 AWS_CODEPIPELINE_API ExecutorConfiguration() = default;
33 AWS_CODEPIPELINE_API ExecutorConfiguration(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const LambdaExecutorConfiguration& GetLambdaExecutorConfiguration() const { return m_lambdaExecutorConfiguration; }
42 inline bool LambdaExecutorConfigurationHasBeenSet() const { return m_lambdaExecutorConfigurationHasBeenSet; }
43 template <typename LambdaExecutorConfigurationT = LambdaExecutorConfiguration>
44 void SetLambdaExecutorConfiguration(LambdaExecutorConfigurationT&& value) {
45 m_lambdaExecutorConfigurationHasBeenSet = true;
46 m_lambdaExecutorConfiguration = std::forward<LambdaExecutorConfigurationT>(value);
47 }
48 template <typename LambdaExecutorConfigurationT = LambdaExecutorConfiguration>
49 ExecutorConfiguration& WithLambdaExecutorConfiguration(LambdaExecutorConfigurationT&& value) {
50 SetLambdaExecutorConfiguration(std::forward<LambdaExecutorConfigurationT>(value));
51 return *this;
52 }
54
56
59 inline const JobWorkerExecutorConfiguration& GetJobWorkerExecutorConfiguration() const { return m_jobWorkerExecutorConfiguration; }
60 inline bool JobWorkerExecutorConfigurationHasBeenSet() const { return m_jobWorkerExecutorConfigurationHasBeenSet; }
61 template <typename JobWorkerExecutorConfigurationT = JobWorkerExecutorConfiguration>
62 void SetJobWorkerExecutorConfiguration(JobWorkerExecutorConfigurationT&& value) {
63 m_jobWorkerExecutorConfigurationHasBeenSet = true;
64 m_jobWorkerExecutorConfiguration = std::forward<JobWorkerExecutorConfigurationT>(value);
65 }
66 template <typename JobWorkerExecutorConfigurationT = JobWorkerExecutorConfiguration>
67 ExecutorConfiguration& WithJobWorkerExecutorConfiguration(JobWorkerExecutorConfigurationT&& value) {
68 SetJobWorkerExecutorConfiguration(std::forward<JobWorkerExecutorConfigurationT>(value));
69 return *this;
70 }
72 private:
73 LambdaExecutorConfiguration m_lambdaExecutorConfiguration;
74
75 JobWorkerExecutorConfiguration m_jobWorkerExecutorConfiguration;
76 bool m_lambdaExecutorConfigurationHasBeenSet = false;
77 bool m_jobWorkerExecutorConfigurationHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace CodePipeline
82} // namespace Aws
void SetJobWorkerExecutorConfiguration(JobWorkerExecutorConfigurationT &&value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
const JobWorkerExecutorConfiguration & GetJobWorkerExecutorConfiguration() const
ExecutorConfiguration & WithLambdaExecutorConfiguration(LambdaExecutorConfigurationT &&value)
AWS_CODEPIPELINE_API ExecutorConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLambdaExecutorConfiguration(LambdaExecutorConfigurationT &&value)
const LambdaExecutorConfiguration & GetLambdaExecutorConfiguration() const
AWS_CODEPIPELINE_API ExecutorConfiguration(Aws::Utils::Json::JsonView jsonValue)
ExecutorConfiguration & WithJobWorkerExecutorConfiguration(JobWorkerExecutorConfigurationT &&value)
AWS_CODEPIPELINE_API ExecutorConfiguration()=default
Aws::Utils::Json::JsonValue JsonValue