AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateMapRunRequest.h
1
6#pragma once
7#include <aws/states/SFN_EXPORTS.h>
8#include <aws/states/SFNRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace SFN
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_SFN_API UpdateMapRunRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateMapRun"; }
31
32 AWS_SFN_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetMapRunArn() const { return m_mapRunArn; }
42 inline bool MapRunArnHasBeenSet() const { return m_mapRunArnHasBeenSet; }
43 template<typename MapRunArnT = Aws::String>
44 void SetMapRunArn(MapRunArnT&& value) { m_mapRunArnHasBeenSet = true; m_mapRunArn = std::forward<MapRunArnT>(value); }
45 template<typename MapRunArnT = Aws::String>
46 UpdateMapRunRequest& WithMapRunArn(MapRunArnT&& value) { SetMapRunArn(std::forward<MapRunArnT>(value)); return *this;}
48
50
54 inline int GetMaxConcurrency() const { return m_maxConcurrency; }
55 inline bool MaxConcurrencyHasBeenSet() const { return m_maxConcurrencyHasBeenSet; }
56 inline void SetMaxConcurrency(int value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency = value; }
57 inline UpdateMapRunRequest& WithMaxConcurrency(int value) { SetMaxConcurrency(value); return *this;}
59
61
64 inline double GetToleratedFailurePercentage() const { return m_toleratedFailurePercentage; }
65 inline bool ToleratedFailurePercentageHasBeenSet() const { return m_toleratedFailurePercentageHasBeenSet; }
66 inline void SetToleratedFailurePercentage(double value) { m_toleratedFailurePercentageHasBeenSet = true; m_toleratedFailurePercentage = value; }
69
71
74 inline long long GetToleratedFailureCount() const { return m_toleratedFailureCount; }
75 inline bool ToleratedFailureCountHasBeenSet() const { return m_toleratedFailureCountHasBeenSet; }
76 inline void SetToleratedFailureCount(long long value) { m_toleratedFailureCountHasBeenSet = true; m_toleratedFailureCount = value; }
77 inline UpdateMapRunRequest& WithToleratedFailureCount(long long value) { SetToleratedFailureCount(value); return *this;}
79 private:
80
81 Aws::String m_mapRunArn;
82 bool m_mapRunArnHasBeenSet = false;
83
84 int m_maxConcurrency{0};
85 bool m_maxConcurrencyHasBeenSet = false;
86
87 double m_toleratedFailurePercentage{0.0};
88 bool m_toleratedFailurePercentageHasBeenSet = false;
89
90 long long m_toleratedFailureCount{0};
91 bool m_toleratedFailureCountHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace SFN
96} // namespace Aws
UpdateMapRunRequest & WithToleratedFailureCount(long long value)
UpdateMapRunRequest & WithMapRunArn(MapRunArnT &&value)
AWS_SFN_API UpdateMapRunRequest()=default
UpdateMapRunRequest & WithToleratedFailurePercentage(double value)
virtual const char * GetServiceRequestName() const override
AWS_SFN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateMapRunRequest & WithMaxConcurrency(int value)
const Aws::String & GetMapRunArn() const
AWS_SFN_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String