AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeScheduleResult.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace GlueDataBrew
27{
28namespace Model
29{
31 {
32 public:
33 AWS_GLUEDATABREW_API DescribeScheduleResult() = default;
36
37
39
42 inline const Aws::Utils::DateTime& GetCreateDate() const { return m_createDate; }
43 template<typename CreateDateT = Aws::Utils::DateTime>
44 void SetCreateDate(CreateDateT&& value) { m_createDateHasBeenSet = true; m_createDate = std::forward<CreateDateT>(value); }
45 template<typename CreateDateT = Aws::Utils::DateTime>
46 DescribeScheduleResult& WithCreateDate(CreateDateT&& value) { SetCreateDate(std::forward<CreateDateT>(value)); return *this;}
48
50
53 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
54 template<typename CreatedByT = Aws::String>
55 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
56 template<typename CreatedByT = Aws::String>
57 DescribeScheduleResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
59
61
64 inline const Aws::Vector<Aws::String>& GetJobNames() const { return m_jobNames; }
65 template<typename JobNamesT = Aws::Vector<Aws::String>>
66 void SetJobNames(JobNamesT&& value) { m_jobNamesHasBeenSet = true; m_jobNames = std::forward<JobNamesT>(value); }
67 template<typename JobNamesT = Aws::Vector<Aws::String>>
68 DescribeScheduleResult& WithJobNames(JobNamesT&& value) { SetJobNames(std::forward<JobNamesT>(value)); return *this;}
69 template<typename JobNamesT = Aws::String>
70 DescribeScheduleResult& AddJobNames(JobNamesT&& value) { m_jobNamesHasBeenSet = true; m_jobNames.emplace_back(std::forward<JobNamesT>(value)); return *this; }
72
74
77 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
78 template<typename LastModifiedByT = Aws::String>
79 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
80 template<typename LastModifiedByT = Aws::String>
81 DescribeScheduleResult& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
83
85
88 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
89 template<typename LastModifiedDateT = Aws::Utils::DateTime>
90 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
91 template<typename LastModifiedDateT = Aws::Utils::DateTime>
92 DescribeScheduleResult& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
94
96
99 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
100 template<typename ResourceArnT = Aws::String>
101 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::forward<ResourceArnT>(value); }
102 template<typename ResourceArnT = Aws::String>
103 DescribeScheduleResult& WithResourceArn(ResourceArnT&& value) { SetResourceArn(std::forward<ResourceArnT>(value)); return *this;}
105
107
113 inline const Aws::String& GetCronExpression() const { return m_cronExpression; }
114 template<typename CronExpressionT = Aws::String>
115 void SetCronExpression(CronExpressionT&& value) { m_cronExpressionHasBeenSet = true; m_cronExpression = std::forward<CronExpressionT>(value); }
116 template<typename CronExpressionT = Aws::String>
117 DescribeScheduleResult& WithCronExpression(CronExpressionT&& value) { SetCronExpression(std::forward<CronExpressionT>(value)); return *this;}
119
121
124 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
125 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
126 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
127 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
128 DescribeScheduleResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
129 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
130 DescribeScheduleResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
131 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
132 }
134
136
139 inline const Aws::String& GetName() const { return m_name; }
140 template<typename NameT = Aws::String>
141 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
142 template<typename NameT = Aws::String>
143 DescribeScheduleResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
145
147
148 inline const Aws::String& GetRequestId() const { return m_requestId; }
149 template<typename RequestIdT = Aws::String>
150 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
151 template<typename RequestIdT = Aws::String>
152 DescribeScheduleResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
154 private:
155
156 Aws::Utils::DateTime m_createDate{};
157 bool m_createDateHasBeenSet = false;
158
159 Aws::String m_createdBy;
160 bool m_createdByHasBeenSet = false;
161
162 Aws::Vector<Aws::String> m_jobNames;
163 bool m_jobNamesHasBeenSet = false;
164
165 Aws::String m_lastModifiedBy;
166 bool m_lastModifiedByHasBeenSet = false;
167
168 Aws::Utils::DateTime m_lastModifiedDate{};
169 bool m_lastModifiedDateHasBeenSet = false;
170
171 Aws::String m_resourceArn;
172 bool m_resourceArnHasBeenSet = false;
173
174 Aws::String m_cronExpression;
175 bool m_cronExpressionHasBeenSet = false;
176
178 bool m_tagsHasBeenSet = false;
179
180 Aws::String m_name;
181 bool m_nameHasBeenSet = false;
182
183 Aws::String m_requestId;
184 bool m_requestIdHasBeenSet = false;
185 };
186
187} // namespace Model
188} // namespace GlueDataBrew
189} // namespace Aws
DescribeScheduleResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
DescribeScheduleResult & AddJobNames(JobNamesT &&value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
DescribeScheduleResult & WithResourceArn(ResourceArnT &&value)
AWS_GLUEDATABREW_API DescribeScheduleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeScheduleResult & WithTags(TagsT &&value)
const Aws::Utils::DateTime & GetCreateDate() const
const Aws::Vector< Aws::String > & GetJobNames() const
DescribeScheduleResult & WithJobNames(JobNamesT &&value)
DescribeScheduleResult & WithCronExpression(CronExpressionT &&value)
DescribeScheduleResult & WithCreatedBy(CreatedByT &&value)
DescribeScheduleResult & WithCreateDate(CreateDateT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeScheduleResult & WithName(NameT &&value)
AWS_GLUEDATABREW_API DescribeScheduleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeScheduleResult & WithLastModifiedDate(LastModifiedDateT &&value)
DescribeScheduleResult & WithRequestId(RequestIdT &&value)
DescribeScheduleResult & WithLastModifiedBy(LastModifiedByT &&value)
AWS_GLUEDATABREW_API DescribeScheduleResult()=default
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue