AWS SDK for C++

AWS SDK for C++ Version 1.11.927

Loading...
Searching...
No Matches
UpdateRouteRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/migration-hub-refactor-spaces/MigrationHubRefactorSpacesRequest.h>
9#include <aws/migration-hub-refactor-spaces/MigrationHubRefactorSpaces_EXPORTS.h>
10#include <aws/migration-hub-refactor-spaces/model/RouteActivationState.h>
11
12#include <utility>
13
14namespace Aws {
15namespace MigrationHubRefactorSpaces {
16namespace Model {
17
21 public:
22 AWS_MIGRATIONHUBREFACTORSPACES_API UpdateRouteRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateRoute"; }
29
30 AWS_MIGRATIONHUBREFACTORSPACES_API Aws::String SerializePayload() const override;
31
33
37 inline RouteActivationState GetActivationState() const { return m_activationState; }
38 inline bool ActivationStateHasBeenSet() const { return m_activationStateHasBeenSet; }
40 m_activationStateHasBeenSet = true;
41 m_activationState = value;
42 }
44 SetActivationState(value);
45 return *this;
46 }
48
50
53 inline const Aws::String& GetApplicationIdentifier() const { return m_applicationIdentifier; }
54 inline bool ApplicationIdentifierHasBeenSet() const { return m_applicationIdentifierHasBeenSet; }
55 template <typename ApplicationIdentifierT = Aws::String>
56 void SetApplicationIdentifier(ApplicationIdentifierT&& value) {
57 m_applicationIdentifierHasBeenSet = true;
58 m_applicationIdentifier = std::forward<ApplicationIdentifierT>(value);
59 }
60 template <typename ApplicationIdentifierT = Aws::String>
61 UpdateRouteRequest& WithApplicationIdentifier(ApplicationIdentifierT&& value) {
62 SetApplicationIdentifier(std::forward<ApplicationIdentifierT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetEnvironmentIdentifier() const { return m_environmentIdentifier; }
72 inline bool EnvironmentIdentifierHasBeenSet() const { return m_environmentIdentifierHasBeenSet; }
73 template <typename EnvironmentIdentifierT = Aws::String>
74 void SetEnvironmentIdentifier(EnvironmentIdentifierT&& value) {
75 m_environmentIdentifierHasBeenSet = true;
76 m_environmentIdentifier = std::forward<EnvironmentIdentifierT>(value);
77 }
78 template <typename EnvironmentIdentifierT = Aws::String>
79 UpdateRouteRequest& WithEnvironmentIdentifier(EnvironmentIdentifierT&& value) {
80 SetEnvironmentIdentifier(std::forward<EnvironmentIdentifierT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::String& GetRouteIdentifier() const { return m_routeIdentifier; }
90 inline bool RouteIdentifierHasBeenSet() const { return m_routeIdentifierHasBeenSet; }
91 template <typename RouteIdentifierT = Aws::String>
92 void SetRouteIdentifier(RouteIdentifierT&& value) {
93 m_routeIdentifierHasBeenSet = true;
94 m_routeIdentifier = std::forward<RouteIdentifierT>(value);
95 }
96 template <typename RouteIdentifierT = Aws::String>
97 UpdateRouteRequest& WithRouteIdentifier(RouteIdentifierT&& value) {
98 SetRouteIdentifier(std::forward<RouteIdentifierT>(value));
99 return *this;
100 }
102 private:
104
105 Aws::String m_applicationIdentifier;
106
107 Aws::String m_environmentIdentifier;
108
109 Aws::String m_routeIdentifier;
110 bool m_activationStateHasBeenSet = false;
111 bool m_applicationIdentifierHasBeenSet = false;
112 bool m_environmentIdentifierHasBeenSet = false;
113 bool m_routeIdentifierHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace MigrationHubRefactorSpaces
118} // namespace Aws
void SetApplicationIdentifier(ApplicationIdentifierT &&value)
AWS_MIGRATIONHUBREFACTORSPACES_API UpdateRouteRequest()=default
UpdateRouteRequest & WithActivationState(RouteActivationState value)
AWS_MIGRATIONHUBREFACTORSPACES_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateRouteRequest & WithRouteIdentifier(RouteIdentifierT &&value)
UpdateRouteRequest & WithEnvironmentIdentifier(EnvironmentIdentifierT &&value)
void SetEnvironmentIdentifier(EnvironmentIdentifierT &&value)
UpdateRouteRequest & WithApplicationIdentifier(ApplicationIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String