AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Target.h
1
6#pragma once
7#include <aws/scheduler/Scheduler_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/scheduler/model/DeadLetterConfig.h>
10#include <aws/scheduler/model/EcsParameters.h>
11#include <aws/scheduler/model/EventBridgeParameters.h>
12#include <aws/scheduler/model/KinesisParameters.h>
13#include <aws/scheduler/model/RetryPolicy.h>
14#include <aws/scheduler/model/SageMakerPipelineParameters.h>
15#include <aws/scheduler/model/SqsParameters.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace Scheduler
29{
30namespace Model
31{
32
42 class Target
43 {
44 public:
45 AWS_SCHEDULER_API Target();
46 AWS_SCHEDULER_API Target(Aws::Utils::Json::JsonView jsonValue);
47 AWS_SCHEDULER_API Target& operator=(Aws::Utils::Json::JsonView jsonValue);
48 AWS_SCHEDULER_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
55 inline const Aws::String& GetArn() const{ return m_arn; }
56 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
57 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
58 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
59 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
60 inline Target& WithArn(const Aws::String& value) { SetArn(value); return *this;}
61 inline Target& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
62 inline Target& WithArn(const char* value) { SetArn(value); return *this;}
64
66
72 inline const DeadLetterConfig& GetDeadLetterConfig() const{ return m_deadLetterConfig; }
73 inline bool DeadLetterConfigHasBeenSet() const { return m_deadLetterConfigHasBeenSet; }
74 inline void SetDeadLetterConfig(const DeadLetterConfig& value) { m_deadLetterConfigHasBeenSet = true; m_deadLetterConfig = value; }
75 inline void SetDeadLetterConfig(DeadLetterConfig&& value) { m_deadLetterConfigHasBeenSet = true; m_deadLetterConfig = std::move(value); }
76 inline Target& WithDeadLetterConfig(const DeadLetterConfig& value) { SetDeadLetterConfig(value); return *this;}
77 inline Target& WithDeadLetterConfig(DeadLetterConfig&& value) { SetDeadLetterConfig(std::move(value)); return *this;}
79
81
86 inline const EcsParameters& GetEcsParameters() const{ return m_ecsParameters; }
87 inline bool EcsParametersHasBeenSet() const { return m_ecsParametersHasBeenSet; }
88 inline void SetEcsParameters(const EcsParameters& value) { m_ecsParametersHasBeenSet = true; m_ecsParameters = value; }
89 inline void SetEcsParameters(EcsParameters&& value) { m_ecsParametersHasBeenSet = true; m_ecsParameters = std::move(value); }
90 inline Target& WithEcsParameters(const EcsParameters& value) { SetEcsParameters(value); return *this;}
91 inline Target& WithEcsParameters(EcsParameters&& value) { SetEcsParameters(std::move(value)); return *this;}
93
95
100 inline const EventBridgeParameters& GetEventBridgeParameters() const{ return m_eventBridgeParameters; }
101 inline bool EventBridgeParametersHasBeenSet() const { return m_eventBridgeParametersHasBeenSet; }
102 inline void SetEventBridgeParameters(const EventBridgeParameters& value) { m_eventBridgeParametersHasBeenSet = true; m_eventBridgeParameters = value; }
103 inline void SetEventBridgeParameters(EventBridgeParameters&& value) { m_eventBridgeParametersHasBeenSet = true; m_eventBridgeParameters = std::move(value); }
105 inline Target& WithEventBridgeParameters(EventBridgeParameters&& value) { SetEventBridgeParameters(std::move(value)); return *this;}
107
109
116 inline const Aws::String& GetInput() const{ return m_input; }
117 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
118 inline void SetInput(const Aws::String& value) { m_inputHasBeenSet = true; m_input = value; }
119 inline void SetInput(Aws::String&& value) { m_inputHasBeenSet = true; m_input = std::move(value); }
120 inline void SetInput(const char* value) { m_inputHasBeenSet = true; m_input.assign(value); }
121 inline Target& WithInput(const Aws::String& value) { SetInput(value); return *this;}
122 inline Target& WithInput(Aws::String&& value) { SetInput(std::move(value)); return *this;}
123 inline Target& WithInput(const char* value) { SetInput(value); return *this;}
125
127
132 inline const KinesisParameters& GetKinesisParameters() const{ return m_kinesisParameters; }
133 inline bool KinesisParametersHasBeenSet() const { return m_kinesisParametersHasBeenSet; }
134 inline void SetKinesisParameters(const KinesisParameters& value) { m_kinesisParametersHasBeenSet = true; m_kinesisParameters = value; }
135 inline void SetKinesisParameters(KinesisParameters&& value) { m_kinesisParametersHasBeenSet = true; m_kinesisParameters = std::move(value); }
136 inline Target& WithKinesisParameters(const KinesisParameters& value) { SetKinesisParameters(value); return *this;}
137 inline Target& WithKinesisParameters(KinesisParameters&& value) { SetKinesisParameters(std::move(value)); return *this;}
139
141
146 inline const RetryPolicy& GetRetryPolicy() const{ return m_retryPolicy; }
147 inline bool RetryPolicyHasBeenSet() const { return m_retryPolicyHasBeenSet; }
148 inline void SetRetryPolicy(const RetryPolicy& value) { m_retryPolicyHasBeenSet = true; m_retryPolicy = value; }
149 inline void SetRetryPolicy(RetryPolicy&& value) { m_retryPolicyHasBeenSet = true; m_retryPolicy = std::move(value); }
150 inline Target& WithRetryPolicy(const RetryPolicy& value) { SetRetryPolicy(value); return *this;}
151 inline Target& WithRetryPolicy(RetryPolicy&& value) { SetRetryPolicy(std::move(value)); return *this;}
153
155
159 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
160 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
161 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
162 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
163 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
164 inline Target& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
165 inline Target& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
166 inline Target& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
168
170
175 inline const SageMakerPipelineParameters& GetSageMakerPipelineParameters() const{ return m_sageMakerPipelineParameters; }
176 inline bool SageMakerPipelineParametersHasBeenSet() const { return m_sageMakerPipelineParametersHasBeenSet; }
177 inline void SetSageMakerPipelineParameters(const SageMakerPipelineParameters& value) { m_sageMakerPipelineParametersHasBeenSet = true; m_sageMakerPipelineParameters = value; }
178 inline void SetSageMakerPipelineParameters(SageMakerPipelineParameters&& value) { m_sageMakerPipelineParametersHasBeenSet = true; m_sageMakerPipelineParameters = std::move(value); }
182
184
195 inline const SqsParameters& GetSqsParameters() const{ return m_sqsParameters; }
196 inline bool SqsParametersHasBeenSet() const { return m_sqsParametersHasBeenSet; }
197 inline void SetSqsParameters(const SqsParameters& value) { m_sqsParametersHasBeenSet = true; m_sqsParameters = value; }
198 inline void SetSqsParameters(SqsParameters&& value) { m_sqsParametersHasBeenSet = true; m_sqsParameters = std::move(value); }
199 inline Target& WithSqsParameters(const SqsParameters& value) { SetSqsParameters(value); return *this;}
200 inline Target& WithSqsParameters(SqsParameters&& value) { SetSqsParameters(std::move(value)); return *this;}
202 private:
203
204 Aws::String m_arn;
205 bool m_arnHasBeenSet = false;
206
207 DeadLetterConfig m_deadLetterConfig;
208 bool m_deadLetterConfigHasBeenSet = false;
209
210 EcsParameters m_ecsParameters;
211 bool m_ecsParametersHasBeenSet = false;
212
213 EventBridgeParameters m_eventBridgeParameters;
214 bool m_eventBridgeParametersHasBeenSet = false;
215
216 Aws::String m_input;
217 bool m_inputHasBeenSet = false;
218
219 KinesisParameters m_kinesisParameters;
220 bool m_kinesisParametersHasBeenSet = false;
221
222 RetryPolicy m_retryPolicy;
223 bool m_retryPolicyHasBeenSet = false;
224
225 Aws::String m_roleArn;
226 bool m_roleArnHasBeenSet = false;
227
228 SageMakerPipelineParameters m_sageMakerPipelineParameters;
229 bool m_sageMakerPipelineParametersHasBeenSet = false;
230
231 SqsParameters m_sqsParameters;
232 bool m_sqsParametersHasBeenSet = false;
233 };
234
235} // namespace Model
236} // namespace Scheduler
237} // namespace Aws
void SetEventBridgeParameters(const EventBridgeParameters &value)
Definition Target.h:102
Target & WithEventBridgeParameters(EventBridgeParameters &&value)
Definition Target.h:105
Target & WithEcsParameters(EcsParameters &&value)
Definition Target.h:91
const Aws::String & GetInput() const
Definition Target.h:116
Target & WithSageMakerPipelineParameters(SageMakerPipelineParameters &&value)
Definition Target.h:180
void SetSqsParameters(const SqsParameters &value)
Definition Target.h:197
const Aws::String & GetArn() const
Definition Target.h:55
Target & WithEcsParameters(const EcsParameters &value)
Definition Target.h:90
bool SqsParametersHasBeenSet() const
Definition Target.h:196
Target & WithSageMakerPipelineParameters(const SageMakerPipelineParameters &value)
Definition Target.h:179
bool ArnHasBeenSet() const
Definition Target.h:56
void SetKinesisParameters(KinesisParameters &&value)
Definition Target.h:135
void SetRoleArn(const Aws::String &value)
Definition Target.h:161
bool EcsParametersHasBeenSet() const
Definition Target.h:87
Target & WithSqsParameters(SqsParameters &&value)
Definition Target.h:200
Target & WithDeadLetterConfig(DeadLetterConfig &&value)
Definition Target.h:77
Target & WithEventBridgeParameters(const EventBridgeParameters &value)
Definition Target.h:104
Target & WithKinesisParameters(KinesisParameters &&value)
Definition Target.h:137
Target & WithInput(const Aws::String &value)
Definition Target.h:121
Target & WithDeadLetterConfig(const DeadLetterConfig &value)
Definition Target.h:76
void SetRetryPolicy(const RetryPolicy &value)
Definition Target.h:148
void SetDeadLetterConfig(const DeadLetterConfig &value)
Definition Target.h:74
const SageMakerPipelineParameters & GetSageMakerPipelineParameters() const
Definition Target.h:175
void SetRoleArn(Aws::String &&value)
Definition Target.h:162
AWS_SCHEDULER_API Target()
Target & WithRoleArn(const Aws::String &value)
Definition Target.h:164
const RetryPolicy & GetRetryPolicy() const
Definition Target.h:146
Target & WithRoleArn(Aws::String &&value)
Definition Target.h:165
Target & WithRetryPolicy(RetryPolicy &&value)
Definition Target.h:151
Target & WithRetryPolicy(const RetryPolicy &value)
Definition Target.h:150
bool RetryPolicyHasBeenSet() const
Definition Target.h:147
void SetArn(Aws::String &&value)
Definition Target.h:58
Target & WithInput(const char *value)
Definition Target.h:123
bool KinesisParametersHasBeenSet() const
Definition Target.h:133
void SetSageMakerPipelineParameters(const SageMakerPipelineParameters &value)
Definition Target.h:177
void SetArn(const Aws::String &value)
Definition Target.h:57
bool DeadLetterConfigHasBeenSet() const
Definition Target.h:73
bool EventBridgeParametersHasBeenSet() const
Definition Target.h:101
void SetKinesisParameters(const KinesisParameters &value)
Definition Target.h:134
bool RoleArnHasBeenSet() const
Definition Target.h:160
const KinesisParameters & GetKinesisParameters() const
Definition Target.h:132
bool InputHasBeenSet() const
Definition Target.h:117
AWS_SCHEDULER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEcsParameters(const EcsParameters &value)
Definition Target.h:88
Target & WithKinesisParameters(const KinesisParameters &value)
Definition Target.h:136
Target & WithSqsParameters(const SqsParameters &value)
Definition Target.h:199
void SetRetryPolicy(RetryPolicy &&value)
Definition Target.h:149
void SetInput(const char *value)
Definition Target.h:120
const DeadLetterConfig & GetDeadLetterConfig() const
Definition Target.h:72
bool SageMakerPipelineParametersHasBeenSet() const
Definition Target.h:176
void SetEcsParameters(EcsParameters &&value)
Definition Target.h:89
Target & WithArn(Aws::String &&value)
Definition Target.h:61
Target & WithArn(const char *value)
Definition Target.h:62
const Aws::String & GetRoleArn() const
Definition Target.h:159
Target & WithRoleArn(const char *value)
Definition Target.h:166
void SetSqsParameters(SqsParameters &&value)
Definition Target.h:198
void SetArn(const char *value)
Definition Target.h:59
AWS_SCHEDULER_API Target & operator=(Aws::Utils::Json::JsonView jsonValue)
Target & WithArn(const Aws::String &value)
Definition Target.h:60
void SetInput(const Aws::String &value)
Definition Target.h:118
const EcsParameters & GetEcsParameters() const
Definition Target.h:86
void SetInput(Aws::String &&value)
Definition Target.h:119
void SetSageMakerPipelineParameters(SageMakerPipelineParameters &&value)
Definition Target.h:178
AWS_SCHEDULER_API Target(Aws::Utils::Json::JsonView jsonValue)
const SqsParameters & GetSqsParameters() const
Definition Target.h:195
const EventBridgeParameters & GetEventBridgeParameters() const
Definition Target.h:100
void SetRoleArn(const char *value)
Definition Target.h:163
void SetDeadLetterConfig(DeadLetterConfig &&value)
Definition Target.h:75
void SetEventBridgeParameters(EventBridgeParameters &&value)
Definition Target.h:103
Target & WithInput(Aws::String &&value)
Definition Target.h:122
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue