AWS SDK for C++  1.9.47
AWS SDK for C++
ListDetectMitigationActionsExecutionsResult.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 
40  inline const Aws::Vector<DetectMitigationActionExecution>& GetActionsExecutions() const{ return m_actionsExecutions; }
41 
45  inline void SetActionsExecutions(const Aws::Vector<DetectMitigationActionExecution>& value) { m_actionsExecutions = value; }
46 
50  inline void SetActionsExecutions(Aws::Vector<DetectMitigationActionExecution>&& value) { m_actionsExecutions = std::move(value); }
51 
56 
60  inline ListDetectMitigationActionsExecutionsResult& WithActionsExecutions(Aws::Vector<DetectMitigationActionExecution>&& value) { SetActionsExecutions(std::move(value)); return *this;}
61 
65  inline ListDetectMitigationActionsExecutionsResult& AddActionsExecutions(const DetectMitigationActionExecution& value) { m_actionsExecutions.push_back(value); return *this; }
66 
70  inline ListDetectMitigationActionsExecutionsResult& AddActionsExecutions(DetectMitigationActionExecution&& value) { m_actionsExecutions.push_back(std::move(value)); return *this; }
71 
72 
77  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
78 
83  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
84 
89  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
90 
95  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
96 
101  inline ListDetectMitigationActionsExecutionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 
107  inline ListDetectMitigationActionsExecutionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108 
113  inline ListDetectMitigationActionsExecutionsResult& 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
DetectMitigationActionExecution.h
Aws::IoT::Model::ListDetectMitigationActionsExecutionsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDetectMitigationActionsExecutionsResult.h:83
Aws::IoT::Model::ListDetectMitigationActionsExecutionsResult::WithNextToken
ListDetectMitigationActionsExecutionsResult & WithNextToken(const Aws::String &value)
Definition: ListDetectMitigationActionsExecutionsResult.h:101
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoT::Model::ListDetectMitigationActionsExecutionsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDetectMitigationActionsExecutionsResult.h:89
AWSVector.h
Aws::IoT::Model::ListDetectMitigationActionsExecutionsResult::SetActionsExecutions
void SetActionsExecutions(Aws::Vector< DetectMitigationActionExecution > &&value)
Definition: ListDetectMitigationActionsExecutionsResult.h:50
Aws::IoT::Model::ListDetectMitigationActionsExecutionsResult::AddActionsExecutions
ListDetectMitigationActionsExecutionsResult & AddActionsExecutions(const DetectMitigationActionExecution &value)
Definition: ListDetectMitigationActionsExecutionsResult.h:65
Aws::IoT::Model::ListDetectMitigationActionsExecutionsResult::WithActionsExecutions
ListDetectMitigationActionsExecutionsResult & WithActionsExecutions(Aws::Vector< DetectMitigationActionExecution > &&value)
Definition: ListDetectMitigationActionsExecutionsResult.h:60
Aws::IoT::Model::ListDetectMitigationActionsExecutionsResult::ListDetectMitigationActionsExecutionsResult
ListDetectMitigationActionsExecutionsResult()
Aws::IoT::Model::ListDetectMitigationActionsExecutionsResult
Definition: ListDetectMitigationActionsExecutionsResult.h:30
Aws::IoT::Model::ListDetectMitigationActionsExecutionsResult::operator=
ListDetectMitigationActionsExecutionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::ListDetectMitigationActionsExecutionsResult::ListDetectMitigationActionsExecutionsResult
ListDetectMitigationActionsExecutionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::IoT::Model::DetectMitigationActionExecution
Definition: DetectMitigationActionExecution.h:35
Aws::IoT::Model::ListDetectMitigationActionsExecutionsResult::WithNextToken
ListDetectMitigationActionsExecutionsResult & WithNextToken(Aws::String &&value)
Definition: ListDetectMitigationActionsExecutionsResult.h:107
Aws::IoT::Model::ListDetectMitigationActionsExecutionsResult::WithNextToken
ListDetectMitigationActionsExecutionsResult & WithNextToken(const char *value)
Definition: ListDetectMitigationActionsExecutionsResult.h:113
Aws::IoT::Model::ListDetectMitigationActionsExecutionsResult::AddActionsExecutions
ListDetectMitigationActionsExecutionsResult & AddActionsExecutions(DetectMitigationActionExecution &&value)
Definition: ListDetectMitigationActionsExecutionsResult.h:70
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::ListDetectMitigationActionsExecutionsResult::WithActionsExecutions
ListDetectMitigationActionsExecutionsResult & WithActionsExecutions(const Aws::Vector< DetectMitigationActionExecution > &value)
Definition: ListDetectMitigationActionsExecutionsResult.h:55
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::ListDetectMitigationActionsExecutionsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListDetectMitigationActionsExecutionsResult.h:95
Aws::IoT::Model::ListDetectMitigationActionsExecutionsResult::SetActionsExecutions
void SetActionsExecutions(const Aws::Vector< DetectMitigationActionExecution > &value)
Definition: ListDetectMitigationActionsExecutionsResult.h:45
Aws::IoT::Model::ListDetectMitigationActionsExecutionsResult::GetActionsExecutions
const Aws::Vector< DetectMitigationActionExecution > & GetActionsExecutions() const
Definition: ListDetectMitigationActionsExecutionsResult.h:40
Aws::IoT::Model::ListDetectMitigationActionsExecutionsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDetectMitigationActionsExecutionsResult.h:77
IoT_EXPORTS.h