AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateStateMachineAliasRequest.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 "UpdateStateMachineAlias"; }
33
34 AWS_SFN_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetStateMachineAliasArn() const{ return m_stateMachineAliasArn; }
44 inline bool StateMachineAliasArnHasBeenSet() const { return m_stateMachineAliasArnHasBeenSet; }
45 inline void SetStateMachineAliasArn(const Aws::String& value) { m_stateMachineAliasArnHasBeenSet = true; m_stateMachineAliasArn = value; }
46 inline void SetStateMachineAliasArn(Aws::String&& value) { m_stateMachineAliasArnHasBeenSet = true; m_stateMachineAliasArn = std::move(value); }
47 inline void SetStateMachineAliasArn(const char* value) { m_stateMachineAliasArnHasBeenSet = true; m_stateMachineAliasArn.assign(value); }
50 inline UpdateStateMachineAliasRequest& WithStateMachineAliasArn(const char* value) { SetStateMachineAliasArn(value); return *this;}
52
54
57 inline const Aws::String& GetDescription() const{ return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
60 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
61 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
62 inline UpdateStateMachineAliasRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
63 inline UpdateStateMachineAliasRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
64 inline UpdateStateMachineAliasRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
66
68
73 inline const Aws::Vector<RoutingConfigurationListItem>& GetRoutingConfiguration() const{ return m_routingConfiguration; }
74 inline bool RoutingConfigurationHasBeenSet() const { return m_routingConfigurationHasBeenSet; }
75 inline void SetRoutingConfiguration(const Aws::Vector<RoutingConfigurationListItem>& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration = value; }
76 inline void SetRoutingConfiguration(Aws::Vector<RoutingConfigurationListItem>&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration = std::move(value); }
79 inline UpdateStateMachineAliasRequest& AddRoutingConfiguration(const RoutingConfigurationListItem& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration.push_back(value); return *this; }
80 inline UpdateStateMachineAliasRequest& AddRoutingConfiguration(RoutingConfigurationListItem&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration.push_back(std::move(value)); return *this; }
82 private:
83
84 Aws::String m_stateMachineAliasArn;
85 bool m_stateMachineAliasArnHasBeenSet = false;
86
87 Aws::String m_description;
88 bool m_descriptionHasBeenSet = false;
89
90 Aws::Vector<RoutingConfigurationListItem> m_routingConfiguration;
91 bool m_routingConfigurationHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace SFN
96} // namespace Aws
void SetRoutingConfiguration(Aws::Vector< RoutingConfigurationListItem > &&value)
AWS_SFN_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateStateMachineAliasRequest & WithRoutingConfiguration(Aws::Vector< RoutingConfigurationListItem > &&value)
void SetRoutingConfiguration(const Aws::Vector< RoutingConfigurationListItem > &value)
UpdateStateMachineAliasRequest & AddRoutingConfiguration(RoutingConfigurationListItem &&value)
UpdateStateMachineAliasRequest & AddRoutingConfiguration(const RoutingConfigurationListItem &value)
UpdateStateMachineAliasRequest & WithDescription(const char *value)
UpdateStateMachineAliasRequest & WithDescription(Aws::String &&value)
const Aws::Vector< RoutingConfigurationListItem > & GetRoutingConfiguration() const
UpdateStateMachineAliasRequest & WithStateMachineAliasArn(Aws::String &&value)
UpdateStateMachineAliasRequest & WithStateMachineAliasArn(const char *value)
UpdateStateMachineAliasRequest & WithDescription(const Aws::String &value)
UpdateStateMachineAliasRequest & WithRoutingConfiguration(const Aws::Vector< RoutingConfigurationListItem > &value)
UpdateStateMachineAliasRequest & WithStateMachineAliasArn(const Aws::String &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
std::vector< T, Aws::Allocator< T > > Vector