AWS SDK for C++  1.9.129
AWS SDK for C++
ListAuditMitigationActionsTasksResult.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 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace IoT
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::Vector<AuditMitigationActionsTaskMetadata>& GetTasks() const{ return m_tasks; }
42 
47  inline void SetTasks(const Aws::Vector<AuditMitigationActionsTaskMetadata>& value) { m_tasks = value; }
48 
53  inline void SetTasks(Aws::Vector<AuditMitigationActionsTaskMetadata>&& value) { m_tasks = std::move(value); }
54 
60 
65  inline ListAuditMitigationActionsTasksResult& WithTasks(Aws::Vector<AuditMitigationActionsTaskMetadata>&& value) { SetTasks(std::move(value)); return *this;}
66 
71  inline ListAuditMitigationActionsTasksResult& AddTasks(const AuditMitigationActionsTaskMetadata& value) { m_tasks.push_back(value); return *this; }
72 
77  inline ListAuditMitigationActionsTasksResult& AddTasks(AuditMitigationActionsTaskMetadata&& value) { m_tasks.push_back(std::move(value)); return *this; }
78 
79 
83  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
84 
88  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
89 
93  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
94 
98  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
99 
103  inline ListAuditMitigationActionsTasksResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
104 
108  inline ListAuditMitigationActionsTasksResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
109 
113  inline ListAuditMitigationActionsTasksResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114 
115  private:
116 
118 
119  Aws::String m_nextToken;
120  };
121 
122 } // namespace Model
123 } // namespace IoT
124 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::ListAuditMitigationActionsTasksResult::WithNextToken
ListAuditMitigationActionsTasksResult & WithNextToken(Aws::String &&value)
Definition: ListAuditMitigationActionsTasksResult.h:108
Aws::IoT::Model::ListAuditMitigationActionsTasksResult
Definition: ListAuditMitigationActionsTasksResult.h:30
Aws::IoT::Model::ListAuditMitigationActionsTasksResult::WithNextToken
ListAuditMitigationActionsTasksResult & WithNextToken(const Aws::String &value)
Definition: ListAuditMitigationActionsTasksResult.h:103
AuditMitigationActionsTaskMetadata.h
Aws::IoT::Model::ListAuditMitigationActionsTasksResult::WithTasks
ListAuditMitigationActionsTasksResult & WithTasks(const Aws::Vector< AuditMitigationActionsTaskMetadata > &value)
Definition: ListAuditMitigationActionsTasksResult.h:59
Aws::IoT::Model::ListAuditMitigationActionsTasksResult::ListAuditMitigationActionsTasksResult
ListAuditMitigationActionsTasksResult()
Aws::IoT::Model::ListAuditMitigationActionsTasksResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListAuditMitigationActionsTasksResult.h:88
Aws::IoT::Model::ListAuditMitigationActionsTasksResult::AddTasks
ListAuditMitigationActionsTasksResult & AddTasks(const AuditMitigationActionsTaskMetadata &value)
Definition: ListAuditMitigationActionsTasksResult.h:71
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::IoT::Model::AuditMitigationActionsTaskMetadata
Definition: AuditMitigationActionsTaskMetadata.h:35
Aws::IoT::Model::ListAuditMitigationActionsTasksResult::ListAuditMitigationActionsTasksResult
ListAuditMitigationActionsTasksResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::ListAuditMitigationActionsTasksResult::SetTasks
void SetTasks(Aws::Vector< AuditMitigationActionsTaskMetadata > &&value)
Definition: ListAuditMitigationActionsTasksResult.h:53
Aws::IoT::Model::ListAuditMitigationActionsTasksResult::operator=
ListAuditMitigationActionsTasksResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::ListAuditMitigationActionsTasksResult::AddTasks
ListAuditMitigationActionsTasksResult & AddTasks(AuditMitigationActionsTaskMetadata &&value)
Definition: ListAuditMitigationActionsTasksResult.h:77
Aws::IoT::Model::ListAuditMitigationActionsTasksResult::WithTasks
ListAuditMitigationActionsTasksResult & WithTasks(Aws::Vector< AuditMitigationActionsTaskMetadata > &&value)
Definition: ListAuditMitigationActionsTasksResult.h:65
Aws::IoT::Model::ListAuditMitigationActionsTasksResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListAuditMitigationActionsTasksResult.h:83
AWSString.h
Aws::IoT::Model::ListAuditMitigationActionsTasksResult::WithNextToken
ListAuditMitigationActionsTasksResult & WithNextToken(const char *value)
Definition: ListAuditMitigationActionsTasksResult.h:113
Aws
Definition: AccessManagementClient.h:15
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::ListAuditMitigationActionsTasksResult::SetTasks
void SetTasks(const Aws::Vector< AuditMitigationActionsTaskMetadata > &value)
Definition: ListAuditMitigationActionsTasksResult.h:47
Aws::IoT::Model::ListAuditMitigationActionsTasksResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListAuditMitigationActionsTasksResult.h:98
Aws::IoT::Model::ListAuditMitigationActionsTasksResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListAuditMitigationActionsTasksResult.h:93
Aws::IoT::Model::ListAuditMitigationActionsTasksResult::GetTasks
const Aws::Vector< AuditMitigationActionsTaskMetadata > & GetTasks() const
Definition: ListAuditMitigationActionsTasksResult.h:41
IoT_EXPORTS.h