AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
TestHypervisorConfigurationRequest.h
1
6#pragma once
7#include <aws/backup-gateway/BackupGatewayRequest.h>
8#include <aws/backup-gateway/BackupGateway_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace BackupGateway {
15namespace Model {
16
20 public:
21 AWS_BACKUPGATEWAY_API TestHypervisorConfigurationRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "TestHypervisorConfiguration"; }
28
29 AWS_BACKUPGATEWAY_API Aws::String SerializePayload() const override;
30
31 AWS_BACKUPGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
37 inline const Aws::String& GetGatewayArn() const { return m_gatewayArn; }
38 inline bool GatewayArnHasBeenSet() const { return m_gatewayArnHasBeenSet; }
39 template <typename GatewayArnT = Aws::String>
40 void SetGatewayArn(GatewayArnT&& value) {
41 m_gatewayArnHasBeenSet = true;
42 m_gatewayArn = std::forward<GatewayArnT>(value);
43 }
44 template <typename GatewayArnT = Aws::String>
46 SetGatewayArn(std::forward<GatewayArnT>(value));
47 return *this;
48 }
50
52
56 inline const Aws::String& GetHost() const { return m_host; }
57 inline bool HostHasBeenSet() const { return m_hostHasBeenSet; }
58 template <typename HostT = Aws::String>
59 void SetHost(HostT&& value) {
60 m_hostHasBeenSet = true;
61 m_host = std::forward<HostT>(value);
62 }
63 template <typename HostT = Aws::String>
65 SetHost(std::forward<HostT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetPassword() const { return m_password; }
75 inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
76 template <typename PasswordT = Aws::String>
77 void SetPassword(PasswordT&& value) {
78 m_passwordHasBeenSet = true;
79 m_password = std::forward<PasswordT>(value);
80 }
81 template <typename PasswordT = Aws::String>
83 SetPassword(std::forward<PasswordT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetUsername() const { return m_username; }
93 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
94 template <typename UsernameT = Aws::String>
95 void SetUsername(UsernameT&& value) {
96 m_usernameHasBeenSet = true;
97 m_username = std::forward<UsernameT>(value);
98 }
99 template <typename UsernameT = Aws::String>
101 SetUsername(std::forward<UsernameT>(value));
102 return *this;
103 }
105 private:
106 Aws::String m_gatewayArn;
107
108 Aws::String m_host;
109
110 Aws::String m_password;
111
112 Aws::String m_username;
113 bool m_gatewayArnHasBeenSet = false;
114 bool m_hostHasBeenSet = false;
115 bool m_passwordHasBeenSet = false;
116 bool m_usernameHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace BackupGateway
121} // 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