AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
CreateStateMachineAliasRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/states/SFNRequest.h>
10#include <aws/states/SFN_EXPORTS.h>
11#include <aws/states/model/RoutingConfigurationListItem.h>
12
13#include <utility>
14
15namespace Aws {
16namespace SFN {
17namespace Model {
18
22 public:
23 AWS_SFN_API CreateStateMachineAliasRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "CreateStateMachineAlias"; }
30
31 AWS_SFN_API Aws::String SerializePayload() const override;
32
34
36
39 inline const Aws::String& GetDescription() const { return m_description; }
40 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
41 template <typename DescriptionT = Aws::String>
42 void SetDescription(DescriptionT&& value) {
43 m_descriptionHasBeenSet = true;
44 m_description = std::forward<DescriptionT>(value);
45 }
46 template <typename DescriptionT = Aws::String>
48 SetDescription(std::forward<DescriptionT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template <typename NameT = Aws::String>
61 void SetName(NameT&& value) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
81 inline const Aws::Vector<RoutingConfigurationListItem>& GetRoutingConfiguration() const { return m_routingConfiguration; }
82 inline bool RoutingConfigurationHasBeenSet() const { return m_routingConfigurationHasBeenSet; }
83 template <typename RoutingConfigurationT = Aws::Vector<RoutingConfigurationListItem>>
84 void SetRoutingConfiguration(RoutingConfigurationT&& value) {
85 m_routingConfigurationHasBeenSet = true;
86 m_routingConfiguration = std::forward<RoutingConfigurationT>(value);
87 }
88 template <typename RoutingConfigurationT = Aws::Vector<RoutingConfigurationListItem>>
90 SetRoutingConfiguration(std::forward<RoutingConfigurationT>(value));
91 return *this;
92 }
93 template <typename RoutingConfigurationT = RoutingConfigurationListItem>
95 m_routingConfigurationHasBeenSet = true;
96 m_routingConfiguration.emplace_back(std::forward<RoutingConfigurationT>(value));
97 return *this;
98 }
100 private:
101 Aws::String m_description;
102
103 Aws::String m_name;
104
105 Aws::Vector<RoutingConfigurationListItem> m_routingConfiguration;
106 bool m_descriptionHasBeenSet = false;
107 bool m_nameHasBeenSet = false;
108 bool m_routingConfigurationHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace SFN
113} // namespace Aws
CreateStateMachineAliasRequest & WithName(NameT &&value)
AWS_SFN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateStateMachineAliasRequest & AddRoutingConfiguration(RoutingConfigurationT &&value)
AWS_SFN_API Aws::String SerializePayload() const override
CreateStateMachineAliasRequest & WithRoutingConfiguration(RoutingConfigurationT &&value)
virtual const char * GetServiceRequestName() const override
CreateStateMachineAliasRequest & WithDescription(DescriptionT &&value)
const Aws::Vector< RoutingConfigurationListItem > & GetRoutingConfiguration() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector