AWS SDK for C++

AWS SDK for C++ Version 1.11.873

Loading...
Searching...
No Matches
UpdateRecoveryPlanStepRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/drs/DrsRequest.h>
9#include <aws/drs/Drs_EXPORTS.h>
10#include <aws/drs/model/RecoveryPlanStepConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace drs {
16namespace Model {
17
21 public:
22 AWS_DRS_API UpdateRecoveryPlanStepRequest() = 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 "UpdateRecoveryPlanStep"; }
29
30 AWS_DRS_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetRecoveryPlanStepArn() const { return m_recoveryPlanStepArn; }
37 inline bool RecoveryPlanStepArnHasBeenSet() const { return m_recoveryPlanStepArnHasBeenSet; }
38 template <typename RecoveryPlanStepArnT = Aws::String>
39 void SetRecoveryPlanStepArn(RecoveryPlanStepArnT&& value) {
40 m_recoveryPlanStepArnHasBeenSet = true;
41 m_recoveryPlanStepArn = std::forward<RecoveryPlanStepArnT>(value);
42 }
43 template <typename RecoveryPlanStepArnT = Aws::String>
45 SetRecoveryPlanStepArn(std::forward<RecoveryPlanStepArnT>(value));
46 return *this;
47 }
49
51
52 inline const Aws::String& GetStepName() const { return m_stepName; }
53 inline bool StepNameHasBeenSet() const { return m_stepNameHasBeenSet; }
54 template <typename StepNameT = Aws::String>
55 void SetStepName(StepNameT&& value) {
56 m_stepNameHasBeenSet = true;
57 m_stepName = std::forward<StepNameT>(value);
58 }
59 template <typename StepNameT = Aws::String>
61 SetStepName(std::forward<StepNameT>(value));
62 return *this;
63 }
65
67
68 inline const RecoveryPlanStepConfiguration& GetConfiguration() const { return m_configuration; }
69 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
70 template <typename ConfigurationT = RecoveryPlanStepConfiguration>
71 void SetConfiguration(ConfigurationT&& value) {
72 m_configurationHasBeenSet = true;
73 m_configuration = std::forward<ConfigurationT>(value);
74 }
75 template <typename ConfigurationT = RecoveryPlanStepConfiguration>
77 SetConfiguration(std::forward<ConfigurationT>(value));
78 return *this;
79 }
81 private:
82 Aws::String m_recoveryPlanStepArn;
83
84 Aws::String m_stepName;
85
86 RecoveryPlanStepConfiguration m_configuration;
87 bool m_recoveryPlanStepArnHasBeenSet = false;
88 bool m_stepNameHasBeenSet = false;
89 bool m_configurationHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace drs
94} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_DRS_API Aws::String SerializePayload() const override
UpdateRecoveryPlanStepRequest & WithStepName(StepNameT &&value)
const RecoveryPlanStepConfiguration & GetConfiguration() const
UpdateRecoveryPlanStepRequest & WithConfiguration(ConfigurationT &&value)
UpdateRecoveryPlanStepRequest & WithRecoveryPlanStepArn(RecoveryPlanStepArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String