AWS SDK for C++  1.8.151
AWS SDK for C++
SentimentDetectionJobFilter.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace Comprehend
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetJobName() const{ return m_jobName; }
47 
51  inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
52 
56  inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
57 
61  inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
62 
66  inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
67 
71  inline SentimentDetectionJobFilter& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
72 
76  inline SentimentDetectionJobFilter& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
77 
81  inline SentimentDetectionJobFilter& WithJobName(const char* value) { SetJobName(value); return *this;}
82 
83 
88  inline const JobStatus& GetJobStatus() const{ return m_jobStatus; }
89 
94  inline bool JobStatusHasBeenSet() const { return m_jobStatusHasBeenSet; }
95 
100  inline void SetJobStatus(const JobStatus& value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
101 
106  inline void SetJobStatus(JobStatus&& value) { m_jobStatusHasBeenSet = true; m_jobStatus = std::move(value); }
107 
112  inline SentimentDetectionJobFilter& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;}
113 
118  inline SentimentDetectionJobFilter& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
119 
120 
126  inline const Aws::Utils::DateTime& GetSubmitTimeBefore() const{ return m_submitTimeBefore; }
127 
133  inline bool SubmitTimeBeforeHasBeenSet() const { return m_submitTimeBeforeHasBeenSet; }
134 
140  inline void SetSubmitTimeBefore(const Aws::Utils::DateTime& value) { m_submitTimeBeforeHasBeenSet = true; m_submitTimeBefore = value; }
141 
147  inline void SetSubmitTimeBefore(Aws::Utils::DateTime&& value) { m_submitTimeBeforeHasBeenSet = true; m_submitTimeBefore = std::move(value); }
148 
154  inline SentimentDetectionJobFilter& WithSubmitTimeBefore(const Aws::Utils::DateTime& value) { SetSubmitTimeBefore(value); return *this;}
155 
161  inline SentimentDetectionJobFilter& WithSubmitTimeBefore(Aws::Utils::DateTime&& value) { SetSubmitTimeBefore(std::move(value)); return *this;}
162 
163 
169  inline const Aws::Utils::DateTime& GetSubmitTimeAfter() const{ return m_submitTimeAfter; }
170 
176  inline bool SubmitTimeAfterHasBeenSet() const { return m_submitTimeAfterHasBeenSet; }
177 
183  inline void SetSubmitTimeAfter(const Aws::Utils::DateTime& value) { m_submitTimeAfterHasBeenSet = true; m_submitTimeAfter = value; }
184 
190  inline void SetSubmitTimeAfter(Aws::Utils::DateTime&& value) { m_submitTimeAfterHasBeenSet = true; m_submitTimeAfter = std::move(value); }
191 
197  inline SentimentDetectionJobFilter& WithSubmitTimeAfter(const Aws::Utils::DateTime& value) { SetSubmitTimeAfter(value); return *this;}
198 
204  inline SentimentDetectionJobFilter& WithSubmitTimeAfter(Aws::Utils::DateTime&& value) { SetSubmitTimeAfter(std::move(value)); return *this;}
205 
206  private:
207 
208  Aws::String m_jobName;
209  bool m_jobNameHasBeenSet;
210 
211  JobStatus m_jobStatus;
212  bool m_jobStatusHasBeenSet;
213 
214  Aws::Utils::DateTime m_submitTimeBefore;
215  bool m_submitTimeBeforeHasBeenSet;
216 
217  Aws::Utils::DateTime m_submitTimeAfter;
218  bool m_submitTimeAfterHasBeenSet;
219  };
220 
221 } // namespace Model
222 } // namespace Comprehend
223 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
AWS_COMPREHEND_API
#define AWS_COMPREHEND_API
Definition: Comprehend_EXPORTS.h:28
Aws::Comprehend::Model::SentimentDetectionJobFilter::GetSubmitTimeBefore
const Aws::Utils::DateTime & GetSubmitTimeBefore() const
Definition: SentimentDetectionJobFilter.h:126
Aws::Comprehend::Model::SentimentDetectionJobFilter::SetSubmitTimeAfter
void SetSubmitTimeAfter(const Aws::Utils::DateTime &value)
Definition: SentimentDetectionJobFilter.h:183
DateTime.h
Aws::Comprehend::Model::SentimentDetectionJobFilter::SetJobName
void SetJobName(const Aws::String &value)
Definition: SentimentDetectionJobFilter.h:56
Aws::Comprehend::Model::SentimentDetectionJobFilter::WithSubmitTimeAfter
SentimentDetectionJobFilter & WithSubmitTimeAfter(const Aws::Utils::DateTime &value)
Definition: SentimentDetectionJobFilter.h:197
Aws::Comprehend::Model::SentimentDetectionJobFilter::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Comprehend::Model::SentimentDetectionJobFilter::WithSubmitTimeBefore
SentimentDetectionJobFilter & WithSubmitTimeBefore(const Aws::Utils::DateTime &value)
Definition: SentimentDetectionJobFilter.h:154
Aws::Comprehend::Model::SentimentDetectionJobFilter::JobNameHasBeenSet
bool JobNameHasBeenSet() const
Definition: SentimentDetectionJobFilter.h:51
Aws::Comprehend::Model::SentimentDetectionJobFilter::SetJobName
void SetJobName(Aws::String &&value)
Definition: SentimentDetectionJobFilter.h:61
Aws::Comprehend::Model::SentimentDetectionJobFilter::WithSubmitTimeBefore
SentimentDetectionJobFilter & WithSubmitTimeBefore(Aws::Utils::DateTime &&value)
Definition: SentimentDetectionJobFilter.h:161
Aws::Comprehend::Model::SentimentDetectionJobFilter::SubmitTimeBeforeHasBeenSet
bool SubmitTimeBeforeHasBeenSet() const
Definition: SentimentDetectionJobFilter.h:133
Aws::Comprehend::Model::JobStatus
JobStatus
Definition: JobStatus.h:17
Aws::Comprehend::Model::SentimentDetectionJobFilter::SentimentDetectionJobFilter
SentimentDetectionJobFilter()
Aws::Comprehend::Model::SentimentDetectionJobFilter::SetJobStatus
void SetJobStatus(JobStatus &&value)
Definition: SentimentDetectionJobFilter.h:106
Aws::Comprehend::Model::SentimentDetectionJobFilter::SetSubmitTimeAfter
void SetSubmitTimeAfter(Aws::Utils::DateTime &&value)
Definition: SentimentDetectionJobFilter.h:190
Aws::Comprehend::Model::SentimentDetectionJobFilter::SubmitTimeAfterHasBeenSet
bool SubmitTimeAfterHasBeenSet() const
Definition: SentimentDetectionJobFilter.h:176
Aws::Comprehend::Model::SentimentDetectionJobFilter::operator=
SentimentDetectionJobFilter & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Comprehend::Model::SentimentDetectionJobFilter::WithJobStatus
SentimentDetectionJobFilter & WithJobStatus(JobStatus &&value)
Definition: SentimentDetectionJobFilter.h:118
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::Comprehend::Model::SentimentDetectionJobFilter::JobStatusHasBeenSet
bool JobStatusHasBeenSet() const
Definition: SentimentDetectionJobFilter.h:94
Aws::Comprehend::Model::SentimentDetectionJobFilter::SetSubmitTimeBefore
void SetSubmitTimeBefore(Aws::Utils::DateTime &&value)
Definition: SentimentDetectionJobFilter.h:147
Aws::Comprehend::Model::SentimentDetectionJobFilter::SetSubmitTimeBefore
void SetSubmitTimeBefore(const Aws::Utils::DateTime &value)
Definition: SentimentDetectionJobFilter.h:140
Aws::Comprehend::Model::SentimentDetectionJobFilter::WithJobName
SentimentDetectionJobFilter & WithJobName(Aws::String &&value)
Definition: SentimentDetectionJobFilter.h:76
Aws::Comprehend::Model::SentimentDetectionJobFilter
Definition: SentimentDetectionJobFilter.h:35
Aws::Comprehend::Model::SentimentDetectionJobFilter::GetJobName
const Aws::String & GetJobName() const
Definition: SentimentDetectionJobFilter.h:46
Comprehend_EXPORTS.h
Aws::Comprehend::Model::SentimentDetectionJobFilter::GetSubmitTimeAfter
const Aws::Utils::DateTime & GetSubmitTimeAfter() const
Definition: SentimentDetectionJobFilter.h:169
JobStatus.h
Aws::Comprehend::Model::SentimentDetectionJobFilter::GetJobStatus
const JobStatus & GetJobStatus() const
Definition: SentimentDetectionJobFilter.h:88
Aws
Definition: AccessManagementClient.h:15
Aws::Comprehend::Model::SentimentDetectionJobFilter::WithJobName
SentimentDetectionJobFilter & WithJobName(const char *value)
Definition: SentimentDetectionJobFilter.h:81
Aws::Comprehend::Model::SentimentDetectionJobFilter::SentimentDetectionJobFilter
SentimentDetectionJobFilter(Aws::Utils::Json::JsonView jsonValue)
Aws::Comprehend::Model::SentimentDetectionJobFilter::WithJobName
SentimentDetectionJobFilter & WithJobName(const Aws::String &value)
Definition: SentimentDetectionJobFilter.h:71
Aws::Comprehend::Model::SentimentDetectionJobFilter::SetJobName
void SetJobName(const char *value)
Definition: SentimentDetectionJobFilter.h:66
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Comprehend::Model::SentimentDetectionJobFilter::SetJobStatus
void SetJobStatus(const JobStatus &value)
Definition: SentimentDetectionJobFilter.h:100
Aws::Comprehend::Model::SentimentDetectionJobFilter::WithJobStatus
SentimentDetectionJobFilter & WithJobStatus(const JobStatus &value)
Definition: SentimentDetectionJobFilter.h:112
Aws::Comprehend::Model::SentimentDetectionJobFilter::WithSubmitTimeAfter
SentimentDetectionJobFilter & WithSubmitTimeAfter(Aws::Utils::DateTime &&value)
Definition: SentimentDetectionJobFilter.h:204