AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateCrawlerScheduleRequest.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Glue
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateCrawlerSchedule"; }
31
32 AWS_GLUE_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetCrawlerName() const{ return m_crawlerName; }
42 inline bool CrawlerNameHasBeenSet() const { return m_crawlerNameHasBeenSet; }
43 inline void SetCrawlerName(const Aws::String& value) { m_crawlerNameHasBeenSet = true; m_crawlerName = value; }
44 inline void SetCrawlerName(Aws::String&& value) { m_crawlerNameHasBeenSet = true; m_crawlerName = std::move(value); }
45 inline void SetCrawlerName(const char* value) { m_crawlerNameHasBeenSet = true; m_crawlerName.assign(value); }
46 inline UpdateCrawlerScheduleRequest& WithCrawlerName(const Aws::String& value) { SetCrawlerName(value); return *this;}
47 inline UpdateCrawlerScheduleRequest& WithCrawlerName(Aws::String&& value) { SetCrawlerName(std::move(value)); return *this;}
48 inline UpdateCrawlerScheduleRequest& WithCrawlerName(const char* value) { SetCrawlerName(value); return *this;}
50
52
58 inline const Aws::String& GetSchedule() const{ return m_schedule; }
59 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
60 inline void SetSchedule(const Aws::String& value) { m_scheduleHasBeenSet = true; m_schedule = value; }
61 inline void SetSchedule(Aws::String&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); }
62 inline void SetSchedule(const char* value) { m_scheduleHasBeenSet = true; m_schedule.assign(value); }
63 inline UpdateCrawlerScheduleRequest& WithSchedule(const Aws::String& value) { SetSchedule(value); return *this;}
64 inline UpdateCrawlerScheduleRequest& WithSchedule(Aws::String&& value) { SetSchedule(std::move(value)); return *this;}
65 inline UpdateCrawlerScheduleRequest& WithSchedule(const char* value) { SetSchedule(value); return *this;}
67 private:
68
69 Aws::String m_crawlerName;
70 bool m_crawlerNameHasBeenSet = false;
71
72 Aws::String m_schedule;
73 bool m_scheduleHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Glue
78} // namespace Aws
UpdateCrawlerScheduleRequest & WithCrawlerName(Aws::String &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_GLUE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateCrawlerScheduleRequest & WithCrawlerName(const Aws::String &value)
UpdateCrawlerScheduleRequest & WithSchedule(const Aws::String &value)
UpdateCrawlerScheduleRequest & WithSchedule(Aws::String &&value)
UpdateCrawlerScheduleRequest & WithCrawlerName(const char *value)
UpdateCrawlerScheduleRequest & WithSchedule(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String