AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetMapRunArn(const Aws::String& value) { m_mapRunArnHasBeenSet = true; m_mapRunArn = value; }
44 inline void SetMapRunArn(Aws::String&& value) { m_mapRunArnHasBeenSet = true; m_mapRunArn = std::move(value); }
45 inline void SetMapRunArn(const char* value) { m_mapRunArnHasBeenSet = true; m_mapRunArn.assign(value); }
46 inline UpdateMapRunRequest& WithMapRunArn(const Aws::String& value) { SetMapRunArn(value); return *this;}
47 inline UpdateMapRunRequest& WithMapRunArn(Aws::String&& value) { SetMapRunArn(std::move(value)); return *this;}
48 inline UpdateMapRunRequest& WithMapRunArn(const char* value) { SetMapRunArn(value); return *this;}
50
52
56 inline int GetMaxConcurrency() const{ return m_maxConcurrency; }
57 inline bool MaxConcurrencyHasBeenSet() const { return m_maxConcurrencyHasBeenSet; }
58 inline void SetMaxConcurrency(int value) { m_maxConcurrencyHasBeenSet = true; m_maxConcurrency = value; }
59 inline UpdateMapRunRequest& WithMaxConcurrency(int value) { SetMaxConcurrency(value); return *this;}
61
63
66 inline double GetToleratedFailurePercentage() const{ return m_toleratedFailurePercentage; }
67 inline bool ToleratedFailurePercentageHasBeenSet() const { return m_toleratedFailurePercentageHasBeenSet; }
68 inline void SetToleratedFailurePercentage(double value) { m_toleratedFailurePercentageHasBeenSet = true; m_toleratedFailurePercentage = value; }
71
73
76 inline long long GetToleratedFailureCount() const{ return m_toleratedFailureCount; }
77 inline bool ToleratedFailureCountHasBeenSet() const { return m_toleratedFailureCountHasBeenSet; }
78 inline void SetToleratedFailureCount(long long value) { m_toleratedFailureCountHasBeenSet = true; m_toleratedFailureCount = value; }
79 inline UpdateMapRunRequest& WithToleratedFailureCount(long long value) { SetToleratedFailureCount(value); return *this;}
81 private:
82
83 Aws::String m_mapRunArn;
84 bool m_mapRunArnHasBeenSet = false;
85
86 int m_maxConcurrency;
87 bool m_maxConcurrencyHasBeenSet = false;
88
89 double m_toleratedFailurePercentage;
90 bool m_toleratedFailurePercentageHasBeenSet = false;
91
92 long long m_toleratedFailureCount;
93 bool m_toleratedFailureCountHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace SFN
98} // namespace Aws
UpdateMapRunRequest & WithToleratedFailureCount(long long value)
UpdateMapRunRequest & WithToleratedFailurePercentage(double value)
virtual const char * GetServiceRequestName() const override
void SetMapRunArn(const Aws::String &value)
AWS_SFN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateMapRunRequest & WithMaxConcurrency(int value)
UpdateMapRunRequest & WithMapRunArn(const char *value)
UpdateMapRunRequest & WithMapRunArn(const Aws::String &value)
const Aws::String & GetMapRunArn() const
AWS_SFN_API Aws::String SerializePayload() const override
UpdateMapRunRequest & WithMapRunArn(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String