AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ValidateStateMachineDefinitionRequest.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 <aws/states/model/StateMachineType.h>
11#include <aws/states/model/ValidateStateMachineDefinitionSeverity.h>
12#include <utility>
13
14namespace Aws
15{
16namespace SFN
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "ValidateStateMachineDefinition"; }
33
34 AWS_SFN_API Aws::String SerializePayload() const override;
35
37
38
40
46 inline const Aws::String& GetDefinition() const{ return m_definition; }
47 inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; }
48 inline void SetDefinition(const Aws::String& value) { m_definitionHasBeenSet = true; m_definition = value; }
49 inline void SetDefinition(Aws::String&& value) { m_definitionHasBeenSet = true; m_definition = std::move(value); }
50 inline void SetDefinition(const char* value) { m_definitionHasBeenSet = true; m_definition.assign(value); }
52 inline ValidateStateMachineDefinitionRequest& WithDefinition(Aws::String&& value) { SetDefinition(std::move(value)); return *this;}
53 inline ValidateStateMachineDefinitionRequest& WithDefinition(const char* value) { SetDefinition(value); return *this;}
55
57
61 inline const StateMachineType& GetType() const{ return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(const StateMachineType& value) { m_typeHasBeenSet = true; m_type = value; }
64 inline void SetType(StateMachineType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
65 inline ValidateStateMachineDefinitionRequest& WithType(const StateMachineType& value) { SetType(value); return *this;}
66 inline ValidateStateMachineDefinitionRequest& WithType(StateMachineType&& value) { SetType(std::move(value)); return *this;}
68
70
76 inline const ValidateStateMachineDefinitionSeverity& GetSeverity() const{ return m_severity; }
77 inline bool SeverityHasBeenSet() const { return m_severityHasBeenSet; }
78 inline void SetSeverity(const ValidateStateMachineDefinitionSeverity& value) { m_severityHasBeenSet = true; m_severity = value; }
79 inline void SetSeverity(ValidateStateMachineDefinitionSeverity&& value) { m_severityHasBeenSet = true; m_severity = std::move(value); }
83
85
92 inline int GetMaxResults() const{ return m_maxResults; }
93 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
94 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
95 inline ValidateStateMachineDefinitionRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
97 private:
98
99 Aws::String m_definition;
100 bool m_definitionHasBeenSet = false;
101
102 StateMachineType m_type;
103 bool m_typeHasBeenSet = false;
104
106 bool m_severityHasBeenSet = false;
107
108 int m_maxResults;
109 bool m_maxResultsHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace SFN
114} // namespace Aws
ValidateStateMachineDefinitionRequest & WithDefinition(const char *value)
ValidateStateMachineDefinitionRequest & WithDefinition(const Aws::String &value)
AWS_SFN_API Aws::String SerializePayload() const override
const ValidateStateMachineDefinitionSeverity & GetSeverity() const
ValidateStateMachineDefinitionRequest & WithSeverity(ValidateStateMachineDefinitionSeverity &&value)
ValidateStateMachineDefinitionRequest & WithDefinition(Aws::String &&value)
ValidateStateMachineDefinitionRequest & WithMaxResults(int value)
void SetSeverity(ValidateStateMachineDefinitionSeverity &&value)
ValidateStateMachineDefinitionRequest & WithSeverity(const ValidateStateMachineDefinitionSeverity &value)
ValidateStateMachineDefinitionRequest & WithType(const StateMachineType &value)
ValidateStateMachineDefinitionRequest & WithType(StateMachineType &&value)
void SetSeverity(const ValidateStateMachineDefinitionSeverity &value)
AWS_SFN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String