AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchParameters.h
1
6#pragma once
7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/events/model/BatchArrayProperties.h>
10#include <aws/events/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 CloudWatchEvents
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_CLOUDWATCHEVENTS_API BatchParameters();
38 AWS_CLOUDWATCHEVENTS_API BatchParameters(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLOUDWATCHEVENTS_API BatchParameters& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CLOUDWATCHEVENTS_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 inline void SetJobDefinition(const Aws::String& value) { m_jobDefinitionHasBeenSet = true; m_jobDefinition = value; }
51 inline void SetJobDefinition(Aws::String&& value) { m_jobDefinitionHasBeenSet = true; m_jobDefinition = std::move(value); }
52 inline void SetJobDefinition(const char* value) { m_jobDefinitionHasBeenSet = true; m_jobDefinition.assign(value); }
53 inline BatchParameters& WithJobDefinition(const Aws::String& value) { SetJobDefinition(value); return *this;}
54 inline BatchParameters& WithJobDefinition(Aws::String&& value) { SetJobDefinition(std::move(value)); return *this;}
55 inline BatchParameters& WithJobDefinition(const char* value) { SetJobDefinition(value); return *this;}
57
59
63 inline const Aws::String& GetJobName() const{ return m_jobName; }
64 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
65 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
66 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
67 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
68 inline BatchParameters& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
69 inline BatchParameters& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
70 inline BatchParameters& WithJobName(const char* value) { SetJobName(value); return *this;}
72
74
80 inline const BatchArrayProperties& GetArrayProperties() const{ return m_arrayProperties; }
81 inline bool ArrayPropertiesHasBeenSet() const { return m_arrayPropertiesHasBeenSet; }
82 inline void SetArrayProperties(const BatchArrayProperties& value) { m_arrayPropertiesHasBeenSet = true; m_arrayProperties = value; }
83 inline void SetArrayProperties(BatchArrayProperties&& value) { m_arrayPropertiesHasBeenSet = true; m_arrayProperties = std::move(value); }
84 inline BatchParameters& WithArrayProperties(const BatchArrayProperties& value) { SetArrayProperties(value); return *this;}
85 inline BatchParameters& WithArrayProperties(BatchArrayProperties&& value) { SetArrayProperties(std::move(value)); return *this;}
87
89
95 inline const BatchRetryStrategy& GetRetryStrategy() const{ return m_retryStrategy; }
96 inline bool RetryStrategyHasBeenSet() const { return m_retryStrategyHasBeenSet; }
97 inline void SetRetryStrategy(const BatchRetryStrategy& value) { m_retryStrategyHasBeenSet = true; m_retryStrategy = value; }
98 inline void SetRetryStrategy(BatchRetryStrategy&& value) { m_retryStrategyHasBeenSet = true; m_retryStrategy = std::move(value); }
99 inline BatchParameters& WithRetryStrategy(const BatchRetryStrategy& value) { SetRetryStrategy(value); return *this;}
100 inline BatchParameters& WithRetryStrategy(BatchRetryStrategy&& value) { SetRetryStrategy(std::move(value)); return *this;}
102 private:
103
104 Aws::String m_jobDefinition;
105 bool m_jobDefinitionHasBeenSet = false;
106
107 Aws::String m_jobName;
108 bool m_jobNameHasBeenSet = false;
109
110 BatchArrayProperties m_arrayProperties;
111 bool m_arrayPropertiesHasBeenSet = false;
112
113 BatchRetryStrategy m_retryStrategy;
114 bool m_retryStrategyHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace CloudWatchEvents
119} // namespace Aws
BatchParameters & WithJobDefinition(const char *value)
BatchParameters & WithRetryStrategy(const BatchRetryStrategy &value)
AWS_CLOUDWATCHEVENTS_API BatchParameters()
const BatchRetryStrategy & GetRetryStrategy() const
BatchParameters & WithRetryStrategy(BatchRetryStrategy &&value)
void SetArrayProperties(const BatchArrayProperties &value)
void SetJobName(const Aws::String &value)
void SetRetryStrategy(BatchRetryStrategy &&value)
BatchParameters & WithJobName(const Aws::String &value)
AWS_CLOUDWATCHEVENTS_API BatchParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchParameters & WithArrayProperties(BatchArrayProperties &&value)
BatchParameters & WithJobName(const char *value)
void SetRetryStrategy(const BatchRetryStrategy &value)
void SetJobDefinition(const Aws::String &value)
BatchParameters & WithJobName(Aws::String &&value)
BatchParameters & WithJobDefinition(Aws::String &&value)
void SetArrayProperties(BatchArrayProperties &&value)
AWS_CLOUDWATCHEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
const BatchArrayProperties & GetArrayProperties() const
BatchParameters & WithJobDefinition(const Aws::String &value)
BatchParameters & WithArrayProperties(const BatchArrayProperties &value)
AWS_CLOUDWATCHEVENTS_API BatchParameters(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue