AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
TestHypervisorConfigurationRequest.h
1
6#pragma once
7#include <aws/backup-gateway/BackupGateway_EXPORTS.h>
8#include <aws/backup-gateway/BackupGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace BackupGateway
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_BACKUPGATEWAY_API TestHypervisorConfigurationRequest() = default;
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 "TestHypervisorConfiguration"; }
31
32 AWS_BACKUPGATEWAY_API Aws::String SerializePayload() const override;
33
34 AWS_BACKUPGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
41 inline const Aws::String& GetGatewayArn() const { return m_gatewayArn; }
42 inline bool GatewayArnHasBeenSet() const { return m_gatewayArnHasBeenSet; }
43 template<typename GatewayArnT = Aws::String>
44 void SetGatewayArn(GatewayArnT&& value) { m_gatewayArnHasBeenSet = true; m_gatewayArn = std::forward<GatewayArnT>(value); }
45 template<typename GatewayArnT = Aws::String>
46 TestHypervisorConfigurationRequest& WithGatewayArn(GatewayArnT&& value) { SetGatewayArn(std::forward<GatewayArnT>(value)); return *this;}
48
50
54 inline const Aws::String& GetHost() const { return m_host; }
55 inline bool HostHasBeenSet() const { return m_hostHasBeenSet; }
56 template<typename HostT = Aws::String>
57 void SetHost(HostT&& value) { m_hostHasBeenSet = true; m_host = std::forward<HostT>(value); }
58 template<typename HostT = Aws::String>
59 TestHypervisorConfigurationRequest& WithHost(HostT&& value) { SetHost(std::forward<HostT>(value)); return *this;}
61
63
66 inline const Aws::String& GetPassword() const { return m_password; }
67 inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
68 template<typename PasswordT = Aws::String>
69 void SetPassword(PasswordT&& value) { m_passwordHasBeenSet = true; m_password = std::forward<PasswordT>(value); }
70 template<typename PasswordT = Aws::String>
71 TestHypervisorConfigurationRequest& WithPassword(PasswordT&& value) { SetPassword(std::forward<PasswordT>(value)); return *this;}
73
75
78 inline const Aws::String& GetUsername() const { return m_username; }
79 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
80 template<typename UsernameT = Aws::String>
81 void SetUsername(UsernameT&& value) { m_usernameHasBeenSet = true; m_username = std::forward<UsernameT>(value); }
82 template<typename UsernameT = Aws::String>
83 TestHypervisorConfigurationRequest& WithUsername(UsernameT&& value) { SetUsername(std::forward<UsernameT>(value)); return *this;}
85 private:
86
87 Aws::String m_gatewayArn;
88 bool m_gatewayArnHasBeenSet = false;
89
90 Aws::String m_host;
91 bool m_hostHasBeenSet = false;
92
93 Aws::String m_password;
94 bool m_passwordHasBeenSet = false;
95
96 Aws::String m_username;
97 bool m_usernameHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace BackupGateway
102} // namespace Aws
TestHypervisorConfigurationRequest & WithUsername(UsernameT &&value)
TestHypervisorConfigurationRequest & WithGatewayArn(GatewayArnT &&value)
TestHypervisorConfigurationRequest & WithPassword(PasswordT &&value)
AWS_BACKUPGATEWAY_API TestHypervisorConfigurationRequest()=default
AWS_BACKUPGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_BACKUPGATEWAY_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String