AWS SDK for C++  1.9.15
AWS SDK for C++
UpdateScheduledAuditRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
8 #include <aws/iot/IoTRequest.h>
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace IoT
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "UpdateScheduledAudit"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
43  inline const AuditFrequency& GetFrequency() const{ return m_frequency; }
44 
50  inline bool FrequencyHasBeenSet() const { return m_frequencyHasBeenSet; }
51 
57  inline void SetFrequency(const AuditFrequency& value) { m_frequencyHasBeenSet = true; m_frequency = value; }
58 
64  inline void SetFrequency(AuditFrequency&& value) { m_frequencyHasBeenSet = true; m_frequency = std::move(value); }
65 
71  inline UpdateScheduledAuditRequest& WithFrequency(const AuditFrequency& value) { SetFrequency(value); return *this;}
72 
78  inline UpdateScheduledAuditRequest& WithFrequency(AuditFrequency&& value) { SetFrequency(std::move(value)); return *this;}
79 
80 
88  inline const Aws::String& GetDayOfMonth() const{ return m_dayOfMonth; }
89 
97  inline bool DayOfMonthHasBeenSet() const { return m_dayOfMonthHasBeenSet; }
98 
106  inline void SetDayOfMonth(const Aws::String& value) { m_dayOfMonthHasBeenSet = true; m_dayOfMonth = value; }
107 
115  inline void SetDayOfMonth(Aws::String&& value) { m_dayOfMonthHasBeenSet = true; m_dayOfMonth = std::move(value); }
116 
124  inline void SetDayOfMonth(const char* value) { m_dayOfMonthHasBeenSet = true; m_dayOfMonth.assign(value); }
125 
133  inline UpdateScheduledAuditRequest& WithDayOfMonth(const Aws::String& value) { SetDayOfMonth(value); return *this;}
134 
142  inline UpdateScheduledAuditRequest& WithDayOfMonth(Aws::String&& value) { SetDayOfMonth(std::move(value)); return *this;}
143 
151  inline UpdateScheduledAuditRequest& WithDayOfMonth(const char* value) { SetDayOfMonth(value); return *this;}
152 
153 
161  inline const DayOfWeek& GetDayOfWeek() const{ return m_dayOfWeek; }
162 
170  inline bool DayOfWeekHasBeenSet() const { return m_dayOfWeekHasBeenSet; }
171 
179  inline void SetDayOfWeek(const DayOfWeek& value) { m_dayOfWeekHasBeenSet = true; m_dayOfWeek = value; }
180 
188  inline void SetDayOfWeek(DayOfWeek&& value) { m_dayOfWeekHasBeenSet = true; m_dayOfWeek = std::move(value); }
189 
197  inline UpdateScheduledAuditRequest& WithDayOfWeek(const DayOfWeek& value) { SetDayOfWeek(value); return *this;}
198 
206  inline UpdateScheduledAuditRequest& WithDayOfWeek(DayOfWeek&& value) { SetDayOfWeek(std::move(value)); return *this;}
207 
208 
216  inline const Aws::Vector<Aws::String>& GetTargetCheckNames() const{ return m_targetCheckNames; }
217 
225  inline bool TargetCheckNamesHasBeenSet() const { return m_targetCheckNamesHasBeenSet; }
226 
234  inline void SetTargetCheckNames(const Aws::Vector<Aws::String>& value) { m_targetCheckNamesHasBeenSet = true; m_targetCheckNames = value; }
235 
243  inline void SetTargetCheckNames(Aws::Vector<Aws::String>&& value) { m_targetCheckNamesHasBeenSet = true; m_targetCheckNames = std::move(value); }
244 
252  inline UpdateScheduledAuditRequest& WithTargetCheckNames(const Aws::Vector<Aws::String>& value) { SetTargetCheckNames(value); return *this;}
253 
261  inline UpdateScheduledAuditRequest& WithTargetCheckNames(Aws::Vector<Aws::String>&& value) { SetTargetCheckNames(std::move(value)); return *this;}
262 
270  inline UpdateScheduledAuditRequest& AddTargetCheckNames(const Aws::String& value) { m_targetCheckNamesHasBeenSet = true; m_targetCheckNames.push_back(value); return *this; }
271 
279  inline UpdateScheduledAuditRequest& AddTargetCheckNames(Aws::String&& value) { m_targetCheckNamesHasBeenSet = true; m_targetCheckNames.push_back(std::move(value)); return *this; }
280 
288  inline UpdateScheduledAuditRequest& AddTargetCheckNames(const char* value) { m_targetCheckNamesHasBeenSet = true; m_targetCheckNames.push_back(value); return *this; }
289 
290 
294  inline const Aws::String& GetScheduledAuditName() const{ return m_scheduledAuditName; }
295 
299  inline bool ScheduledAuditNameHasBeenSet() const { return m_scheduledAuditNameHasBeenSet; }
300 
304  inline void SetScheduledAuditName(const Aws::String& value) { m_scheduledAuditNameHasBeenSet = true; m_scheduledAuditName = value; }
305 
309  inline void SetScheduledAuditName(Aws::String&& value) { m_scheduledAuditNameHasBeenSet = true; m_scheduledAuditName = std::move(value); }
310 
314  inline void SetScheduledAuditName(const char* value) { m_scheduledAuditNameHasBeenSet = true; m_scheduledAuditName.assign(value); }
315 
319  inline UpdateScheduledAuditRequest& WithScheduledAuditName(const Aws::String& value) { SetScheduledAuditName(value); return *this;}
320 
324  inline UpdateScheduledAuditRequest& WithScheduledAuditName(Aws::String&& value) { SetScheduledAuditName(std::move(value)); return *this;}
325 
329  inline UpdateScheduledAuditRequest& WithScheduledAuditName(const char* value) { SetScheduledAuditName(value); return *this;}
330 
331  private:
332 
333  AuditFrequency m_frequency;
334  bool m_frequencyHasBeenSet;
335 
336  Aws::String m_dayOfMonth;
337  bool m_dayOfMonthHasBeenSet;
338 
339  DayOfWeek m_dayOfWeek;
340  bool m_dayOfWeekHasBeenSet;
341 
342  Aws::Vector<Aws::String> m_targetCheckNames;
343  bool m_targetCheckNamesHasBeenSet;
344 
345  Aws::String m_scheduledAuditName;
346  bool m_scheduledAuditNameHasBeenSet;
347  };
348 
349 } // namespace Model
350 } // namespace IoT
351 } // namespace Aws
Aws::IoT::Model::UpdateScheduledAuditRequest::SetDayOfWeek
void SetDayOfWeek(const DayOfWeek &value)
Definition: UpdateScheduledAuditRequest.h:179
Aws::IoT::Model::UpdateScheduledAuditRequest::GetScheduledAuditName
const Aws::String & GetScheduledAuditName() const
Definition: UpdateScheduledAuditRequest.h:294
Aws::IoT::Model::UpdateScheduledAuditRequest::SetTargetCheckNames
void SetTargetCheckNames(Aws::Vector< Aws::String > &&value)
Definition: UpdateScheduledAuditRequest.h:243
Aws::IoT::Model::UpdateScheduledAuditRequest
Definition: UpdateScheduledAuditRequest.h:25
Aws::IoT::Model::UpdateScheduledAuditRequest::SetFrequency
void SetFrequency(const AuditFrequency &value)
Definition: UpdateScheduledAuditRequest.h:57
Aws::IoT::Model::UpdateScheduledAuditRequest::SetDayOfMonth
void SetDayOfMonth(Aws::String &&value)
Definition: UpdateScheduledAuditRequest.h:115
Aws::IoT::Model::UpdateScheduledAuditRequest::WithScheduledAuditName
UpdateScheduledAuditRequest & WithScheduledAuditName(Aws::String &&value)
Definition: UpdateScheduledAuditRequest.h:324
Aws::IoT::Model::UpdateScheduledAuditRequest::UpdateScheduledAuditRequest
UpdateScheduledAuditRequest()
Aws::IoT::Model::UpdateScheduledAuditRequest::TargetCheckNamesHasBeenSet
bool TargetCheckNamesHasBeenSet() const
Definition: UpdateScheduledAuditRequest.h:225
Aws::IoT::Model::UpdateScheduledAuditRequest::WithDayOfMonth
UpdateScheduledAuditRequest & WithDayOfMonth(Aws::String &&value)
Definition: UpdateScheduledAuditRequest.h:142
Aws::IoT::Model::UpdateScheduledAuditRequest::AddTargetCheckNames
UpdateScheduledAuditRequest & AddTargetCheckNames(Aws::String &&value)
Definition: UpdateScheduledAuditRequest.h:279
Aws::IoT::Model::UpdateScheduledAuditRequest::WithFrequency
UpdateScheduledAuditRequest & WithFrequency(AuditFrequency &&value)
Definition: UpdateScheduledAuditRequest.h:78
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoT::Model::UpdateScheduledAuditRequest::WithFrequency
UpdateScheduledAuditRequest & WithFrequency(const AuditFrequency &value)
Definition: UpdateScheduledAuditRequest.h:71
Aws::IoT::Model::UpdateScheduledAuditRequest::ScheduledAuditNameHasBeenSet
bool ScheduledAuditNameHasBeenSet() const
Definition: UpdateScheduledAuditRequest.h:299
AWSVector.h
Aws::IoT::Model::UpdateScheduledAuditRequest::SetDayOfMonth
void SetDayOfMonth(const Aws::String &value)
Definition: UpdateScheduledAuditRequest.h:106
Aws::IoT::Model::UpdateScheduledAuditRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateScheduledAuditRequest.h:33
Aws::IoT::Model::UpdateScheduledAuditRequest::SetDayOfMonth
void SetDayOfMonth(const char *value)
Definition: UpdateScheduledAuditRequest.h:124
Aws::IoT::Model::UpdateScheduledAuditRequest::DayOfMonthHasBeenSet
bool DayOfMonthHasBeenSet() const
Definition: UpdateScheduledAuditRequest.h:97
Aws::IoT::Model::UpdateScheduledAuditRequest::SetDayOfWeek
void SetDayOfWeek(DayOfWeek &&value)
Definition: UpdateScheduledAuditRequest.h:188
Aws::IoT::Model::UpdateScheduledAuditRequest::WithTargetCheckNames
UpdateScheduledAuditRequest & WithTargetCheckNames(const Aws::Vector< Aws::String > &value)
Definition: UpdateScheduledAuditRequest.h:252
Aws::IoT::Model::UpdateScheduledAuditRequest::GetFrequency
const AuditFrequency & GetFrequency() const
Definition: UpdateScheduledAuditRequest.h:43
Aws::IoT::Model::UpdateScheduledAuditRequest::SetFrequency
void SetFrequency(AuditFrequency &&value)
Definition: UpdateScheduledAuditRequest.h:64
Aws::IoT::Model::UpdateScheduledAuditRequest::AddTargetCheckNames
UpdateScheduledAuditRequest & AddTargetCheckNames(const char *value)
Definition: UpdateScheduledAuditRequest.h:288
Aws::IoT::Model::UpdateScheduledAuditRequest::GetDayOfMonth
const Aws::String & GetDayOfMonth() const
Definition: UpdateScheduledAuditRequest.h:88
Aws::IoT::Model::UpdateScheduledAuditRequest::AddTargetCheckNames
UpdateScheduledAuditRequest & AddTargetCheckNames(const Aws::String &value)
Definition: UpdateScheduledAuditRequest.h:270
Aws::IoT::Model::UpdateScheduledAuditRequest::GetDayOfWeek
const DayOfWeek & GetDayOfWeek() const
Definition: UpdateScheduledAuditRequest.h:161
Aws::IoT::Model::UpdateScheduledAuditRequest::WithDayOfMonth
UpdateScheduledAuditRequest & WithDayOfMonth(const Aws::String &value)
Definition: UpdateScheduledAuditRequest.h:133
Aws::IoT::Model::UpdateScheduledAuditRequest::SetScheduledAuditName
void SetScheduledAuditName(const Aws::String &value)
Definition: UpdateScheduledAuditRequest.h:304
Aws::IoT::Model::UpdateScheduledAuditRequest::SetTargetCheckNames
void SetTargetCheckNames(const Aws::Vector< Aws::String > &value)
Definition: UpdateScheduledAuditRequest.h:234
Aws::IoT::Model::UpdateScheduledAuditRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::AuditFrequency
AuditFrequency
Definition: AuditFrequency.h:17
Aws::IoT::Model::UpdateScheduledAuditRequest::WithDayOfWeek
UpdateScheduledAuditRequest & WithDayOfWeek(DayOfWeek &&value)
Definition: UpdateScheduledAuditRequest.h:206
Aws::IoT::Model::UpdateScheduledAuditRequest::WithDayOfMonth
UpdateScheduledAuditRequest & WithDayOfMonth(const char *value)
Definition: UpdateScheduledAuditRequest.h:151
Aws::IoT::Model::UpdateScheduledAuditRequest::WithDayOfWeek
UpdateScheduledAuditRequest & WithDayOfWeek(const DayOfWeek &value)
Definition: UpdateScheduledAuditRequest.h:197
Aws::IoT::Model::UpdateScheduledAuditRequest::WithScheduledAuditName
UpdateScheduledAuditRequest & WithScheduledAuditName(const char *value)
Definition: UpdateScheduledAuditRequest.h:329
Aws::IoT::Model::UpdateScheduledAuditRequest::FrequencyHasBeenSet
bool FrequencyHasBeenSet() const
Definition: UpdateScheduledAuditRequest.h:50
Aws::IoT::Model::UpdateScheduledAuditRequest::GetTargetCheckNames
const Aws::Vector< Aws::String > & GetTargetCheckNames() const
Definition: UpdateScheduledAuditRequest.h:216
Aws::IoT::Model::UpdateScheduledAuditRequest::WithScheduledAuditName
UpdateScheduledAuditRequest & WithScheduledAuditName(const Aws::String &value)
Definition: UpdateScheduledAuditRequest.h:319
AuditFrequency.h
DayOfWeek.h
Aws
Definition: AccessManagementClient.h:15
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::UpdateScheduledAuditRequest::SetScheduledAuditName
void SetScheduledAuditName(const char *value)
Definition: UpdateScheduledAuditRequest.h:314
Aws::IoT::Model::DayOfWeek
DayOfWeek
Definition: DayOfWeek.h:17
Aws::IoT::Model::UpdateScheduledAuditRequest::WithTargetCheckNames
UpdateScheduledAuditRequest & WithTargetCheckNames(Aws::Vector< Aws::String > &&value)
Definition: UpdateScheduledAuditRequest.h:261
Aws::IoT::Model::UpdateScheduledAuditRequest::SetScheduledAuditName
void SetScheduledAuditName(Aws::String &&value)
Definition: UpdateScheduledAuditRequest.h:309
IoTRequest.h
IoT_EXPORTS.h
Aws::IoT::Model::UpdateScheduledAuditRequest::DayOfWeekHasBeenSet
bool DayOfWeekHasBeenSet() const
Definition: UpdateScheduledAuditRequest.h:170