AWS SDK for C++  1.9.125
AWS SDK for C++
ListDetectMitigationActionsTasksResult.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<DetectMitigationActionsTaskSummary>& GetTasks() const{ return m_tasks; }
42 
47  inline void SetTasks(const Aws::Vector<DetectMitigationActionsTaskSummary>& value) { m_tasks = value; }
48 
53  inline void SetTasks(Aws::Vector<DetectMitigationActionsTaskSummary>&& value) { m_tasks = std::move(value); }
54 
60 
65  inline ListDetectMitigationActionsTasksResult& WithTasks(Aws::Vector<DetectMitigationActionsTaskSummary>&& value) { SetTasks(std::move(value)); return *this;}
66 
71  inline ListDetectMitigationActionsTasksResult& AddTasks(const DetectMitigationActionsTaskSummary& value) { m_tasks.push_back(value); return *this; }
72 
77  inline ListDetectMitigationActionsTasksResult& AddTasks(DetectMitigationActionsTaskSummary&& value) { m_tasks.push_back(std::move(value)); return *this; }
78 
79 
84  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
85 
90  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
91 
96  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
97 
102  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
103 
108  inline ListDetectMitigationActionsTasksResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
109 
114  inline ListDetectMitigationActionsTasksResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
115 
120  inline ListDetectMitigationActionsTasksResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121 
122  private:
123 
125 
126  Aws::String m_nextToken;
127  };
128 
129 } // namespace Model
130 } // namespace IoT
131 } // namespace Aws
Aws::IoT::Model::ListDetectMitigationActionsTasksResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDetectMitigationActionsTasksResult.h:90
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::ListDetectMitigationActionsTasksResult::WithTasks
ListDetectMitigationActionsTasksResult & WithTasks(Aws::Vector< DetectMitigationActionsTaskSummary > &&value)
Definition: ListDetectMitigationActionsTasksResult.h:65
Aws::IoT::Model::ListDetectMitigationActionsTasksResult
Definition: ListDetectMitigationActionsTasksResult.h:30
Aws::IoT::Model::ListDetectMitigationActionsTasksResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDetectMitigationActionsTasksResult.h:84
Aws::IoT::Model::ListDetectMitigationActionsTasksResult::ListDetectMitigationActionsTasksResult
ListDetectMitigationActionsTasksResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DetectMitigationActionsTaskSummary.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoT::Model::ListDetectMitigationActionsTasksResult::ListDetectMitigationActionsTasksResult
ListDetectMitigationActionsTasksResult()
Aws::IoT::Model::ListDetectMitigationActionsTasksResult::SetTasks
void SetTasks(Aws::Vector< DetectMitigationActionsTaskSummary > &&value)
Definition: ListDetectMitigationActionsTasksResult.h:53
AWSVector.h
Aws::IoT::Model::ListDetectMitigationActionsTasksResult::GetTasks
const Aws::Vector< DetectMitigationActionsTaskSummary > & GetTasks() const
Definition: ListDetectMitigationActionsTasksResult.h:41
Aws::IoT::Model::ListDetectMitigationActionsTasksResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListDetectMitigationActionsTasksResult.h:102
Aws::IoT::Model::ListDetectMitigationActionsTasksResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDetectMitigationActionsTasksResult.h:96
Aws::IoT::Model::ListDetectMitigationActionsTasksResult::WithNextToken
ListDetectMitigationActionsTasksResult & WithNextToken(const char *value)
Definition: ListDetectMitigationActionsTasksResult.h:120
Aws::IoT::Model::ListDetectMitigationActionsTasksResult::WithTasks
ListDetectMitigationActionsTasksResult & WithTasks(const Aws::Vector< DetectMitigationActionsTaskSummary > &value)
Definition: ListDetectMitigationActionsTasksResult.h:59
AWSString.h
Aws::IoT::Model::ListDetectMitigationActionsTasksResult::AddTasks
ListDetectMitigationActionsTasksResult & AddTasks(DetectMitigationActionsTaskSummary &&value)
Definition: ListDetectMitigationActionsTasksResult.h:77
Aws::IoT::Model::DetectMitigationActionsTaskSummary
Definition: DetectMitigationActionsTaskSummary.h:39
Aws::IoT::Model::ListDetectMitigationActionsTasksResult::operator=
ListDetectMitigationActionsTasksResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::ListDetectMitigationActionsTasksResult::WithNextToken
ListDetectMitigationActionsTasksResult & WithNextToken(Aws::String &&value)
Definition: ListDetectMitigationActionsTasksResult.h:114
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::ListDetectMitigationActionsTasksResult::AddTasks
ListDetectMitigationActionsTasksResult & AddTasks(const DetectMitigationActionsTaskSummary &value)
Definition: ListDetectMitigationActionsTasksResult.h:71
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::ListDetectMitigationActionsTasksResult::SetTasks
void SetTasks(const Aws::Vector< DetectMitigationActionsTaskSummary > &value)
Definition: ListDetectMitigationActionsTasksResult.h:47
Aws::IoT::Model::ListDetectMitigationActionsTasksResult::WithNextToken
ListDetectMitigationActionsTasksResult & WithNextToken(const Aws::String &value)
Definition: ListDetectMitigationActionsTasksResult.h:108
IoT_EXPORTS.h