AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateScheduleRequest.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/databrew/GlueDataBrewRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace GlueDataBrew
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GLUEDATABREW_API UpdateScheduleRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateSchedule"; }
32
33 AWS_GLUEDATABREW_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::Vector<Aws::String>& GetJobNames() const { return m_jobNames; }
41 inline bool JobNamesHasBeenSet() const { return m_jobNamesHasBeenSet; }
42 template<typename JobNamesT = Aws::Vector<Aws::String>>
43 void SetJobNames(JobNamesT&& value) { m_jobNamesHasBeenSet = true; m_jobNames = std::forward<JobNamesT>(value); }
44 template<typename JobNamesT = Aws::Vector<Aws::String>>
45 UpdateScheduleRequest& WithJobNames(JobNamesT&& value) { SetJobNames(std::forward<JobNamesT>(value)); return *this;}
46 template<typename JobNamesT = Aws::String>
47 UpdateScheduleRequest& AddJobNames(JobNamesT&& value) { m_jobNamesHasBeenSet = true; m_jobNames.emplace_back(std::forward<JobNamesT>(value)); return *this; }
49
51
57 inline const Aws::String& GetCronExpression() const { return m_cronExpression; }
58 inline bool CronExpressionHasBeenSet() const { return m_cronExpressionHasBeenSet; }
59 template<typename CronExpressionT = Aws::String>
60 void SetCronExpression(CronExpressionT&& value) { m_cronExpressionHasBeenSet = true; m_cronExpression = std::forward<CronExpressionT>(value); }
61 template<typename CronExpressionT = Aws::String>
62 UpdateScheduleRequest& WithCronExpression(CronExpressionT&& value) { SetCronExpression(std::forward<CronExpressionT>(value)); return *this;}
64
66
69 inline const Aws::String& GetName() const { return m_name; }
70 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
71 template<typename NameT = Aws::String>
72 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
73 template<typename NameT = Aws::String>
74 UpdateScheduleRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
76 private:
77
78 Aws::Vector<Aws::String> m_jobNames;
79 bool m_jobNamesHasBeenSet = false;
80
81 Aws::String m_cronExpression;
82 bool m_cronExpressionHasBeenSet = false;
83
84 Aws::String m_name;
85 bool m_nameHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace GlueDataBrew
90} // namespace Aws
UpdateScheduleRequest & WithCronExpression(CronExpressionT &&value)
UpdateScheduleRequest & WithJobNames(JobNamesT &&value)
UpdateScheduleRequest & WithName(NameT &&value)
const Aws::Vector< Aws::String > & GetJobNames() const
AWS_GLUEDATABREW_API Aws::String SerializePayload() const override
UpdateScheduleRequest & AddJobNames(JobNamesT &&value)
virtual const char * GetServiceRequestName() const override
AWS_GLUEDATABREW_API UpdateScheduleRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector