AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AuditTaskMetadata.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/AuditTaskStatus.h>
10#include <aws/iot/model/AuditTaskType.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:
36 AWS_IOT_API AuditTaskMetadata();
40
41
43
46 inline const Aws::String& GetTaskId() const{ return m_taskId; }
47 inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
48 inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; }
49 inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); }
50 inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); }
51 inline AuditTaskMetadata& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
52 inline AuditTaskMetadata& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
53 inline AuditTaskMetadata& WithTaskId(const char* value) { SetTaskId(value); return *this;}
55
57
61 inline const AuditTaskStatus& GetTaskStatus() const{ return m_taskStatus; }
62 inline bool TaskStatusHasBeenSet() const { return m_taskStatusHasBeenSet; }
63 inline void SetTaskStatus(const AuditTaskStatus& value) { m_taskStatusHasBeenSet = true; m_taskStatus = value; }
64 inline void SetTaskStatus(AuditTaskStatus&& value) { m_taskStatusHasBeenSet = true; m_taskStatus = std::move(value); }
65 inline AuditTaskMetadata& WithTaskStatus(const AuditTaskStatus& value) { SetTaskStatus(value); return *this;}
66 inline AuditTaskMetadata& WithTaskStatus(AuditTaskStatus&& value) { SetTaskStatus(std::move(value)); return *this;}
68
70
74 inline const AuditTaskType& GetTaskType() const{ return m_taskType; }
75 inline bool TaskTypeHasBeenSet() const { return m_taskTypeHasBeenSet; }
76 inline void SetTaskType(const AuditTaskType& value) { m_taskTypeHasBeenSet = true; m_taskType = value; }
77 inline void SetTaskType(AuditTaskType&& value) { m_taskTypeHasBeenSet = true; m_taskType = std::move(value); }
78 inline AuditTaskMetadata& WithTaskType(const AuditTaskType& value) { SetTaskType(value); return *this;}
79 inline AuditTaskMetadata& WithTaskType(AuditTaskType&& value) { SetTaskType(std::move(value)); return *this;}
81 private:
82
83 Aws::String m_taskId;
84 bool m_taskIdHasBeenSet = false;
85
86 AuditTaskStatus m_taskStatus;
87 bool m_taskStatusHasBeenSet = false;
88
89 AuditTaskType m_taskType;
90 bool m_taskTypeHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace IoT
95} // namespace Aws
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AuditTaskMetadata & WithTaskStatus(AuditTaskStatus &&value)
AuditTaskMetadata & WithTaskId(const char *value)
AWS_IOT_API AuditTaskMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AuditTaskMetadata & WithTaskStatus(const AuditTaskStatus &value)
AuditTaskMetadata & WithTaskType(const AuditTaskType &value)
AWS_IOT_API AuditTaskMetadata(Aws::Utils::Json::JsonView jsonValue)
void SetTaskId(Aws::String &&value)
void SetTaskStatus(AuditTaskStatus &&value)
AuditTaskMetadata & WithTaskType(AuditTaskType &&value)
const AuditTaskStatus & GetTaskStatus() const
AuditTaskMetadata & WithTaskId(const Aws::String &value)
void SetTaskType(AuditTaskType &&value)
void SetTaskId(const Aws::String &value)
const AuditTaskType & GetTaskType() const
const Aws::String & GetTaskId() const
void SetTaskStatus(const AuditTaskStatus &value)
void SetTaskType(const AuditTaskType &value)
AuditTaskMetadata & WithTaskId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue