AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AuditMitigationActionsTaskMetadata.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/iot/model/AuditMitigationActionsTaskStatus.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
35 {
36 public:
41
42
44
47 inline const Aws::String& GetTaskId() const{ return m_taskId; }
48 inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
49 inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; }
50 inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); }
51 inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); }
52 inline AuditMitigationActionsTaskMetadata& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
53 inline AuditMitigationActionsTaskMetadata& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
54 inline AuditMitigationActionsTaskMetadata& WithTaskId(const char* value) { SetTaskId(value); return *this;}
56
58
61 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
62 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
63 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
64 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
66 inline AuditMitigationActionsTaskMetadata& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
68
70
73 inline const AuditMitigationActionsTaskStatus& GetTaskStatus() const{ return m_taskStatus; }
74 inline bool TaskStatusHasBeenSet() const { return m_taskStatusHasBeenSet; }
75 inline void SetTaskStatus(const AuditMitigationActionsTaskStatus& value) { m_taskStatusHasBeenSet = true; m_taskStatus = value; }
76 inline void SetTaskStatus(AuditMitigationActionsTaskStatus&& value) { m_taskStatusHasBeenSet = true; m_taskStatus = std::move(value); }
80 private:
81
82 Aws::String m_taskId;
83 bool m_taskIdHasBeenSet = false;
84
85 Aws::Utils::DateTime m_startTime;
86 bool m_startTimeHasBeenSet = false;
87
89 bool m_taskStatusHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace IoT
94} // namespace Aws
const AuditMitigationActionsTaskStatus & GetTaskStatus() const
AuditMitigationActionsTaskMetadata & WithTaskStatus(AuditMitigationActionsTaskStatus &&value)
AuditMitigationActionsTaskMetadata & WithTaskId(const char *value)
AuditMitigationActionsTaskMetadata & WithStartTime(Aws::Utils::DateTime &&value)
AWS_IOT_API AuditMitigationActionsTaskMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AuditMitigationActionsTaskMetadata & WithTaskStatus(const AuditMitigationActionsTaskStatus &value)
void SetTaskStatus(const AuditMitigationActionsTaskStatus &value)
void SetTaskStatus(AuditMitigationActionsTaskStatus &&value)
AuditMitigationActionsTaskMetadata & WithTaskId(const Aws::String &value)
AWS_IOT_API AuditMitigationActionsTaskMetadata(Aws::Utils::Json::JsonView jsonValue)
AuditMitigationActionsTaskMetadata & WithStartTime(const Aws::Utils::DateTime &value)
AuditMitigationActionsTaskMetadata & WithTaskId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue