AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetJobNames(const Aws::Vector<Aws::String>& value) { m_jobNamesHasBeenSet = true; m_jobNames = value; }
43 inline void SetJobNames(Aws::Vector<Aws::String>&& value) { m_jobNamesHasBeenSet = true; m_jobNames = std::move(value); }
44 inline UpdateScheduleRequest& WithJobNames(const Aws::Vector<Aws::String>& value) { SetJobNames(value); return *this;}
45 inline UpdateScheduleRequest& WithJobNames(Aws::Vector<Aws::String>&& value) { SetJobNames(std::move(value)); return *this;}
46 inline UpdateScheduleRequest& AddJobNames(const Aws::String& value) { m_jobNamesHasBeenSet = true; m_jobNames.push_back(value); return *this; }
47 inline UpdateScheduleRequest& AddJobNames(Aws::String&& value) { m_jobNamesHasBeenSet = true; m_jobNames.push_back(std::move(value)); return *this; }
48 inline UpdateScheduleRequest& AddJobNames(const char* value) { m_jobNamesHasBeenSet = true; m_jobNames.push_back(value); return *this; }
50
52
58 inline const Aws::String& GetCronExpression() const{ return m_cronExpression; }
59 inline bool CronExpressionHasBeenSet() const { return m_cronExpressionHasBeenSet; }
60 inline void SetCronExpression(const Aws::String& value) { m_cronExpressionHasBeenSet = true; m_cronExpression = value; }
61 inline void SetCronExpression(Aws::String&& value) { m_cronExpressionHasBeenSet = true; m_cronExpression = std::move(value); }
62 inline void SetCronExpression(const char* value) { m_cronExpressionHasBeenSet = true; m_cronExpression.assign(value); }
63 inline UpdateScheduleRequest& WithCronExpression(const Aws::String& value) { SetCronExpression(value); return *this;}
64 inline UpdateScheduleRequest& WithCronExpression(Aws::String&& value) { SetCronExpression(std::move(value)); return *this;}
65 inline UpdateScheduleRequest& WithCronExpression(const char* value) { SetCronExpression(value); return *this;}
67
69
72 inline const Aws::String& GetName() const{ return m_name; }
73 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
74 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
75 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
76 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
77 inline UpdateScheduleRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
78 inline UpdateScheduleRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
79 inline UpdateScheduleRequest& WithName(const char* value) { SetName(value); return *this;}
81 private:
82
83 Aws::Vector<Aws::String> m_jobNames;
84 bool m_jobNamesHasBeenSet = false;
85
86 Aws::String m_cronExpression;
87 bool m_cronExpressionHasBeenSet = false;
88
89 Aws::String m_name;
90 bool m_nameHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace GlueDataBrew
95} // namespace Aws
UpdateScheduleRequest & WithCronExpression(Aws::String &&value)
UpdateScheduleRequest & WithName(const char *value)
UpdateScheduleRequest & AddJobNames(Aws::String &&value)
UpdateScheduleRequest & AddJobNames(const Aws::String &value)
void SetJobNames(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetJobNames() const
UpdateScheduleRequest & WithCronExpression(const char *value)
AWS_GLUEDATABREW_API Aws::String SerializePayload() const override
UpdateScheduleRequest & WithCronExpression(const Aws::String &value)
UpdateScheduleRequest & WithJobNames(Aws::Vector< Aws::String > &&value)
UpdateScheduleRequest & WithName(const Aws::String &value)
UpdateScheduleRequest & WithName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateScheduleRequest & WithJobNames(const Aws::Vector< Aws::String > &value)
void SetJobNames(Aws::Vector< Aws::String > &&value)
UpdateScheduleRequest & AddJobNames(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector