AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TestConnectionRequest.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
25 {
26 public:
27 AWS_DATABASEMIGRATIONSERVICE_API TestConnectionRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "TestConnection"; }
34
35 AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
36
37 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
44 inline const Aws::String& GetReplicationInstanceArn() const{ return m_replicationInstanceArn; }
45 inline bool ReplicationInstanceArnHasBeenSet() const { return m_replicationInstanceArnHasBeenSet; }
46 inline void SetReplicationInstanceArn(const Aws::String& value) { m_replicationInstanceArnHasBeenSet = true; m_replicationInstanceArn = value; }
47 inline void SetReplicationInstanceArn(Aws::String&& value) { m_replicationInstanceArnHasBeenSet = true; m_replicationInstanceArn = std::move(value); }
48 inline void SetReplicationInstanceArn(const char* value) { m_replicationInstanceArnHasBeenSet = true; m_replicationInstanceArn.assign(value); }
51 inline TestConnectionRequest& WithReplicationInstanceArn(const char* value) { SetReplicationInstanceArn(value); return *this;}
53
55
59 inline const Aws::String& GetEndpointArn() const{ return m_endpointArn; }
60 inline bool EndpointArnHasBeenSet() const { return m_endpointArnHasBeenSet; }
61 inline void SetEndpointArn(const Aws::String& value) { m_endpointArnHasBeenSet = true; m_endpointArn = value; }
62 inline void SetEndpointArn(Aws::String&& value) { m_endpointArnHasBeenSet = true; m_endpointArn = std::move(value); }
63 inline void SetEndpointArn(const char* value) { m_endpointArnHasBeenSet = true; m_endpointArn.assign(value); }
64 inline TestConnectionRequest& WithEndpointArn(const Aws::String& value) { SetEndpointArn(value); return *this;}
65 inline TestConnectionRequest& WithEndpointArn(Aws::String&& value) { SetEndpointArn(std::move(value)); return *this;}
66 inline TestConnectionRequest& WithEndpointArn(const char* value) { SetEndpointArn(value); return *this;}
68 private:
69
70 Aws::String m_replicationInstanceArn;
71 bool m_replicationInstanceArnHasBeenSet = false;
72
73 Aws::String m_endpointArn;
74 bool m_endpointArnHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace DatabaseMigrationService
79} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
TestConnectionRequest & WithEndpointArn(const char *value)
TestConnectionRequest & WithEndpointArn(Aws::String &&value)
TestConnectionRequest & WithReplicationInstanceArn(const Aws::String &value)
TestConnectionRequest & WithReplicationInstanceArn(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API TestConnectionRequest()
TestConnectionRequest & WithReplicationInstanceArn(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
TestConnectionRequest & WithEndpointArn(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String