AWS SDK for C++  1.9.132
AWS SDK for C++
DescribeAuditTaskResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
15 #include <utility>
16 
17 namespace Aws
18 {
19 template<typename RESULT_TYPE>
20 class AmazonWebServiceResult;
21 
22 namespace Utils
23 {
24 namespace Json
25 {
26  class JsonValue;
27 } // namespace Json
28 } // namespace Utils
29 namespace IoT
30 {
31 namespace Model
32 {
34  {
35  public:
39 
40 
45  inline const AuditTaskStatus& GetTaskStatus() const{ return m_taskStatus; }
46 
51  inline void SetTaskStatus(const AuditTaskStatus& value) { m_taskStatus = value; }
52 
57  inline void SetTaskStatus(AuditTaskStatus&& value) { m_taskStatus = std::move(value); }
58 
63  inline DescribeAuditTaskResult& WithTaskStatus(const AuditTaskStatus& value) { SetTaskStatus(value); return *this;}
64 
69  inline DescribeAuditTaskResult& WithTaskStatus(AuditTaskStatus&& value) { SetTaskStatus(std::move(value)); return *this;}
70 
71 
75  inline const AuditTaskType& GetTaskType() const{ return m_taskType; }
76 
80  inline void SetTaskType(const AuditTaskType& value) { m_taskType = value; }
81 
85  inline void SetTaskType(AuditTaskType&& value) { m_taskType = std::move(value); }
86 
90  inline DescribeAuditTaskResult& WithTaskType(const AuditTaskType& value) { SetTaskType(value); return *this;}
91 
95  inline DescribeAuditTaskResult& WithTaskType(AuditTaskType&& value) { SetTaskType(std::move(value)); return *this;}
96 
97 
101  inline const Aws::Utils::DateTime& GetTaskStartTime() const{ return m_taskStartTime; }
102 
106  inline void SetTaskStartTime(const Aws::Utils::DateTime& value) { m_taskStartTime = value; }
107 
111  inline void SetTaskStartTime(Aws::Utils::DateTime&& value) { m_taskStartTime = std::move(value); }
112 
116  inline DescribeAuditTaskResult& WithTaskStartTime(const Aws::Utils::DateTime& value) { SetTaskStartTime(value); return *this;}
117 
121  inline DescribeAuditTaskResult& WithTaskStartTime(Aws::Utils::DateTime&& value) { SetTaskStartTime(std::move(value)); return *this;}
122 
123 
127  inline const TaskStatistics& GetTaskStatistics() const{ return m_taskStatistics; }
128 
132  inline void SetTaskStatistics(const TaskStatistics& value) { m_taskStatistics = value; }
133 
137  inline void SetTaskStatistics(TaskStatistics&& value) { m_taskStatistics = std::move(value); }
138 
142  inline DescribeAuditTaskResult& WithTaskStatistics(const TaskStatistics& value) { SetTaskStatistics(value); return *this;}
143 
147  inline DescribeAuditTaskResult& WithTaskStatistics(TaskStatistics&& value) { SetTaskStatistics(std::move(value)); return *this;}
148 
149 
154  inline const Aws::String& GetScheduledAuditName() const{ return m_scheduledAuditName; }
155 
160  inline void SetScheduledAuditName(const Aws::String& value) { m_scheduledAuditName = value; }
161 
166  inline void SetScheduledAuditName(Aws::String&& value) { m_scheduledAuditName = std::move(value); }
167 
172  inline void SetScheduledAuditName(const char* value) { m_scheduledAuditName.assign(value); }
173 
178  inline DescribeAuditTaskResult& WithScheduledAuditName(const Aws::String& value) { SetScheduledAuditName(value); return *this;}
179 
184  inline DescribeAuditTaskResult& WithScheduledAuditName(Aws::String&& value) { SetScheduledAuditName(std::move(value)); return *this;}
185 
190  inline DescribeAuditTaskResult& WithScheduledAuditName(const char* value) { SetScheduledAuditName(value); return *this;}
191 
192 
196  inline const Aws::Map<Aws::String, AuditCheckDetails>& GetAuditDetails() const{ return m_auditDetails; }
197 
201  inline void SetAuditDetails(const Aws::Map<Aws::String, AuditCheckDetails>& value) { m_auditDetails = value; }
202 
206  inline void SetAuditDetails(Aws::Map<Aws::String, AuditCheckDetails>&& value) { m_auditDetails = std::move(value); }
207 
211  inline DescribeAuditTaskResult& WithAuditDetails(const Aws::Map<Aws::String, AuditCheckDetails>& value) { SetAuditDetails(value); return *this;}
212 
216  inline DescribeAuditTaskResult& WithAuditDetails(Aws::Map<Aws::String, AuditCheckDetails>&& value) { SetAuditDetails(std::move(value)); return *this;}
217 
221  inline DescribeAuditTaskResult& AddAuditDetails(const Aws::String& key, const AuditCheckDetails& value) { m_auditDetails.emplace(key, value); return *this; }
222 
226  inline DescribeAuditTaskResult& AddAuditDetails(Aws::String&& key, const AuditCheckDetails& value) { m_auditDetails.emplace(std::move(key), value); return *this; }
227 
231  inline DescribeAuditTaskResult& AddAuditDetails(const Aws::String& key, AuditCheckDetails&& value) { m_auditDetails.emplace(key, std::move(value)); return *this; }
232 
236  inline DescribeAuditTaskResult& AddAuditDetails(Aws::String&& key, AuditCheckDetails&& value) { m_auditDetails.emplace(std::move(key), std::move(value)); return *this; }
237 
241  inline DescribeAuditTaskResult& AddAuditDetails(const char* key, AuditCheckDetails&& value) { m_auditDetails.emplace(key, std::move(value)); return *this; }
242 
246  inline DescribeAuditTaskResult& AddAuditDetails(const char* key, const AuditCheckDetails& value) { m_auditDetails.emplace(key, value); return *this; }
247 
248  private:
249 
250  AuditTaskStatus m_taskStatus;
251 
252  AuditTaskType m_taskType;
253 
254  Aws::Utils::DateTime m_taskStartTime;
255 
256  TaskStatistics m_taskStatistics;
257 
258  Aws::String m_scheduledAuditName;
259 
261  };
262 
263 } // namespace Model
264 } // namespace IoT
265 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoT::Model::DescribeAuditTaskResult::SetTaskStatus
void SetTaskStatus(const AuditTaskStatus &value)
Definition: DescribeAuditTaskResult.h:51
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::DescribeAuditTaskResult
Definition: DescribeAuditTaskResult.h:34
Aws::IoT::Model::DescribeAuditTaskResult::operator=
DescribeAuditTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::DescribeAuditTaskResult::AddAuditDetails
DescribeAuditTaskResult & AddAuditDetails(const char *key, const AuditCheckDetails &value)
Definition: DescribeAuditTaskResult.h:246
Aws::IoT::Model::DescribeAuditTaskResult::SetTaskStatistics
void SetTaskStatistics(const TaskStatistics &value)
Definition: DescribeAuditTaskResult.h:132
DateTime.h
AuditCheckDetails.h
Aws::IoT::Model::DescribeAuditTaskResult::WithScheduledAuditName
DescribeAuditTaskResult & WithScheduledAuditName(const Aws::String &value)
Definition: DescribeAuditTaskResult.h:178
Aws::IoT::Model::DescribeAuditTaskResult::WithAuditDetails
DescribeAuditTaskResult & WithAuditDetails(Aws::Map< Aws::String, AuditCheckDetails > &&value)
Definition: DescribeAuditTaskResult.h:216
Aws::IoT::Model::DescribeAuditTaskResult::SetScheduledAuditName
void SetScheduledAuditName(const Aws::String &value)
Definition: DescribeAuditTaskResult.h:160
Aws::IoT::Model::AuditTaskType
AuditTaskType
Definition: AuditTaskType.h:17
Aws::IoT::Model::DescribeAuditTaskResult::AddAuditDetails
DescribeAuditTaskResult & AddAuditDetails(Aws::String &&key, const AuditCheckDetails &value)
Definition: DescribeAuditTaskResult.h:226
Aws::IoT::Model::DescribeAuditTaskResult::SetTaskStartTime
void SetTaskStartTime(const Aws::Utils::DateTime &value)
Definition: DescribeAuditTaskResult.h:106
Aws::IoT::Model::DescribeAuditTaskResult::AddAuditDetails
DescribeAuditTaskResult & AddAuditDetails(Aws::String &&key, AuditCheckDetails &&value)
Definition: DescribeAuditTaskResult.h:236
Aws::IoT::Model::DescribeAuditTaskResult::SetAuditDetails
void SetAuditDetails(const Aws::Map< Aws::String, AuditCheckDetails > &value)
Definition: DescribeAuditTaskResult.h:201
Aws::IoT::Model::DescribeAuditTaskResult::DescribeAuditTaskResult
DescribeAuditTaskResult()
Aws::IoT::Model::DescribeAuditTaskResult::WithScheduledAuditName
DescribeAuditTaskResult & WithScheduledAuditName(Aws::String &&value)
Definition: DescribeAuditTaskResult.h:184
Aws::IoT::Model::DescribeAuditTaskResult::SetScheduledAuditName
void SetScheduledAuditName(const char *value)
Definition: DescribeAuditTaskResult.h:172
Aws::IoT::Model::DescribeAuditTaskResult::WithTaskStatistics
DescribeAuditTaskResult & WithTaskStatistics(const TaskStatistics &value)
Definition: DescribeAuditTaskResult.h:142
Aws::IoT::Model::DescribeAuditTaskResult::SetTaskType
void SetTaskType(AuditTaskType &&value)
Definition: DescribeAuditTaskResult.h:85
Aws::IoT::Model::DescribeAuditTaskResult::GetTaskType
const AuditTaskType & GetTaskType() const
Definition: DescribeAuditTaskResult.h:75
Aws::IoT::Model::DescribeAuditTaskResult::AddAuditDetails
DescribeAuditTaskResult & AddAuditDetails(const char *key, AuditCheckDetails &&value)
Definition: DescribeAuditTaskResult.h:241
Aws::IoT::Model::AuditCheckDetails
Definition: AuditCheckDetails.h:33
Aws::IoT::Model::AuditTaskStatus
AuditTaskStatus
Definition: AuditTaskStatus.h:17
Aws::IoT::Model::DescribeAuditTaskResult::WithTaskStartTime
DescribeAuditTaskResult & WithTaskStartTime(Aws::Utils::DateTime &&value)
Definition: DescribeAuditTaskResult.h:121
Aws::IoT::Model::DescribeAuditTaskResult::SetTaskStatistics
void SetTaskStatistics(TaskStatistics &&value)
Definition: DescribeAuditTaskResult.h:137
Aws::IoT::Model::DescribeAuditTaskResult::WithTaskType
DescribeAuditTaskResult & WithTaskType(const AuditTaskType &value)
Definition: DescribeAuditTaskResult.h:90
Aws::IoT::Model::DescribeAuditTaskResult::WithTaskStatistics
DescribeAuditTaskResult & WithTaskStatistics(TaskStatistics &&value)
Definition: DescribeAuditTaskResult.h:147
Aws::IoT::Model::DescribeAuditTaskResult::DescribeAuditTaskResult
DescribeAuditTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::IoT::Model::TaskStatistics
Definition: TaskStatistics.h:31
Aws::IoT::Model::DescribeAuditTaskResult::GetScheduledAuditName
const Aws::String & GetScheduledAuditName() const
Definition: DescribeAuditTaskResult.h:154
Aws::IoT::Model::DescribeAuditTaskResult::GetTaskStatistics
const TaskStatistics & GetTaskStatistics() const
Definition: DescribeAuditTaskResult.h:127
Aws::IoT::Model::DescribeAuditTaskResult::SetTaskStatus
void SetTaskStatus(AuditTaskStatus &&value)
Definition: DescribeAuditTaskResult.h:57
Aws::IoT::Model::DescribeAuditTaskResult::WithScheduledAuditName
DescribeAuditTaskResult & WithScheduledAuditName(const char *value)
Definition: DescribeAuditTaskResult.h:190
Aws::IoT::Model::DescribeAuditTaskResult::SetScheduledAuditName
void SetScheduledAuditName(Aws::String &&value)
Definition: DescribeAuditTaskResult.h:166
Aws::IoT::Model::DescribeAuditTaskResult::WithTaskStatus
DescribeAuditTaskResult & WithTaskStatus(const AuditTaskStatus &value)
Definition: DescribeAuditTaskResult.h:63
TaskStatistics.h
AuditTaskType.h
Aws::IoT::Model::DescribeAuditTaskResult::WithAuditDetails
DescribeAuditTaskResult & WithAuditDetails(const Aws::Map< Aws::String, AuditCheckDetails > &value)
Definition: DescribeAuditTaskResult.h:211
Aws::IoT::Model::DescribeAuditTaskResult::GetAuditDetails
const Aws::Map< Aws::String, AuditCheckDetails > & GetAuditDetails() const
Definition: DescribeAuditTaskResult.h:196
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::DescribeAuditTaskResult::GetTaskStatus
const AuditTaskStatus & GetTaskStatus() const
Definition: DescribeAuditTaskResult.h:45
AuditTaskStatus.h
Aws::IoT::Model::DescribeAuditTaskResult::WithTaskStatus
DescribeAuditTaskResult & WithTaskStatus(AuditTaskStatus &&value)
Definition: DescribeAuditTaskResult.h:69
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::DescribeAuditTaskResult::AddAuditDetails
DescribeAuditTaskResult & AddAuditDetails(const Aws::String &key, const AuditCheckDetails &value)
Definition: DescribeAuditTaskResult.h:221
Aws::IoT::Model::DescribeAuditTaskResult::WithTaskStartTime
DescribeAuditTaskResult & WithTaskStartTime(const Aws::Utils::DateTime &value)
Definition: DescribeAuditTaskResult.h:116
Aws::IoT::Model::DescribeAuditTaskResult::AddAuditDetails
DescribeAuditTaskResult & AddAuditDetails(const Aws::String &key, AuditCheckDetails &&value)
Definition: DescribeAuditTaskResult.h:231
Aws::IoT::Model::DescribeAuditTaskResult::GetTaskStartTime
const Aws::Utils::DateTime & GetTaskStartTime() const
Definition: DescribeAuditTaskResult.h:101
Aws::IoT::Model::DescribeAuditTaskResult::WithTaskType
DescribeAuditTaskResult & WithTaskType(AuditTaskType &&value)
Definition: DescribeAuditTaskResult.h:95
AWSMap.h
Aws::IoT::Model::DescribeAuditTaskResult::SetAuditDetails
void SetAuditDetails(Aws::Map< Aws::String, AuditCheckDetails > &&value)
Definition: DescribeAuditTaskResult.h:206
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::IoT::Model::DescribeAuditTaskResult::SetTaskStartTime
void SetTaskStartTime(Aws::Utils::DateTime &&value)
Definition: DescribeAuditTaskResult.h:111
Aws::IoT::Model::DescribeAuditTaskResult::SetTaskType
void SetTaskType(const AuditTaskType &value)
Definition: DescribeAuditTaskResult.h:80
IoT_EXPORTS.h