AWS SDK for C++  1.9.47
AWS SDK for C++
ListAuditMitigationActionsExecutionsResult.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<AuditMitigationActionExecutionMetadata>& GetActionsExecutions() const{ return m_actionsExecutions; }
42 
47  inline void SetActionsExecutions(const Aws::Vector<AuditMitigationActionExecutionMetadata>& value) { m_actionsExecutions = value; }
48 
53  inline void SetActionsExecutions(Aws::Vector<AuditMitigationActionExecutionMetadata>&& value) { m_actionsExecutions = std::move(value); }
54 
60 
65  inline ListAuditMitigationActionsExecutionsResult& WithActionsExecutions(Aws::Vector<AuditMitigationActionExecutionMetadata>&& value) { SetActionsExecutions(std::move(value)); return *this;}
66 
71  inline ListAuditMitigationActionsExecutionsResult& AddActionsExecutions(const AuditMitigationActionExecutionMetadata& value) { m_actionsExecutions.push_back(value); return *this; }
72 
77  inline ListAuditMitigationActionsExecutionsResult& AddActionsExecutions(AuditMitigationActionExecutionMetadata&& value) { m_actionsExecutions.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 ListAuditMitigationActionsExecutionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
104 
108  inline ListAuditMitigationActionsExecutionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
109 
113  inline ListAuditMitigationActionsExecutionsResult& 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::IoT::Model::ListAuditMitigationActionsExecutionsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListAuditMitigationActionsExecutionsResult.h:93
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::ListAuditMitigationActionsExecutionsResult::WithActionsExecutions
ListAuditMitigationActionsExecutionsResult & WithActionsExecutions(Aws::Vector< AuditMitigationActionExecutionMetadata > &&value)
Definition: ListAuditMitigationActionsExecutionsResult.h:65
Aws::IoT::Model::ListAuditMitigationActionsExecutionsResult::AddActionsExecutions
ListAuditMitigationActionsExecutionsResult & AddActionsExecutions(const AuditMitigationActionExecutionMetadata &value)
Definition: ListAuditMitigationActionsExecutionsResult.h:71
Aws::IoT::Model::ListAuditMitigationActionsExecutionsResult
Definition: ListAuditMitigationActionsExecutionsResult.h:30
Aws::IoT::Model::ListAuditMitigationActionsExecutionsResult::WithNextToken
ListAuditMitigationActionsExecutionsResult & WithNextToken(const Aws::String &value)
Definition: ListAuditMitigationActionsExecutionsResult.h:103
Aws::IoT::Model::ListAuditMitigationActionsExecutionsResult::SetActionsExecutions
void SetActionsExecutions(Aws::Vector< AuditMitigationActionExecutionMetadata > &&value)
Definition: ListAuditMitigationActionsExecutionsResult.h:53
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoT::Model::ListAuditMitigationActionsExecutionsResult::AddActionsExecutions
ListAuditMitigationActionsExecutionsResult & AddActionsExecutions(AuditMitigationActionExecutionMetadata &&value)
Definition: ListAuditMitigationActionsExecutionsResult.h:77
AWSVector.h
Aws::IoT::Model::ListAuditMitigationActionsExecutionsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListAuditMitigationActionsExecutionsResult.h:98
Aws::IoT::Model::ListAuditMitigationActionsExecutionsResult::operator=
ListAuditMitigationActionsExecutionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::ListAuditMitigationActionsExecutionsResult::ListAuditMitigationActionsExecutionsResult
ListAuditMitigationActionsExecutionsResult()
AuditMitigationActionExecutionMetadata.h
AWSString.h
Aws::IoT::Model::ListAuditMitigationActionsExecutionsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListAuditMitigationActionsExecutionsResult.h:83
Aws::IoT::Model::ListAuditMitigationActionsExecutionsResult::GetActionsExecutions
const Aws::Vector< AuditMitigationActionExecutionMetadata > & GetActionsExecutions() const
Definition: ListAuditMitigationActionsExecutionsResult.h:41
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::ListAuditMitigationActionsExecutionsResult::ListAuditMitigationActionsExecutionsResult
ListAuditMitigationActionsExecutionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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::ListAuditMitigationActionsExecutionsResult::SetActionsExecutions
void SetActionsExecutions(const Aws::Vector< AuditMitigationActionExecutionMetadata > &value)
Definition: ListAuditMitigationActionsExecutionsResult.h:47
Aws::IoT::Model::AuditMitigationActionExecutionMetadata
Definition: AuditMitigationActionExecutionMetadata.h:36
Aws::IoT::Model::ListAuditMitigationActionsExecutionsResult::WithNextToken
ListAuditMitigationActionsExecutionsResult & WithNextToken(const char *value)
Definition: ListAuditMitigationActionsExecutionsResult.h:113
Aws::IoT::Model::ListAuditMitigationActionsExecutionsResult::WithActionsExecutions
ListAuditMitigationActionsExecutionsResult & WithActionsExecutions(const Aws::Vector< AuditMitigationActionExecutionMetadata > &value)
Definition: ListAuditMitigationActionsExecutionsResult.h:59
Aws::IoT::Model::ListAuditMitigationActionsExecutionsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListAuditMitigationActionsExecutionsResult.h:88
Aws::IoT::Model::ListAuditMitigationActionsExecutionsResult::WithNextToken
ListAuditMitigationActionsExecutionsResult & WithNextToken(Aws::String &&value)
Definition: ListAuditMitigationActionsExecutionsResult.h:108
IoT_EXPORTS.h