AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeMapRunResult.h
1
6#pragma once
7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/states/model/MapRunStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/states/model/MapRunItemCounts.h>
12#include <aws/states/model/MapRunExecutionCounts.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace SFN
28{
29namespace Model
30{
32 {
33 public:
34 AWS_SFN_API DescribeMapRunResult();
37
38
40
43 inline const Aws::String& GetMapRunArn() const{ return m_mapRunArn; }
44 inline void SetMapRunArn(const Aws::String& value) { m_mapRunArn = value; }
45 inline void SetMapRunArn(Aws::String&& value) { m_mapRunArn = std::move(value); }
46 inline void SetMapRunArn(const char* value) { m_mapRunArn.assign(value); }
47 inline DescribeMapRunResult& WithMapRunArn(const Aws::String& value) { SetMapRunArn(value); return *this;}
48 inline DescribeMapRunResult& WithMapRunArn(Aws::String&& value) { SetMapRunArn(std::move(value)); return *this;}
49 inline DescribeMapRunResult& WithMapRunArn(const char* value) { SetMapRunArn(value); return *this;}
51
53
57 inline const Aws::String& GetExecutionArn() const{ return m_executionArn; }
58 inline void SetExecutionArn(const Aws::String& value) { m_executionArn = value; }
59 inline void SetExecutionArn(Aws::String&& value) { m_executionArn = std::move(value); }
60 inline void SetExecutionArn(const char* value) { m_executionArn.assign(value); }
61 inline DescribeMapRunResult& WithExecutionArn(const Aws::String& value) { SetExecutionArn(value); return *this;}
62 inline DescribeMapRunResult& WithExecutionArn(Aws::String&& value) { SetExecutionArn(std::move(value)); return *this;}
63 inline DescribeMapRunResult& WithExecutionArn(const char* value) { SetExecutionArn(value); return *this;}
65
67
70 inline const MapRunStatus& GetStatus() const{ return m_status; }
71 inline void SetStatus(const MapRunStatus& value) { m_status = value; }
72 inline void SetStatus(MapRunStatus&& value) { m_status = std::move(value); }
73 inline DescribeMapRunResult& WithStatus(const MapRunStatus& value) { SetStatus(value); return *this;}
74 inline DescribeMapRunResult& WithStatus(MapRunStatus&& value) { SetStatus(std::move(value)); return *this;}
76
78
81 inline const Aws::Utils::DateTime& GetStartDate() const{ return m_startDate; }
82 inline void SetStartDate(const Aws::Utils::DateTime& value) { m_startDate = value; }
83 inline void SetStartDate(Aws::Utils::DateTime&& value) { m_startDate = std::move(value); }
84 inline DescribeMapRunResult& WithStartDate(const Aws::Utils::DateTime& value) { SetStartDate(value); return *this;}
85 inline DescribeMapRunResult& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(value)); return *this;}
87
89
92 inline const Aws::Utils::DateTime& GetStopDate() const{ return m_stopDate; }
93 inline void SetStopDate(const Aws::Utils::DateTime& value) { m_stopDate = value; }
94 inline void SetStopDate(Aws::Utils::DateTime&& value) { m_stopDate = std::move(value); }
95 inline DescribeMapRunResult& WithStopDate(const Aws::Utils::DateTime& value) { SetStopDate(value); return *this;}
96 inline DescribeMapRunResult& WithStopDate(Aws::Utils::DateTime&& value) { SetStopDate(std::move(value)); return *this;}
98
100
104 inline int GetMaxConcurrency() const{ return m_maxConcurrency; }
105 inline void SetMaxConcurrency(int value) { m_maxConcurrency = value; }
106 inline DescribeMapRunResult& WithMaxConcurrency(int value) { SetMaxConcurrency(value); return *this;}
108
110
114 inline double GetToleratedFailurePercentage() const{ return m_toleratedFailurePercentage; }
115 inline void SetToleratedFailurePercentage(double value) { m_toleratedFailurePercentage = value; }
118
120
124 inline long long GetToleratedFailureCount() const{ return m_toleratedFailureCount; }
125 inline void SetToleratedFailureCount(long long value) { m_toleratedFailureCount = value; }
126 inline DescribeMapRunResult& WithToleratedFailureCount(long long value) { SetToleratedFailureCount(value); return *this;}
128
130
135 inline const MapRunItemCounts& GetItemCounts() const{ return m_itemCounts; }
136 inline void SetItemCounts(const MapRunItemCounts& value) { m_itemCounts = value; }
137 inline void SetItemCounts(MapRunItemCounts&& value) { m_itemCounts = std::move(value); }
138 inline DescribeMapRunResult& WithItemCounts(const MapRunItemCounts& value) { SetItemCounts(value); return *this;}
139 inline DescribeMapRunResult& WithItemCounts(MapRunItemCounts&& value) { SetItemCounts(std::move(value)); return *this;}
141
143
148 inline const MapRunExecutionCounts& GetExecutionCounts() const{ return m_executionCounts; }
149 inline void SetExecutionCounts(const MapRunExecutionCounts& value) { m_executionCounts = value; }
150 inline void SetExecutionCounts(MapRunExecutionCounts&& value) { m_executionCounts = std::move(value); }
152 inline DescribeMapRunResult& WithExecutionCounts(MapRunExecutionCounts&& value) { SetExecutionCounts(std::move(value)); return *this;}
154
156
161 inline int GetRedriveCount() const{ return m_redriveCount; }
162 inline void SetRedriveCount(int value) { m_redriveCount = value; }
163 inline DescribeMapRunResult& WithRedriveCount(int value) { SetRedriveCount(value); return *this;}
165
167
171 inline const Aws::Utils::DateTime& GetRedriveDate() const{ return m_redriveDate; }
172 inline void SetRedriveDate(const Aws::Utils::DateTime& value) { m_redriveDate = value; }
173 inline void SetRedriveDate(Aws::Utils::DateTime&& value) { m_redriveDate = std::move(value); }
174 inline DescribeMapRunResult& WithRedriveDate(const Aws::Utils::DateTime& value) { SetRedriveDate(value); return *this;}
175 inline DescribeMapRunResult& WithRedriveDate(Aws::Utils::DateTime&& value) { SetRedriveDate(std::move(value)); return *this;}
177
179
180 inline const Aws::String& GetRequestId() const{ return m_requestId; }
181 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
182 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
183 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
184 inline DescribeMapRunResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
185 inline DescribeMapRunResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
186 inline DescribeMapRunResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
188 private:
189
190 Aws::String m_mapRunArn;
191
192 Aws::String m_executionArn;
193
194 MapRunStatus m_status;
195
196 Aws::Utils::DateTime m_startDate;
197
198 Aws::Utils::DateTime m_stopDate;
199
200 int m_maxConcurrency;
201
202 double m_toleratedFailurePercentage;
203
204 long long m_toleratedFailureCount;
205
206 MapRunItemCounts m_itemCounts;
207
208 MapRunExecutionCounts m_executionCounts;
209
210 int m_redriveCount;
211
212 Aws::Utils::DateTime m_redriveDate;
213
214 Aws::String m_requestId;
215 };
216
217} // namespace Model
218} // namespace SFN
219} // namespace Aws
DescribeMapRunResult & WithRedriveDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStartDate() const
const Aws::Utils::DateTime & GetRedriveDate() const
const Aws::String & GetMapRunArn() const
void SetRequestId(const Aws::String &value)
DescribeMapRunResult & WithMaxConcurrency(int value)
DescribeMapRunResult & WithRequestId(const Aws::String &value)
void SetMapRunArn(const Aws::String &value)
void SetRedriveDate(const Aws::Utils::DateTime &value)
AWS_SFN_API DescribeMapRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeMapRunResult & WithMapRunArn(const Aws::String &value)
DescribeMapRunResult & WithExecutionArn(Aws::String &&value)
const Aws::String & GetExecutionArn() const
void SetRedriveDate(Aws::Utils::DateTime &&value)
DescribeMapRunResult & WithStopDate(Aws::Utils::DateTime &&value)
DescribeMapRunResult & WithMapRunArn(Aws::String &&value)
DescribeMapRunResult & WithItemCounts(const MapRunItemCounts &value)
void SetStopDate(const Aws::Utils::DateTime &value)
DescribeMapRunResult & WithExecutionArn(const char *value)
void SetExecutionCounts(const MapRunExecutionCounts &value)
DescribeMapRunResult & WithStartDate(const Aws::Utils::DateTime &value)
const MapRunExecutionCounts & GetExecutionCounts() const
DescribeMapRunResult & WithStatus(const MapRunStatus &value)
void SetExecutionArn(const Aws::String &value)
void SetStartDate(const Aws::Utils::DateTime &value)
void SetExecutionCounts(MapRunExecutionCounts &&value)
void SetItemCounts(const MapRunItemCounts &value)
DescribeMapRunResult & WithExecutionCounts(MapRunExecutionCounts &&value)
const Aws::Utils::DateTime & GetStopDate() const
DescribeMapRunResult & WithStatus(MapRunStatus &&value)
void SetStatus(const MapRunStatus &value)
DescribeMapRunResult & WithMapRunArn(const char *value)
DescribeMapRunResult & WithStopDate(const Aws::Utils::DateTime &value)
DescribeMapRunResult & WithRedriveCount(int value)
DescribeMapRunResult & WithExecutionArn(const Aws::String &value)
void SetStartDate(Aws::Utils::DateTime &&value)
DescribeMapRunResult & WithRequestId(const char *value)
AWS_SFN_API DescribeMapRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const MapRunStatus & GetStatus() const
DescribeMapRunResult & WithToleratedFailureCount(long long value)
void SetItemCounts(MapRunItemCounts &&value)
DescribeMapRunResult & WithStartDate(Aws::Utils::DateTime &&value)
void SetStopDate(Aws::Utils::DateTime &&value)
DescribeMapRunResult & WithItemCounts(MapRunItemCounts &&value)
DescribeMapRunResult & WithExecutionCounts(const MapRunExecutionCounts &value)
DescribeMapRunResult & WithRedriveDate(Aws::Utils::DateTime &&value)
DescribeMapRunResult & WithToleratedFailurePercentage(double value)
const MapRunItemCounts & GetItemCounts() const
DescribeMapRunResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue