AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateStateMachineAliasRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/states/model/RoutingConfigurationListItem.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 "CreateStateMachineAlias"; }
33
34 AWS_SFN_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetDescription() const{ return m_description; }
44 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
45 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
46 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
47 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
48 inline CreateStateMachineAliasRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
49 inline CreateStateMachineAliasRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
50 inline CreateStateMachineAliasRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
52
54
58 inline const Aws::String& GetName() const{ return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
61 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
63 inline CreateStateMachineAliasRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
64 inline CreateStateMachineAliasRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
65 inline CreateStateMachineAliasRequest& WithName(const char* value) { SetName(value); return *this;}
67
69
77 inline const Aws::Vector<RoutingConfigurationListItem>& GetRoutingConfiguration() const{ return m_routingConfiguration; }
78 inline bool RoutingConfigurationHasBeenSet() const { return m_routingConfigurationHasBeenSet; }
79 inline void SetRoutingConfiguration(const Aws::Vector<RoutingConfigurationListItem>& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration = value; }
80 inline void SetRoutingConfiguration(Aws::Vector<RoutingConfigurationListItem>&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration = std::move(value); }
83 inline CreateStateMachineAliasRequest& AddRoutingConfiguration(const RoutingConfigurationListItem& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration.push_back(value); return *this; }
84 inline CreateStateMachineAliasRequest& AddRoutingConfiguration(RoutingConfigurationListItem&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration.push_back(std::move(value)); return *this; }
86 private:
87
88 Aws::String m_description;
89 bool m_descriptionHasBeenSet = false;
90
91 Aws::String m_name;
92 bool m_nameHasBeenSet = false;
93
94 Aws::Vector<RoutingConfigurationListItem> m_routingConfiguration;
95 bool m_routingConfigurationHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace SFN
100} // namespace Aws
void SetRoutingConfiguration(Aws::Vector< RoutingConfigurationListItem > &&value)
CreateStateMachineAliasRequest & WithName(Aws::String &&value)
CreateStateMachineAliasRequest & WithDescription(const char *value)
CreateStateMachineAliasRequest & WithRoutingConfiguration(Aws::Vector< RoutingConfigurationListItem > &&value)
CreateStateMachineAliasRequest & WithRoutingConfiguration(const Aws::Vector< RoutingConfigurationListItem > &value)
CreateStateMachineAliasRequest & AddRoutingConfiguration(const RoutingConfigurationListItem &value)
CreateStateMachineAliasRequest & WithName(const Aws::String &value)
CreateStateMachineAliasRequest & AddRoutingConfiguration(RoutingConfigurationListItem &&value)
CreateStateMachineAliasRequest & WithName(const char *value)
AWS_SFN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateStateMachineAliasRequest & WithDescription(const Aws::String &value)
AWS_SFN_API Aws::String SerializePayload() const override
CreateStateMachineAliasRequest & WithDescription(Aws::String &&value)
void SetRoutingConfiguration(const Aws::Vector< RoutingConfigurationListItem > &value)
virtual const char * GetServiceRequestName() const override
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