AWS SDK for C++  1.9.146
AWS SDK for C++
DescribeJobsRequestFilters.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/mgn/Mgn_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace mgn
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetFromDate() const{ return m_fromDate; }
45 
49  inline bool FromDateHasBeenSet() const { return m_fromDateHasBeenSet; }
50 
54  inline void SetFromDate(const Aws::String& value) { m_fromDateHasBeenSet = true; m_fromDate = value; }
55 
59  inline void SetFromDate(Aws::String&& value) { m_fromDateHasBeenSet = true; m_fromDate = std::move(value); }
60 
64  inline void SetFromDate(const char* value) { m_fromDateHasBeenSet = true; m_fromDate.assign(value); }
65 
69  inline DescribeJobsRequestFilters& WithFromDate(const Aws::String& value) { SetFromDate(value); return *this;}
70 
74  inline DescribeJobsRequestFilters& WithFromDate(Aws::String&& value) { SetFromDate(std::move(value)); return *this;}
75 
79  inline DescribeJobsRequestFilters& WithFromDate(const char* value) { SetFromDate(value); return *this;}
80 
81 
85  inline const Aws::Vector<Aws::String>& GetJobIDs() const{ return m_jobIDs; }
86 
90  inline bool JobIDsHasBeenSet() const { return m_jobIDsHasBeenSet; }
91 
95  inline void SetJobIDs(const Aws::Vector<Aws::String>& value) { m_jobIDsHasBeenSet = true; m_jobIDs = value; }
96 
100  inline void SetJobIDs(Aws::Vector<Aws::String>&& value) { m_jobIDsHasBeenSet = true; m_jobIDs = std::move(value); }
101 
105  inline DescribeJobsRequestFilters& WithJobIDs(const Aws::Vector<Aws::String>& value) { SetJobIDs(value); return *this;}
106 
110  inline DescribeJobsRequestFilters& WithJobIDs(Aws::Vector<Aws::String>&& value) { SetJobIDs(std::move(value)); return *this;}
111 
115  inline DescribeJobsRequestFilters& AddJobIDs(const Aws::String& value) { m_jobIDsHasBeenSet = true; m_jobIDs.push_back(value); return *this; }
116 
120  inline DescribeJobsRequestFilters& AddJobIDs(Aws::String&& value) { m_jobIDsHasBeenSet = true; m_jobIDs.push_back(std::move(value)); return *this; }
121 
125  inline DescribeJobsRequestFilters& AddJobIDs(const char* value) { m_jobIDsHasBeenSet = true; m_jobIDs.push_back(value); return *this; }
126 
127 
131  inline const Aws::String& GetToDate() const{ return m_toDate; }
132 
136  inline bool ToDateHasBeenSet() const { return m_toDateHasBeenSet; }
137 
141  inline void SetToDate(const Aws::String& value) { m_toDateHasBeenSet = true; m_toDate = value; }
142 
146  inline void SetToDate(Aws::String&& value) { m_toDateHasBeenSet = true; m_toDate = std::move(value); }
147 
151  inline void SetToDate(const char* value) { m_toDateHasBeenSet = true; m_toDate.assign(value); }
152 
156  inline DescribeJobsRequestFilters& WithToDate(const Aws::String& value) { SetToDate(value); return *this;}
157 
161  inline DescribeJobsRequestFilters& WithToDate(Aws::String&& value) { SetToDate(std::move(value)); return *this;}
162 
166  inline DescribeJobsRequestFilters& WithToDate(const char* value) { SetToDate(value); return *this;}
167 
168  private:
169 
170  Aws::String m_fromDate;
171  bool m_fromDateHasBeenSet;
172 
173  Aws::Vector<Aws::String> m_jobIDs;
174  bool m_jobIDsHasBeenSet;
175 
176  Aws::String m_toDate;
177  bool m_toDateHasBeenSet;
178  };
179 
180 } // namespace Model
181 } // namespace mgn
182 } // namespace Aws
Aws::mgn::Model::DescribeJobsRequestFilters::JobIDsHasBeenSet
bool JobIDsHasBeenSet() const
Definition: DescribeJobsRequestFilters.h:90
Aws::mgn::Model::DescribeJobsRequestFilters::operator=
DescribeJobsRequestFilters & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::mgn::Model::DescribeJobsRequestFilters::GetJobIDs
const Aws::Vector< Aws::String > & GetJobIDs() const
Definition: DescribeJobsRequestFilters.h:85
Aws::mgn::Model::DescribeJobsRequestFilters::WithFromDate
DescribeJobsRequestFilters & WithFromDate(const Aws::String &value)
Definition: DescribeJobsRequestFilters.h:69
Aws::mgn::Model::DescribeJobsRequestFilters::SetFromDate
void SetFromDate(Aws::String &&value)
Definition: DescribeJobsRequestFilters.h:59
AWS_MGN_API
#define AWS_MGN_API
Definition: Mgn_EXPORTS.h:28
Aws::mgn::Model::DescribeJobsRequestFilters::SetJobIDs
void SetJobIDs(const Aws::Vector< Aws::String > &value)
Definition: DescribeJobsRequestFilters.h:95
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::mgn::Model::DescribeJobsRequestFilters::AddJobIDs
DescribeJobsRequestFilters & AddJobIDs(const Aws::String &value)
Definition: DescribeJobsRequestFilters.h:115
AWSVector.h
Aws::mgn::Model::DescribeJobsRequestFilters::SetToDate
void SetToDate(Aws::String &&value)
Definition: DescribeJobsRequestFilters.h:146
Aws::mgn::Model::DescribeJobsRequestFilters::SetFromDate
void SetFromDate(const Aws::String &value)
Definition: DescribeJobsRequestFilters.h:54
Aws::mgn::Model::DescribeJobsRequestFilters::WithJobIDs
DescribeJobsRequestFilters & WithJobIDs(const Aws::Vector< Aws::String > &value)
Definition: DescribeJobsRequestFilters.h:105
Aws::mgn::Model::DescribeJobsRequestFilters::WithJobIDs
DescribeJobsRequestFilters & WithJobIDs(Aws::Vector< Aws::String > &&value)
Definition: DescribeJobsRequestFilters.h:110
Aws::mgn::Model::DescribeJobsRequestFilters::SetJobIDs
void SetJobIDs(Aws::Vector< Aws::String > &&value)
Definition: DescribeJobsRequestFilters.h:100
Aws::mgn::Model::DescribeJobsRequestFilters
Definition: DescribeJobsRequestFilters.h:33
Aws::mgn::Model::DescribeJobsRequestFilters::WithFromDate
DescribeJobsRequestFilters & WithFromDate(Aws::String &&value)
Definition: DescribeJobsRequestFilters.h:74
Mgn_EXPORTS.h
Aws::mgn::Model::DescribeJobsRequestFilters::FromDateHasBeenSet
bool FromDateHasBeenSet() const
Definition: DescribeJobsRequestFilters.h:49
Aws::mgn::Model::DescribeJobsRequestFilters::DescribeJobsRequestFilters
DescribeJobsRequestFilters()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::mgn::Model::DescribeJobsRequestFilters::WithToDate
DescribeJobsRequestFilters & WithToDate(Aws::String &&value)
Definition: DescribeJobsRequestFilters.h:161
Aws::mgn::Model::DescribeJobsRequestFilters::DescribeJobsRequestFilters
DescribeJobsRequestFilters(Aws::Utils::Json::JsonView jsonValue)
Aws::mgn::Model::DescribeJobsRequestFilters::SetToDate
void SetToDate(const char *value)
Definition: DescribeJobsRequestFilters.h:151
Aws::mgn::Model::DescribeJobsRequestFilters::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::mgn::Model::DescribeJobsRequestFilters::SetFromDate
void SetFromDate(const char *value)
Definition: DescribeJobsRequestFilters.h:64
Aws::mgn::Model::DescribeJobsRequestFilters::ToDateHasBeenSet
bool ToDateHasBeenSet() const
Definition: DescribeJobsRequestFilters.h:136
Aws::mgn::Model::DescribeJobsRequestFilters::AddJobIDs
DescribeJobsRequestFilters & AddJobIDs(const char *value)
Definition: DescribeJobsRequestFilters.h:125
Aws::mgn::Model::DescribeJobsRequestFilters::AddJobIDs
DescribeJobsRequestFilters & AddJobIDs(Aws::String &&value)
Definition: DescribeJobsRequestFilters.h:120
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::mgn::Model::DescribeJobsRequestFilters::SetToDate
void SetToDate(const Aws::String &value)
Definition: DescribeJobsRequestFilters.h:141
Aws::mgn::Model::DescribeJobsRequestFilters::WithFromDate
DescribeJobsRequestFilters & WithFromDate(const char *value)
Definition: DescribeJobsRequestFilters.h:79
Aws::mgn::Model::DescribeJobsRequestFilters::WithToDate
DescribeJobsRequestFilters & WithToDate(const char *value)
Definition: DescribeJobsRequestFilters.h:166
Aws::mgn::Model::DescribeJobsRequestFilters::GetFromDate
const Aws::String & GetFromDate() const
Definition: DescribeJobsRequestFilters.h:44
Aws::mgn::Model::DescribeJobsRequestFilters::GetToDate
const Aws::String & GetToDate() const
Definition: DescribeJobsRequestFilters.h:131
Aws::mgn::Model::DescribeJobsRequestFilters::WithToDate
DescribeJobsRequestFilters & WithToDate(const Aws::String &value)
Definition: DescribeJobsRequestFilters.h:156