AWS SDK for C++  1.9.124
AWS SDK for C++
ScheduledAuditMetadata.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
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 IoT
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetScheduledAuditName() const{ return m_scheduledAuditName; }
46 
50  inline bool ScheduledAuditNameHasBeenSet() const { return m_scheduledAuditNameHasBeenSet; }
51 
55  inline void SetScheduledAuditName(const Aws::String& value) { m_scheduledAuditNameHasBeenSet = true; m_scheduledAuditName = value; }
56 
60  inline void SetScheduledAuditName(Aws::String&& value) { m_scheduledAuditNameHasBeenSet = true; m_scheduledAuditName = std::move(value); }
61 
65  inline void SetScheduledAuditName(const char* value) { m_scheduledAuditNameHasBeenSet = true; m_scheduledAuditName.assign(value); }
66 
70  inline ScheduledAuditMetadata& WithScheduledAuditName(const Aws::String& value) { SetScheduledAuditName(value); return *this;}
71 
75  inline ScheduledAuditMetadata& WithScheduledAuditName(Aws::String&& value) { SetScheduledAuditName(std::move(value)); return *this;}
76 
80  inline ScheduledAuditMetadata& WithScheduledAuditName(const char* value) { SetScheduledAuditName(value); return *this;}
81 
82 
86  inline const Aws::String& GetScheduledAuditArn() const{ return m_scheduledAuditArn; }
87 
91  inline bool ScheduledAuditArnHasBeenSet() const { return m_scheduledAuditArnHasBeenSet; }
92 
96  inline void SetScheduledAuditArn(const Aws::String& value) { m_scheduledAuditArnHasBeenSet = true; m_scheduledAuditArn = value; }
97 
101  inline void SetScheduledAuditArn(Aws::String&& value) { m_scheduledAuditArnHasBeenSet = true; m_scheduledAuditArn = std::move(value); }
102 
106  inline void SetScheduledAuditArn(const char* value) { m_scheduledAuditArnHasBeenSet = true; m_scheduledAuditArn.assign(value); }
107 
111  inline ScheduledAuditMetadata& WithScheduledAuditArn(const Aws::String& value) { SetScheduledAuditArn(value); return *this;}
112 
116  inline ScheduledAuditMetadata& WithScheduledAuditArn(Aws::String&& value) { SetScheduledAuditArn(std::move(value)); return *this;}
117 
121  inline ScheduledAuditMetadata& WithScheduledAuditArn(const char* value) { SetScheduledAuditArn(value); return *this;}
122 
123 
127  inline const AuditFrequency& GetFrequency() const{ return m_frequency; }
128 
132  inline bool FrequencyHasBeenSet() const { return m_frequencyHasBeenSet; }
133 
137  inline void SetFrequency(const AuditFrequency& value) { m_frequencyHasBeenSet = true; m_frequency = value; }
138 
142  inline void SetFrequency(AuditFrequency&& value) { m_frequencyHasBeenSet = true; m_frequency = std::move(value); }
143 
147  inline ScheduledAuditMetadata& WithFrequency(const AuditFrequency& value) { SetFrequency(value); return *this;}
148 
152  inline ScheduledAuditMetadata& WithFrequency(AuditFrequency&& value) { SetFrequency(std::move(value)); return *this;}
153 
154 
161  inline const Aws::String& GetDayOfMonth() const{ return m_dayOfMonth; }
162 
169  inline bool DayOfMonthHasBeenSet() const { return m_dayOfMonthHasBeenSet; }
170 
177  inline void SetDayOfMonth(const Aws::String& value) { m_dayOfMonthHasBeenSet = true; m_dayOfMonth = value; }
178 
185  inline void SetDayOfMonth(Aws::String&& value) { m_dayOfMonthHasBeenSet = true; m_dayOfMonth = std::move(value); }
186 
193  inline void SetDayOfMonth(const char* value) { m_dayOfMonthHasBeenSet = true; m_dayOfMonth.assign(value); }
194 
201  inline ScheduledAuditMetadata& WithDayOfMonth(const Aws::String& value) { SetDayOfMonth(value); return *this;}
202 
209  inline ScheduledAuditMetadata& WithDayOfMonth(Aws::String&& value) { SetDayOfMonth(std::move(value)); return *this;}
210 
217  inline ScheduledAuditMetadata& WithDayOfMonth(const char* value) { SetDayOfMonth(value); return *this;}
218 
219 
224  inline const DayOfWeek& GetDayOfWeek() const{ return m_dayOfWeek; }
225 
230  inline bool DayOfWeekHasBeenSet() const { return m_dayOfWeekHasBeenSet; }
231 
236  inline void SetDayOfWeek(const DayOfWeek& value) { m_dayOfWeekHasBeenSet = true; m_dayOfWeek = value; }
237 
242  inline void SetDayOfWeek(DayOfWeek&& value) { m_dayOfWeekHasBeenSet = true; m_dayOfWeek = std::move(value); }
243 
248  inline ScheduledAuditMetadata& WithDayOfWeek(const DayOfWeek& value) { SetDayOfWeek(value); return *this;}
249 
254  inline ScheduledAuditMetadata& WithDayOfWeek(DayOfWeek&& value) { SetDayOfWeek(std::move(value)); return *this;}
255 
256  private:
257 
258  Aws::String m_scheduledAuditName;
259  bool m_scheduledAuditNameHasBeenSet;
260 
261  Aws::String m_scheduledAuditArn;
262  bool m_scheduledAuditArnHasBeenSet;
263 
264  AuditFrequency m_frequency;
265  bool m_frequencyHasBeenSet;
266 
267  Aws::String m_dayOfMonth;
268  bool m_dayOfMonthHasBeenSet;
269 
270  DayOfWeek m_dayOfWeek;
271  bool m_dayOfWeekHasBeenSet;
272  };
273 
274 } // namespace Model
275 } // namespace IoT
276 } // namespace Aws
Aws::IoT::Model::ScheduledAuditMetadata::GetDayOfMonth
const Aws::String & GetDayOfMonth() const
Definition: ScheduledAuditMetadata.h:161
Aws::IoT::Model::ScheduledAuditMetadata::SetScheduledAuditArn
void SetScheduledAuditArn(const char *value)
Definition: ScheduledAuditMetadata.h:106
Aws::IoT::Model::ScheduledAuditMetadata::SetDayOfMonth
void SetDayOfMonth(const Aws::String &value)
Definition: ScheduledAuditMetadata.h:177
Aws::IoT::Model::ScheduledAuditMetadata::DayOfMonthHasBeenSet
bool DayOfMonthHasBeenSet() const
Definition: ScheduledAuditMetadata.h:169
Aws::IoT::Model::ScheduledAuditMetadata::SetFrequency
void SetFrequency(AuditFrequency &&value)
Definition: ScheduledAuditMetadata.h:142
Aws::IoT::Model::ScheduledAuditMetadata::WithDayOfMonth
ScheduledAuditMetadata & WithDayOfMonth(const Aws::String &value)
Definition: ScheduledAuditMetadata.h:201
Aws::IoT::Model::ScheduledAuditMetadata::DayOfWeekHasBeenSet
bool DayOfWeekHasBeenSet() const
Definition: ScheduledAuditMetadata.h:230
Aws::IoT::Model::ScheduledAuditMetadata::SetFrequency
void SetFrequency(const AuditFrequency &value)
Definition: ScheduledAuditMetadata.h:137
Aws::IoT::Model::ScheduledAuditMetadata::WithScheduledAuditArn
ScheduledAuditMetadata & WithScheduledAuditArn(const Aws::String &value)
Definition: ScheduledAuditMetadata.h:111
Aws::IoT::Model::ScheduledAuditMetadata::WithScheduledAuditArn
ScheduledAuditMetadata & WithScheduledAuditArn(const char *value)
Definition: ScheduledAuditMetadata.h:121
Aws::IoT::Model::ScheduledAuditMetadata::operator=
ScheduledAuditMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::ScheduledAuditMetadata::GetDayOfWeek
const DayOfWeek & GetDayOfWeek() const
Definition: ScheduledAuditMetadata.h:224
Aws::IoT::Model::ScheduledAuditMetadata::WithDayOfMonth
ScheduledAuditMetadata & WithDayOfMonth(Aws::String &&value)
Definition: ScheduledAuditMetadata.h:209
Aws::IoT::Model::ScheduledAuditMetadata::WithScheduledAuditArn
ScheduledAuditMetadata & WithScheduledAuditArn(Aws::String &&value)
Definition: ScheduledAuditMetadata.h:116
Aws::IoT::Model::ScheduledAuditMetadata::SetScheduledAuditName
void SetScheduledAuditName(const char *value)
Definition: ScheduledAuditMetadata.h:65
Aws::IoT::Model::ScheduledAuditMetadata::ScheduledAuditMetadata
ScheduledAuditMetadata(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::ScheduledAuditMetadata
Definition: ScheduledAuditMetadata.h:34
Aws::IoT::Model::ScheduledAuditMetadata::SetScheduledAuditName
void SetScheduledAuditName(Aws::String &&value)
Definition: ScheduledAuditMetadata.h:60
Aws::IoT::Model::ScheduledAuditMetadata::SetDayOfMonth
void SetDayOfMonth(const char *value)
Definition: ScheduledAuditMetadata.h:193
Aws::IoT::Model::ScheduledAuditMetadata::WithDayOfWeek
ScheduledAuditMetadata & WithDayOfWeek(DayOfWeek &&value)
Definition: ScheduledAuditMetadata.h:254
Aws::IoT::Model::ScheduledAuditMetadata::FrequencyHasBeenSet
bool FrequencyHasBeenSet() const
Definition: ScheduledAuditMetadata.h:132
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::IoT::Model::ScheduledAuditMetadata::ScheduledAuditNameHasBeenSet
bool ScheduledAuditNameHasBeenSet() const
Definition: ScheduledAuditMetadata.h:50
Aws::IoT::Model::ScheduledAuditMetadata::SetDayOfWeek
void SetDayOfWeek(const DayOfWeek &value)
Definition: ScheduledAuditMetadata.h:236
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::ScheduledAuditMetadata::ScheduledAuditArnHasBeenSet
bool ScheduledAuditArnHasBeenSet() const
Definition: ScheduledAuditMetadata.h:91
Aws::IoT::Model::AuditFrequency
AuditFrequency
Definition: AuditFrequency.h:17
Aws::IoT::Model::ScheduledAuditMetadata::SetScheduledAuditArn
void SetScheduledAuditArn(const Aws::String &value)
Definition: ScheduledAuditMetadata.h:96
Aws::IoT::Model::ScheduledAuditMetadata::WithScheduledAuditName
ScheduledAuditMetadata & WithScheduledAuditName(const char *value)
Definition: ScheduledAuditMetadata.h:80
Aws::IoT::Model::ScheduledAuditMetadata::WithFrequency
ScheduledAuditMetadata & WithFrequency(AuditFrequency &&value)
Definition: ScheduledAuditMetadata.h:152
Aws::IoT::Model::ScheduledAuditMetadata::WithFrequency
ScheduledAuditMetadata & WithFrequency(const AuditFrequency &value)
Definition: ScheduledAuditMetadata.h:147
Aws::IoT::Model::ScheduledAuditMetadata::ScheduledAuditMetadata
ScheduledAuditMetadata()
Aws::IoT::Model::ScheduledAuditMetadata::WithDayOfWeek
ScheduledAuditMetadata & WithDayOfWeek(const DayOfWeek &value)
Definition: ScheduledAuditMetadata.h:248
AuditFrequency.h
DayOfWeek.h
Aws::IoT::Model::ScheduledAuditMetadata::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::ScheduledAuditMetadata::SetDayOfWeek
void SetDayOfWeek(DayOfWeek &&value)
Definition: ScheduledAuditMetadata.h:242
Aws::IoT::Model::ScheduledAuditMetadata::SetDayOfMonth
void SetDayOfMonth(Aws::String &&value)
Definition: ScheduledAuditMetadata.h:185
Aws::IoT::Model::ScheduledAuditMetadata::WithDayOfMonth
ScheduledAuditMetadata & WithDayOfMonth(const char *value)
Definition: ScheduledAuditMetadata.h:217
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::DayOfWeek
DayOfWeek
Definition: DayOfWeek.h:17
Aws::IoT::Model::ScheduledAuditMetadata::GetScheduledAuditArn
const Aws::String & GetScheduledAuditArn() const
Definition: ScheduledAuditMetadata.h:86
Aws::IoT::Model::ScheduledAuditMetadata::WithScheduledAuditName
ScheduledAuditMetadata & WithScheduledAuditName(Aws::String &&value)
Definition: ScheduledAuditMetadata.h:75
Aws::IoT::Model::ScheduledAuditMetadata::SetScheduledAuditName
void SetScheduledAuditName(const Aws::String &value)
Definition: ScheduledAuditMetadata.h:55
Aws::IoT::Model::ScheduledAuditMetadata::SetScheduledAuditArn
void SetScheduledAuditArn(Aws::String &&value)
Definition: ScheduledAuditMetadata.h:101
Aws::IoT::Model::ScheduledAuditMetadata::GetScheduledAuditName
const Aws::String & GetScheduledAuditName() const
Definition: ScheduledAuditMetadata.h:45
IoT_EXPORTS.h
Aws::IoT::Model::ScheduledAuditMetadata::GetFrequency
const AuditFrequency & GetFrequency() const
Definition: ScheduledAuditMetadata.h:127
Aws::IoT::Model::ScheduledAuditMetadata::WithScheduledAuditName
ScheduledAuditMetadata & WithScheduledAuditName(const Aws::String &value)
Definition: ScheduledAuditMetadata.h:70