AWS SDK for C++  1.9.125
AWS SDK for C++
AuditMitigationActionsTaskMetadata.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace IoT
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetTaskId() const{ return m_taskId; }
47 
51  inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; }
52 
56  inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; }
57 
61  inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); }
62 
66  inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); }
67 
71  inline AuditMitigationActionsTaskMetadata& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;}
72 
76  inline AuditMitigationActionsTaskMetadata& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;}
77 
81  inline AuditMitigationActionsTaskMetadata& WithTaskId(const char* value) { SetTaskId(value); return *this;}
82 
83 
87  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
88 
92  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
93 
97  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
98 
102  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
103 
107  inline AuditMitigationActionsTaskMetadata& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
108 
112  inline AuditMitigationActionsTaskMetadata& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
113 
114 
118  inline const AuditMitigationActionsTaskStatus& GetTaskStatus() const{ return m_taskStatus; }
119 
123  inline bool TaskStatusHasBeenSet() const { return m_taskStatusHasBeenSet; }
124 
128  inline void SetTaskStatus(const AuditMitigationActionsTaskStatus& value) { m_taskStatusHasBeenSet = true; m_taskStatus = value; }
129 
133  inline void SetTaskStatus(AuditMitigationActionsTaskStatus&& value) { m_taskStatusHasBeenSet = true; m_taskStatus = std::move(value); }
134 
138  inline AuditMitigationActionsTaskMetadata& WithTaskStatus(const AuditMitigationActionsTaskStatus& value) { SetTaskStatus(value); return *this;}
139 
143  inline AuditMitigationActionsTaskMetadata& WithTaskStatus(AuditMitigationActionsTaskStatus&& value) { SetTaskStatus(std::move(value)); return *this;}
144 
145  private:
146 
147  Aws::String m_taskId;
148  bool m_taskIdHasBeenSet;
149 
150  Aws::Utils::DateTime m_startTime;
151  bool m_startTimeHasBeenSet;
152 
154  bool m_taskStatusHasBeenSet;
155  };
156 
157 } // namespace Model
158 } // namespace IoT
159 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
AuditMitigationActionsTaskStatus.h
Aws::IoT::Model::AuditMitigationActionsTaskMetadata::SetTaskId
void SetTaskId(const char *value)
Definition: AuditMitigationActionsTaskMetadata.h:66
Aws::IoT::Model::AuditMitigationActionsTaskMetadata::WithTaskStatus
AuditMitigationActionsTaskMetadata & WithTaskStatus(AuditMitigationActionsTaskStatus &&value)
Definition: AuditMitigationActionsTaskMetadata.h:143
Aws::IoT::Model::AuditMitigationActionsTaskMetadata::SetTaskId
void SetTaskId(const Aws::String &value)
Definition: AuditMitigationActionsTaskMetadata.h:56
Aws::IoT::Model::AuditMitigationActionsTaskMetadata::SetTaskId
void SetTaskId(Aws::String &&value)
Definition: AuditMitigationActionsTaskMetadata.h:61
DateTime.h
Aws::IoT::Model::AuditMitigationActionsTaskMetadata::GetTaskId
const Aws::String & GetTaskId() const
Definition: AuditMitigationActionsTaskMetadata.h:46
Aws::IoT::Model::AuditMitigationActionsTaskMetadata::GetTaskStatus
const AuditMitigationActionsTaskStatus & GetTaskStatus() const
Definition: AuditMitigationActionsTaskMetadata.h:118
Aws::IoT::Model::AuditMitigationActionsTaskMetadata::WithTaskId
AuditMitigationActionsTaskMetadata & WithTaskId(const Aws::String &value)
Definition: AuditMitigationActionsTaskMetadata.h:71
Aws::IoT::Model::AuditMitigationActionsTaskMetadata::WithTaskId
AuditMitigationActionsTaskMetadata & WithTaskId(const char *value)
Definition: AuditMitigationActionsTaskMetadata.h:81
Aws::IoT::Model::AuditMitigationActionsTaskMetadata::WithTaskId
AuditMitigationActionsTaskMetadata & WithTaskId(Aws::String &&value)
Definition: AuditMitigationActionsTaskMetadata.h:76
Aws::IoT::Model::AuditMitigationActionsTaskMetadata
Definition: AuditMitigationActionsTaskMetadata.h:35
Aws::IoT::Model::AuditMitigationActionsTaskMetadata::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: AuditMitigationActionsTaskMetadata.h:97
Aws::IoT::Model::AuditMitigationActionsTaskMetadata::AuditMitigationActionsTaskMetadata
AuditMitigationActionsTaskMetadata(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::AuditMitigationActionsTaskMetadata::WithTaskStatus
AuditMitigationActionsTaskMetadata & WithTaskStatus(const AuditMitigationActionsTaskStatus &value)
Definition: AuditMitigationActionsTaskMetadata.h:138
Aws::IoT::Model::AuditMitigationActionsTaskMetadata::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: AuditMitigationActionsTaskMetadata.h:87
Aws::IoT::Model::AuditMitigationActionsTaskMetadata::AuditMitigationActionsTaskMetadata
AuditMitigationActionsTaskMetadata()
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::AuditMitigationActionsTaskMetadata::SetTaskStatus
void SetTaskStatus(AuditMitigationActionsTaskStatus &&value)
Definition: AuditMitigationActionsTaskMetadata.h:133
Aws::IoT::Model::AuditMitigationActionsTaskStatus
AuditMitigationActionsTaskStatus
Definition: AuditMitigationActionsTaskStatus.h:17
Aws::IoT::Model::AuditMitigationActionsTaskMetadata::WithStartTime
AuditMitigationActionsTaskMetadata & WithStartTime(const Aws::Utils::DateTime &value)
Definition: AuditMitigationActionsTaskMetadata.h:107
Aws::IoT::Model::AuditMitigationActionsTaskMetadata::WithStartTime
AuditMitigationActionsTaskMetadata & WithStartTime(Aws::Utils::DateTime &&value)
Definition: AuditMitigationActionsTaskMetadata.h:112
Aws::IoT::Model::AuditMitigationActionsTaskMetadata::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::AuditMitigationActionsTaskMetadata::SetTaskStatus
void SetTaskStatus(const AuditMitigationActionsTaskStatus &value)
Definition: AuditMitigationActionsTaskMetadata.h:128
Aws::IoT::Model::AuditMitigationActionsTaskMetadata::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: AuditMitigationActionsTaskMetadata.h:102
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::AuditMitigationActionsTaskMetadata::operator=
AuditMitigationActionsTaskMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::AuditMitigationActionsTaskMetadata::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: AuditMitigationActionsTaskMetadata.h:92
Aws::IoT::Model::AuditMitigationActionsTaskMetadata::TaskStatusHasBeenSet
bool TaskStatusHasBeenSet() const
Definition: AuditMitigationActionsTaskMetadata.h:123
Aws::IoT::Model::AuditMitigationActionsTaskMetadata::TaskIdHasBeenSet
bool TaskIdHasBeenSet() const
Definition: AuditMitigationActionsTaskMetadata.h:51
IoT_EXPORTS.h