AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Action.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/glue/model/NotificationProperty.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 Glue
24{
25namespace Model
26{
27
33 class Action
34 {
35 public:
36 AWS_GLUE_API Action();
37 AWS_GLUE_API Action(Aws::Utils::Json::JsonView jsonValue);
40
41
43
46 inline const Aws::String& GetJobName() const{ return m_jobName; }
47 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
48 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
49 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
50 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
51 inline Action& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
52 inline Action& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
53 inline Action& WithJobName(const char* value) { SetJobName(value); return *this;}
55
57
69 inline const Aws::Map<Aws::String, Aws::String>& GetArguments() const{ return m_arguments; }
70 inline bool ArgumentsHasBeenSet() const { return m_argumentsHasBeenSet; }
71 inline void SetArguments(const Aws::Map<Aws::String, Aws::String>& value) { m_argumentsHasBeenSet = true; m_arguments = value; }
72 inline void SetArguments(Aws::Map<Aws::String, Aws::String>&& value) { m_argumentsHasBeenSet = true; m_arguments = std::move(value); }
73 inline Action& WithArguments(const Aws::Map<Aws::String, Aws::String>& value) { SetArguments(value); return *this;}
74 inline Action& WithArguments(Aws::Map<Aws::String, Aws::String>&& value) { SetArguments(std::move(value)); return *this;}
75 inline Action& AddArguments(const Aws::String& key, const Aws::String& value) { m_argumentsHasBeenSet = true; m_arguments.emplace(key, value); return *this; }
76 inline Action& AddArguments(Aws::String&& key, const Aws::String& value) { m_argumentsHasBeenSet = true; m_arguments.emplace(std::move(key), value); return *this; }
77 inline Action& AddArguments(const Aws::String& key, Aws::String&& value) { m_argumentsHasBeenSet = true; m_arguments.emplace(key, std::move(value)); return *this; }
78 inline Action& AddArguments(Aws::String&& key, Aws::String&& value) { m_argumentsHasBeenSet = true; m_arguments.emplace(std::move(key), std::move(value)); return *this; }
79 inline Action& AddArguments(const char* key, Aws::String&& value) { m_argumentsHasBeenSet = true; m_arguments.emplace(key, std::move(value)); return *this; }
80 inline Action& AddArguments(Aws::String&& key, const char* value) { m_argumentsHasBeenSet = true; m_arguments.emplace(std::move(key), value); return *this; }
81 inline Action& AddArguments(const char* key, const char* value) { m_argumentsHasBeenSet = true; m_arguments.emplace(key, value); return *this; }
83
85
91 inline int GetTimeout() const{ return m_timeout; }
92 inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
93 inline void SetTimeout(int value) { m_timeoutHasBeenSet = true; m_timeout = value; }
94 inline Action& WithTimeout(int value) { SetTimeout(value); return *this;}
96
98
102 inline const Aws::String& GetSecurityConfiguration() const{ return m_securityConfiguration; }
103 inline bool SecurityConfigurationHasBeenSet() const { return m_securityConfigurationHasBeenSet; }
104 inline void SetSecurityConfiguration(const Aws::String& value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration = value; }
105 inline void SetSecurityConfiguration(Aws::String&& value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration = std::move(value); }
106 inline void SetSecurityConfiguration(const char* value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration.assign(value); }
107 inline Action& WithSecurityConfiguration(const Aws::String& value) { SetSecurityConfiguration(value); return *this;}
108 inline Action& WithSecurityConfiguration(Aws::String&& value) { SetSecurityConfiguration(std::move(value)); return *this;}
109 inline Action& WithSecurityConfiguration(const char* value) { SetSecurityConfiguration(value); return *this;}
111
113
116 inline const NotificationProperty& GetNotificationProperty() const{ return m_notificationProperty; }
117 inline bool NotificationPropertyHasBeenSet() const { return m_notificationPropertyHasBeenSet; }
118 inline void SetNotificationProperty(const NotificationProperty& value) { m_notificationPropertyHasBeenSet = true; m_notificationProperty = value; }
119 inline void SetNotificationProperty(NotificationProperty&& value) { m_notificationPropertyHasBeenSet = true; m_notificationProperty = std::move(value); }
121 inline Action& WithNotificationProperty(NotificationProperty&& value) { SetNotificationProperty(std::move(value)); return *this;}
123
125
128 inline const Aws::String& GetCrawlerName() const{ return m_crawlerName; }
129 inline bool CrawlerNameHasBeenSet() const { return m_crawlerNameHasBeenSet; }
130 inline void SetCrawlerName(const Aws::String& value) { m_crawlerNameHasBeenSet = true; m_crawlerName = value; }
131 inline void SetCrawlerName(Aws::String&& value) { m_crawlerNameHasBeenSet = true; m_crawlerName = std::move(value); }
132 inline void SetCrawlerName(const char* value) { m_crawlerNameHasBeenSet = true; m_crawlerName.assign(value); }
133 inline Action& WithCrawlerName(const Aws::String& value) { SetCrawlerName(value); return *this;}
134 inline Action& WithCrawlerName(Aws::String&& value) { SetCrawlerName(std::move(value)); return *this;}
135 inline Action& WithCrawlerName(const char* value) { SetCrawlerName(value); return *this;}
137 private:
138
139 Aws::String m_jobName;
140 bool m_jobNameHasBeenSet = false;
141
143 bool m_argumentsHasBeenSet = false;
144
145 int m_timeout;
146 bool m_timeoutHasBeenSet = false;
147
148 Aws::String m_securityConfiguration;
149 bool m_securityConfigurationHasBeenSet = false;
150
151 NotificationProperty m_notificationProperty;
152 bool m_notificationPropertyHasBeenSet = false;
153
154 Aws::String m_crawlerName;
155 bool m_crawlerNameHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace Glue
160} // namespace Aws
void SetNotificationProperty(const NotificationProperty &value)
Definition Action.h:118
void SetCrawlerName(Aws::String &&value)
Definition Action.h:131
Action & AddArguments(Aws::String &&key, const Aws::String &value)
Definition Action.h:76
Action & WithSecurityConfiguration(const char *value)
Definition Action.h:109
const Aws::String & GetCrawlerName() const
Definition Action.h:128
AWS_GLUE_API Action(Aws::Utils::Json::JsonView jsonValue)
void SetTimeout(int value)
Definition Action.h:93
void SetCrawlerName(const char *value)
Definition Action.h:132
void SetJobName(const Aws::String &value)
Definition Action.h:48
Action & WithCrawlerName(const char *value)
Definition Action.h:135
void SetSecurityConfiguration(Aws::String &&value)
Definition Action.h:105
bool SecurityConfigurationHasBeenSet() const
Definition Action.h:103
void SetNotificationProperty(NotificationProperty &&value)
Definition Action.h:119
const NotificationProperty & GetNotificationProperty() const
Definition Action.h:116
void SetArguments(Aws::Map< Aws::String, Aws::String > &&value)
Definition Action.h:72
Action & WithCrawlerName(Aws::String &&value)
Definition Action.h:134
Action & WithSecurityConfiguration(Aws::String &&value)
Definition Action.h:108
void SetJobName(Aws::String &&value)
Definition Action.h:49
void SetJobName(const char *value)
Definition Action.h:50
const Aws::String & GetSecurityConfiguration() const
Definition Action.h:102
void SetCrawlerName(const Aws::String &value)
Definition Action.h:130
Action & WithArguments(const Aws::Map< Aws::String, Aws::String > &value)
Definition Action.h:73
Action & AddArguments(const char *key, const char *value)
Definition Action.h:81
void SetArguments(const Aws::Map< Aws::String, Aws::String > &value)
Definition Action.h:71
Action & AddArguments(const Aws::String &key, const Aws::String &value)
Definition Action.h:75
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetJobName() const
Definition Action.h:46
void SetSecurityConfiguration(const char *value)
Definition Action.h:106
bool NotificationPropertyHasBeenSet() const
Definition Action.h:117
int GetTimeout() const
Definition Action.h:91
bool JobNameHasBeenSet() const
Definition Action.h:47
Action & WithCrawlerName(const Aws::String &value)
Definition Action.h:133
Action & WithTimeout(int value)
Definition Action.h:94
Action & AddArguments(const Aws::String &key, Aws::String &&value)
Definition Action.h:77
Action & WithJobName(Aws::String &&value)
Definition Action.h:52
bool CrawlerNameHasBeenSet() const
Definition Action.h:129
void SetSecurityConfiguration(const Aws::String &value)
Definition Action.h:104
Action & WithNotificationProperty(const NotificationProperty &value)
Definition Action.h:120
Action & WithJobName(const char *value)
Definition Action.h:53
AWS_GLUE_API Action & operator=(Aws::Utils::Json::JsonView jsonValue)
Action & WithNotificationProperty(NotificationProperty &&value)
Definition Action.h:121
Action & WithSecurityConfiguration(const Aws::String &value)
Definition Action.h:107
Action & WithArguments(Aws::Map< Aws::String, Aws::String > &&value)
Definition Action.h:74
Action & WithJobName(const Aws::String &value)
Definition Action.h:51
Action & AddArguments(Aws::String &&key, const char *value)
Definition Action.h:80
bool ArgumentsHasBeenSet() const
Definition Action.h:70
Action & AddArguments(Aws::String &&key, Aws::String &&value)
Definition Action.h:78
bool TimeoutHasBeenSet() const
Definition Action.h:92
const Aws::Map< Aws::String, Aws::String > & GetArguments() const
Definition Action.h:69
Action & AddArguments(const char *key, Aws::String &&value)
Definition Action.h:79
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue