AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
DescribeScheduledAuditResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iot/IoT_EXPORTS.h>
11#include <aws/iot/model/AuditFrequency.h>
12#include <aws/iot/model/DayOfWeek.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace IoT {
26namespace Model {
28 public:
29 AWS_IOT_API DescribeScheduledAuditResult() = default;
32
34
39 inline AuditFrequency GetFrequency() const { return m_frequency; }
40 inline void SetFrequency(AuditFrequency value) {
41 m_frequencyHasBeenSet = true;
42 m_frequency = value;
43 }
45 SetFrequency(value);
46 return *this;
47 }
49
51
57 inline const Aws::String& GetDayOfMonth() const { return m_dayOfMonth; }
58 template <typename DayOfMonthT = Aws::String>
59 void SetDayOfMonth(DayOfMonthT&& value) {
60 m_dayOfMonthHasBeenSet = true;
61 m_dayOfMonth = std::forward<DayOfMonthT>(value);
62 }
63 template <typename DayOfMonthT = Aws::String>
65 SetDayOfMonth(std::forward<DayOfMonthT>(value));
66 return *this;
67 }
69
71
76 inline DayOfWeek GetDayOfWeek() const { return m_dayOfWeek; }
77 inline void SetDayOfWeek(DayOfWeek value) {
78 m_dayOfWeekHasBeenSet = true;
79 m_dayOfWeek = value;
80 }
82 SetDayOfWeek(value);
83 return *this;
84 }
86
88
95 inline const Aws::Vector<Aws::String>& GetTargetCheckNames() const { return m_targetCheckNames; }
96 template <typename TargetCheckNamesT = Aws::Vector<Aws::String>>
97 void SetTargetCheckNames(TargetCheckNamesT&& value) {
98 m_targetCheckNamesHasBeenSet = true;
99 m_targetCheckNames = std::forward<TargetCheckNamesT>(value);
100 }
101 template <typename TargetCheckNamesT = Aws::Vector<Aws::String>>
103 SetTargetCheckNames(std::forward<TargetCheckNamesT>(value));
104 return *this;
105 }
106 template <typename TargetCheckNamesT = Aws::String>
108 m_targetCheckNamesHasBeenSet = true;
109 m_targetCheckNames.emplace_back(std::forward<TargetCheckNamesT>(value));
110 return *this;
111 }
113
115
118 inline const Aws::String& GetScheduledAuditName() const { return m_scheduledAuditName; }
119 template <typename ScheduledAuditNameT = Aws::String>
120 void SetScheduledAuditName(ScheduledAuditNameT&& value) {
121 m_scheduledAuditNameHasBeenSet = true;
122 m_scheduledAuditName = std::forward<ScheduledAuditNameT>(value);
123 }
124 template <typename ScheduledAuditNameT = Aws::String>
126 SetScheduledAuditName(std::forward<ScheduledAuditNameT>(value));
127 return *this;
128 }
130
132
135 inline const Aws::String& GetScheduledAuditArn() const { return m_scheduledAuditArn; }
136 template <typename ScheduledAuditArnT = Aws::String>
137 void SetScheduledAuditArn(ScheduledAuditArnT&& value) {
138 m_scheduledAuditArnHasBeenSet = true;
139 m_scheduledAuditArn = std::forward<ScheduledAuditArnT>(value);
140 }
141 template <typename ScheduledAuditArnT = Aws::String>
143 SetScheduledAuditArn(std::forward<ScheduledAuditArnT>(value));
144 return *this;
145 }
147
149
150 inline const Aws::String& GetRequestId() const { return m_requestId; }
151 template <typename RequestIdT = Aws::String>
152 void SetRequestId(RequestIdT&& value) {
153 m_requestIdHasBeenSet = true;
154 m_requestId = std::forward<RequestIdT>(value);
155 }
156 template <typename RequestIdT = Aws::String>
158 SetRequestId(std::forward<RequestIdT>(value));
159 return *this;
160 }
162 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
163
164 private:
166
167 Aws::String m_dayOfMonth;
168
169 DayOfWeek m_dayOfWeek{DayOfWeek::NOT_SET};
170
171 Aws::Vector<Aws::String> m_targetCheckNames;
172
173 Aws::String m_scheduledAuditName;
174
175 Aws::String m_scheduledAuditArn;
176
177 Aws::String m_requestId;
178 Aws::Http::HttpResponseCode m_HttpResponseCode;
179 bool m_frequencyHasBeenSet = false;
180 bool m_dayOfMonthHasBeenSet = false;
181 bool m_dayOfWeekHasBeenSet = false;
182 bool m_targetCheckNamesHasBeenSet = false;
183 bool m_scheduledAuditNameHasBeenSet = false;
184 bool m_scheduledAuditArnHasBeenSet = false;
185 bool m_requestIdHasBeenSet = false;
186};
187
188} // namespace Model
189} // namespace IoT
190} // namespace Aws
DescribeScheduledAuditResult & AddTargetCheckNames(TargetCheckNamesT &&value)
const Aws::Vector< Aws::String > & GetTargetCheckNames() const
DescribeScheduledAuditResult & WithScheduledAuditName(ScheduledAuditNameT &&value)
DescribeScheduledAuditResult & WithRequestId(RequestIdT &&value)
DescribeScheduledAuditResult & WithFrequency(AuditFrequency value)
AWS_IOT_API DescribeScheduledAuditResult()=default
DescribeScheduledAuditResult & WithTargetCheckNames(TargetCheckNamesT &&value)
AWS_IOT_API DescribeScheduledAuditResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeScheduledAuditResult & WithDayOfWeek(DayOfWeek value)
DescribeScheduledAuditResult & WithDayOfMonth(DayOfMonthT &&value)
AWS_IOT_API DescribeScheduledAuditResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeScheduledAuditResult & WithScheduledAuditArn(ScheduledAuditArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue