AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RebootReplicationInstanceRequest.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/dms/DatabaseMigrationServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace DatabaseMigrationService
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_DATABASEMIGRATIONSERVICE_API RebootReplicationInstanceRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "RebootReplicationInstance"; }
31
32 AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
33
34 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
41 inline const Aws::String& GetReplicationInstanceArn() const{ return m_replicationInstanceArn; }
42 inline bool ReplicationInstanceArnHasBeenSet() const { return m_replicationInstanceArnHasBeenSet; }
43 inline void SetReplicationInstanceArn(const Aws::String& value) { m_replicationInstanceArnHasBeenSet = true; m_replicationInstanceArn = value; }
44 inline void SetReplicationInstanceArn(Aws::String&& value) { m_replicationInstanceArnHasBeenSet = true; m_replicationInstanceArn = std::move(value); }
45 inline void SetReplicationInstanceArn(const char* value) { m_replicationInstanceArnHasBeenSet = true; m_replicationInstanceArn.assign(value); }
50
52
58 inline bool GetForceFailover() const{ return m_forceFailover; }
59 inline bool ForceFailoverHasBeenSet() const { return m_forceFailoverHasBeenSet; }
60 inline void SetForceFailover(bool value) { m_forceFailoverHasBeenSet = true; m_forceFailover = value; }
61 inline RebootReplicationInstanceRequest& WithForceFailover(bool value) { SetForceFailover(value); return *this;}
63
65
72 inline bool GetForcePlannedFailover() const{ return m_forcePlannedFailover; }
73 inline bool ForcePlannedFailoverHasBeenSet() const { return m_forcePlannedFailoverHasBeenSet; }
74 inline void SetForcePlannedFailover(bool value) { m_forcePlannedFailoverHasBeenSet = true; m_forcePlannedFailover = value; }
77 private:
78
79 Aws::String m_replicationInstanceArn;
80 bool m_replicationInstanceArnHasBeenSet = false;
81
82 bool m_forceFailover;
83 bool m_forceFailoverHasBeenSet = false;
84
85 bool m_forcePlannedFailover;
86 bool m_forcePlannedFailoverHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace DatabaseMigrationService
91} // namespace Aws
RebootReplicationInstanceRequest & WithReplicationInstanceArn(const Aws::String &value)
RebootReplicationInstanceRequest & WithReplicationInstanceArn(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
RebootReplicationInstanceRequest & WithReplicationInstanceArn(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String