AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BatchParameters.h
1
6#pragma once
7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/eventbridge/model/BatchArrayProperties.h>
10#include <aws/eventbridge/model/BatchRetryStrategy.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 EventBridge
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_EVENTBRIDGE_API BatchParameters() = default;
38 AWS_EVENTBRIDGE_API BatchParameters(Aws::Utils::Json::JsonView jsonValue);
39 AWS_EVENTBRIDGE_API BatchParameters& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetJobDefinition() const { return m_jobDefinition; }
49 inline bool JobDefinitionHasBeenSet() const { return m_jobDefinitionHasBeenSet; }
50 template<typename JobDefinitionT = Aws::String>
51 void SetJobDefinition(JobDefinitionT&& value) { m_jobDefinitionHasBeenSet = true; m_jobDefinition = std::forward<JobDefinitionT>(value); }
52 template<typename JobDefinitionT = Aws::String>
53 BatchParameters& WithJobDefinition(JobDefinitionT&& value) { SetJobDefinition(std::forward<JobDefinitionT>(value)); return *this;}
55
57
61 inline const Aws::String& GetJobName() const { return m_jobName; }
62 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
63 template<typename JobNameT = Aws::String>
64 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
65 template<typename JobNameT = Aws::String>
66 BatchParameters& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
68
70
76 inline const BatchArrayProperties& GetArrayProperties() const { return m_arrayProperties; }
77 inline bool ArrayPropertiesHasBeenSet() const { return m_arrayPropertiesHasBeenSet; }
78 template<typename ArrayPropertiesT = BatchArrayProperties>
79 void SetArrayProperties(ArrayPropertiesT&& value) { m_arrayPropertiesHasBeenSet = true; m_arrayProperties = std::forward<ArrayPropertiesT>(value); }
80 template<typename ArrayPropertiesT = BatchArrayProperties>
81 BatchParameters& WithArrayProperties(ArrayPropertiesT&& value) { SetArrayProperties(std::forward<ArrayPropertiesT>(value)); return *this;}
83
85
91 inline const BatchRetryStrategy& GetRetryStrategy() const { return m_retryStrategy; }
92 inline bool RetryStrategyHasBeenSet() const { return m_retryStrategyHasBeenSet; }
93 template<typename RetryStrategyT = BatchRetryStrategy>
94 void SetRetryStrategy(RetryStrategyT&& value) { m_retryStrategyHasBeenSet = true; m_retryStrategy = std::forward<RetryStrategyT>(value); }
95 template<typename RetryStrategyT = BatchRetryStrategy>
96 BatchParameters& WithRetryStrategy(RetryStrategyT&& value) { SetRetryStrategy(std::forward<RetryStrategyT>(value)); return *this;}
98 private:
99
100 Aws::String m_jobDefinition;
101 bool m_jobDefinitionHasBeenSet = false;
102
103 Aws::String m_jobName;
104 bool m_jobNameHasBeenSet = false;
105
106 BatchArrayProperties m_arrayProperties;
107 bool m_arrayPropertiesHasBeenSet = false;
108
109 BatchRetryStrategy m_retryStrategy;
110 bool m_retryStrategyHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace EventBridge
115} // namespace Aws
BatchParameters & WithRetryStrategy(RetryStrategyT &&value)
AWS_EVENTBRIDGE_API BatchParameters()=default
BatchParameters & WithArrayProperties(ArrayPropertiesT &&value)
const BatchRetryStrategy & GetRetryStrategy() const
BatchParameters & WithJobDefinition(JobDefinitionT &&value)
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetJobDefinition() const
BatchParameters & WithJobName(JobNameT &&value)
void SetJobDefinition(JobDefinitionT &&value)
void SetRetryStrategy(RetryStrategyT &&value)
AWS_EVENTBRIDGE_API BatchParameters(Aws::Utils::Json::JsonView jsonValue)
const BatchArrayProperties & GetArrayProperties() const
const Aws::String & GetJobName() const
AWS_EVENTBRIDGE_API BatchParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArrayProperties(ArrayPropertiesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue