AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeAuditTaskResult.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/AuditTaskStatus.h>
9#include <aws/iot/model/AuditTaskType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/iot/model/TaskStatistics.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/iot/model/AuditCheckDetails.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace IoT
30{
31namespace Model
32{
34 {
35 public:
39
40
42
46 inline const AuditTaskStatus& GetTaskStatus() const{ return m_taskStatus; }
47 inline void SetTaskStatus(const AuditTaskStatus& value) { m_taskStatus = value; }
48 inline void SetTaskStatus(AuditTaskStatus&& value) { m_taskStatus = std::move(value); }
49 inline DescribeAuditTaskResult& WithTaskStatus(const AuditTaskStatus& value) { SetTaskStatus(value); return *this;}
50 inline DescribeAuditTaskResult& WithTaskStatus(AuditTaskStatus&& value) { SetTaskStatus(std::move(value)); return *this;}
52
54
57 inline const AuditTaskType& GetTaskType() const{ return m_taskType; }
58 inline void SetTaskType(const AuditTaskType& value) { m_taskType = value; }
59 inline void SetTaskType(AuditTaskType&& value) { m_taskType = std::move(value); }
60 inline DescribeAuditTaskResult& WithTaskType(const AuditTaskType& value) { SetTaskType(value); return *this;}
61 inline DescribeAuditTaskResult& WithTaskType(AuditTaskType&& value) { SetTaskType(std::move(value)); return *this;}
63
65
68 inline const Aws::Utils::DateTime& GetTaskStartTime() const{ return m_taskStartTime; }
69 inline void SetTaskStartTime(const Aws::Utils::DateTime& value) { m_taskStartTime = value; }
70 inline void SetTaskStartTime(Aws::Utils::DateTime&& value) { m_taskStartTime = std::move(value); }
72 inline DescribeAuditTaskResult& WithTaskStartTime(Aws::Utils::DateTime&& value) { SetTaskStartTime(std::move(value)); return *this;}
74
76
79 inline const TaskStatistics& GetTaskStatistics() const{ return m_taskStatistics; }
80 inline void SetTaskStatistics(const TaskStatistics& value) { m_taskStatistics = value; }
81 inline void SetTaskStatistics(TaskStatistics&& value) { m_taskStatistics = std::move(value); }
82 inline DescribeAuditTaskResult& WithTaskStatistics(const TaskStatistics& value) { SetTaskStatistics(value); return *this;}
83 inline DescribeAuditTaskResult& WithTaskStatistics(TaskStatistics&& value) { SetTaskStatistics(std::move(value)); return *this;}
85
87
91 inline const Aws::String& GetScheduledAuditName() const{ return m_scheduledAuditName; }
92 inline void SetScheduledAuditName(const Aws::String& value) { m_scheduledAuditName = value; }
93 inline void SetScheduledAuditName(Aws::String&& value) { m_scheduledAuditName = std::move(value); }
94 inline void SetScheduledAuditName(const char* value) { m_scheduledAuditName.assign(value); }
96 inline DescribeAuditTaskResult& WithScheduledAuditName(Aws::String&& value) { SetScheduledAuditName(std::move(value)); return *this;}
97 inline DescribeAuditTaskResult& WithScheduledAuditName(const char* value) { SetScheduledAuditName(value); return *this;}
99
101
104 inline const Aws::Map<Aws::String, AuditCheckDetails>& GetAuditDetails() const{ return m_auditDetails; }
105 inline void SetAuditDetails(const Aws::Map<Aws::String, AuditCheckDetails>& value) { m_auditDetails = value; }
106 inline void SetAuditDetails(Aws::Map<Aws::String, AuditCheckDetails>&& value) { m_auditDetails = std::move(value); }
109 inline DescribeAuditTaskResult& AddAuditDetails(const Aws::String& key, const AuditCheckDetails& value) { m_auditDetails.emplace(key, value); return *this; }
110 inline DescribeAuditTaskResult& AddAuditDetails(Aws::String&& key, const AuditCheckDetails& value) { m_auditDetails.emplace(std::move(key), value); return *this; }
111 inline DescribeAuditTaskResult& AddAuditDetails(const Aws::String& key, AuditCheckDetails&& value) { m_auditDetails.emplace(key, std::move(value)); return *this; }
112 inline DescribeAuditTaskResult& AddAuditDetails(Aws::String&& key, AuditCheckDetails&& value) { m_auditDetails.emplace(std::move(key), std::move(value)); return *this; }
113 inline DescribeAuditTaskResult& AddAuditDetails(const char* key, AuditCheckDetails&& value) { m_auditDetails.emplace(key, std::move(value)); return *this; }
114 inline DescribeAuditTaskResult& AddAuditDetails(const char* key, const AuditCheckDetails& value) { m_auditDetails.emplace(key, value); return *this; }
116
118
119 inline const Aws::String& GetRequestId() const{ return m_requestId; }
120 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
121 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
122 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
123 inline DescribeAuditTaskResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
124 inline DescribeAuditTaskResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
125 inline DescribeAuditTaskResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
127 private:
128
129 AuditTaskStatus m_taskStatus;
130
131 AuditTaskType m_taskType;
132
133 Aws::Utils::DateTime m_taskStartTime;
134
135 TaskStatistics m_taskStatistics;
136
137 Aws::String m_scheduledAuditName;
138
140
141 Aws::String m_requestId;
142 };
143
144} // namespace Model
145} // namespace IoT
146} // namespace Aws
const Aws::Map< Aws::String, AuditCheckDetails > & GetAuditDetails() const
AWS_IOT_API DescribeAuditTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const TaskStatistics & GetTaskStatistics() const
DescribeAuditTaskResult & WithScheduledAuditName(Aws::String &&value)
DescribeAuditTaskResult & AddAuditDetails(const char *key, const AuditCheckDetails &value)
void SetAuditDetails(Aws::Map< Aws::String, AuditCheckDetails > &&value)
void SetAuditDetails(const Aws::Map< Aws::String, AuditCheckDetails > &value)
void SetTaskType(const AuditTaskType &value)
DescribeAuditTaskResult & AddAuditDetails(Aws::String &&key, AuditCheckDetails &&value)
void SetTaskStartTime(const Aws::Utils::DateTime &value)
void SetTaskStartTime(Aws::Utils::DateTime &&value)
void SetTaskStatistics(const TaskStatistics &value)
DescribeAuditTaskResult & WithAuditDetails(Aws::Map< Aws::String, AuditCheckDetails > &&value)
DescribeAuditTaskResult & AddAuditDetails(const Aws::String &key, AuditCheckDetails &&value)
DescribeAuditTaskResult & WithScheduledAuditName(const char *value)
DescribeAuditTaskResult & WithTaskStatistics(TaskStatistics &&value)
const Aws::Utils::DateTime & GetTaskStartTime() const
DescribeAuditTaskResult & WithTaskType(AuditTaskType &&value)
DescribeAuditTaskResult & WithRequestId(Aws::String &&value)
DescribeAuditTaskResult & AddAuditDetails(const char *key, AuditCheckDetails &&value)
DescribeAuditTaskResult & WithTaskType(const AuditTaskType &value)
void SetTaskStatus(const AuditTaskStatus &value)
DescribeAuditTaskResult & WithTaskStartTime(Aws::Utils::DateTime &&value)
DescribeAuditTaskResult & WithTaskStartTime(const Aws::Utils::DateTime &value)
DescribeAuditTaskResult & WithTaskStatistics(const TaskStatistics &value)
AWS_IOT_API DescribeAuditTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const AuditTaskStatus & GetTaskStatus() const
DescribeAuditTaskResult & WithRequestId(const char *value)
DescribeAuditTaskResult & WithTaskStatus(AuditTaskStatus &&value)
DescribeAuditTaskResult & WithAuditDetails(const Aws::Map< Aws::String, AuditCheckDetails > &value)
DescribeAuditTaskResult & WithScheduledAuditName(const Aws::String &value)
void SetScheduledAuditName(const Aws::String &value)
DescribeAuditTaskResult & AddAuditDetails(const Aws::String &key, const AuditCheckDetails &value)
DescribeAuditTaskResult & WithRequestId(const Aws::String &value)
DescribeAuditTaskResult & WithTaskStatus(const AuditTaskStatus &value)
DescribeAuditTaskResult & AddAuditDetails(Aws::String &&key, const AuditCheckDetails &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue