AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScheduledAuditMetadata.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/AuditFrequency.h>
10#include <aws/iot/model/DayOfWeek.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoT
24{
25namespace Model
26{
27
34 {
35 public:
40
41
43
46 inline const Aws::String& GetScheduledAuditName() const{ return m_scheduledAuditName; }
47 inline bool ScheduledAuditNameHasBeenSet() const { return m_scheduledAuditNameHasBeenSet; }
48 inline void SetScheduledAuditName(const Aws::String& value) { m_scheduledAuditNameHasBeenSet = true; m_scheduledAuditName = value; }
49 inline void SetScheduledAuditName(Aws::String&& value) { m_scheduledAuditNameHasBeenSet = true; m_scheduledAuditName = std::move(value); }
50 inline void SetScheduledAuditName(const char* value) { m_scheduledAuditNameHasBeenSet = true; m_scheduledAuditName.assign(value); }
52 inline ScheduledAuditMetadata& WithScheduledAuditName(Aws::String&& value) { SetScheduledAuditName(std::move(value)); return *this;}
53 inline ScheduledAuditMetadata& WithScheduledAuditName(const char* value) { SetScheduledAuditName(value); return *this;}
55
57
60 inline const Aws::String& GetScheduledAuditArn() const{ return m_scheduledAuditArn; }
61 inline bool ScheduledAuditArnHasBeenSet() const { return m_scheduledAuditArnHasBeenSet; }
62 inline void SetScheduledAuditArn(const Aws::String& value) { m_scheduledAuditArnHasBeenSet = true; m_scheduledAuditArn = value; }
63 inline void SetScheduledAuditArn(Aws::String&& value) { m_scheduledAuditArnHasBeenSet = true; m_scheduledAuditArn = std::move(value); }
64 inline void SetScheduledAuditArn(const char* value) { m_scheduledAuditArnHasBeenSet = true; m_scheduledAuditArn.assign(value); }
66 inline ScheduledAuditMetadata& WithScheduledAuditArn(Aws::String&& value) { SetScheduledAuditArn(std::move(value)); return *this;}
67 inline ScheduledAuditMetadata& WithScheduledAuditArn(const char* value) { SetScheduledAuditArn(value); return *this;}
69
71
74 inline const AuditFrequency& GetFrequency() const{ return m_frequency; }
75 inline bool FrequencyHasBeenSet() const { return m_frequencyHasBeenSet; }
76 inline void SetFrequency(const AuditFrequency& value) { m_frequencyHasBeenSet = true; m_frequency = value; }
77 inline void SetFrequency(AuditFrequency&& value) { m_frequencyHasBeenSet = true; m_frequency = std::move(value); }
78 inline ScheduledAuditMetadata& WithFrequency(const AuditFrequency& value) { SetFrequency(value); return *this;}
79 inline ScheduledAuditMetadata& WithFrequency(AuditFrequency&& value) { SetFrequency(std::move(value)); return *this;}
81
83
89 inline const Aws::String& GetDayOfMonth() const{ return m_dayOfMonth; }
90 inline bool DayOfMonthHasBeenSet() const { return m_dayOfMonthHasBeenSet; }
91 inline void SetDayOfMonth(const Aws::String& value) { m_dayOfMonthHasBeenSet = true; m_dayOfMonth = value; }
92 inline void SetDayOfMonth(Aws::String&& value) { m_dayOfMonthHasBeenSet = true; m_dayOfMonth = std::move(value); }
93 inline void SetDayOfMonth(const char* value) { m_dayOfMonthHasBeenSet = true; m_dayOfMonth.assign(value); }
94 inline ScheduledAuditMetadata& WithDayOfMonth(const Aws::String& value) { SetDayOfMonth(value); return *this;}
95 inline ScheduledAuditMetadata& WithDayOfMonth(Aws::String&& value) { SetDayOfMonth(std::move(value)); return *this;}
96 inline ScheduledAuditMetadata& WithDayOfMonth(const char* value) { SetDayOfMonth(value); return *this;}
98
100
104 inline const DayOfWeek& GetDayOfWeek() const{ return m_dayOfWeek; }
105 inline bool DayOfWeekHasBeenSet() const { return m_dayOfWeekHasBeenSet; }
106 inline void SetDayOfWeek(const DayOfWeek& value) { m_dayOfWeekHasBeenSet = true; m_dayOfWeek = value; }
107 inline void SetDayOfWeek(DayOfWeek&& value) { m_dayOfWeekHasBeenSet = true; m_dayOfWeek = std::move(value); }
108 inline ScheduledAuditMetadata& WithDayOfWeek(const DayOfWeek& value) { SetDayOfWeek(value); return *this;}
109 inline ScheduledAuditMetadata& WithDayOfWeek(DayOfWeek&& value) { SetDayOfWeek(std::move(value)); return *this;}
111 private:
112
113 Aws::String m_scheduledAuditName;
114 bool m_scheduledAuditNameHasBeenSet = false;
115
116 Aws::String m_scheduledAuditArn;
117 bool m_scheduledAuditArnHasBeenSet = false;
118
119 AuditFrequency m_frequency;
120 bool m_frequencyHasBeenSet = false;
121
122 Aws::String m_dayOfMonth;
123 bool m_dayOfMonthHasBeenSet = false;
124
125 DayOfWeek m_dayOfWeek;
126 bool m_dayOfWeekHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace IoT
131} // namespace Aws
const AuditFrequency & GetFrequency() const
const Aws::String & GetScheduledAuditArn() const
ScheduledAuditMetadata & WithFrequency(const AuditFrequency &value)
ScheduledAuditMetadata & WithDayOfMonth(const char *value)
void SetScheduledAuditName(const Aws::String &value)
AWS_IOT_API ScheduledAuditMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API ScheduledAuditMetadata(Aws::Utils::Json::JsonView jsonValue)
void SetScheduledAuditArn(const Aws::String &value)
ScheduledAuditMetadata & WithScheduledAuditArn(const Aws::String &value)
void SetFrequency(const AuditFrequency &value)
ScheduledAuditMetadata & WithDayOfWeek(DayOfWeek &&value)
ScheduledAuditMetadata & WithDayOfMonth(const Aws::String &value)
void SetDayOfMonth(const Aws::String &value)
ScheduledAuditMetadata & WithScheduledAuditArn(Aws::String &&value)
ScheduledAuditMetadata & WithDayOfMonth(Aws::String &&value)
const Aws::String & GetScheduledAuditName() const
ScheduledAuditMetadata & WithScheduledAuditName(Aws::String &&value)
ScheduledAuditMetadata & WithScheduledAuditName(const char *value)
ScheduledAuditMetadata & WithScheduledAuditArn(const char *value)
ScheduledAuditMetadata & WithDayOfWeek(const DayOfWeek &value)
ScheduledAuditMetadata & WithScheduledAuditName(const Aws::String &value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
ScheduledAuditMetadata & WithFrequency(AuditFrequency &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue