AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
24 AWS_GLUE_API UpdateCrawlerScheduleRequest() = default;
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 template<typename CrawlerNameT = Aws::String>
44 void SetCrawlerName(CrawlerNameT&& value) { m_crawlerNameHasBeenSet = true; m_crawlerName = std::forward<CrawlerNameT>(value); }
45 template<typename CrawlerNameT = Aws::String>
46 UpdateCrawlerScheduleRequest& WithCrawlerName(CrawlerNameT&& value) { SetCrawlerName(std::forward<CrawlerNameT>(value)); return *this;}
48
50
56 inline const Aws::String& GetSchedule() const { return m_schedule; }
57 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
58 template<typename ScheduleT = Aws::String>
59 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet = true; m_schedule = std::forward<ScheduleT>(value); }
60 template<typename ScheduleT = Aws::String>
61 UpdateCrawlerScheduleRequest& WithSchedule(ScheduleT&& value) { SetSchedule(std::forward<ScheduleT>(value)); return *this;}
63 private:
64
65 Aws::String m_crawlerName;
66 bool m_crawlerNameHasBeenSet = false;
67
68 Aws::String m_schedule;
69 bool m_scheduleHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Glue
74} // namespace Aws
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_GLUE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_GLUE_API UpdateCrawlerScheduleRequest()=default
UpdateCrawlerScheduleRequest & WithCrawlerName(CrawlerNameT &&value)
UpdateCrawlerScheduleRequest & WithSchedule(ScheduleT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String