AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetGatewayArn(const Aws::String& value) { m_gatewayArnHasBeenSet = true; m_gatewayArn = value; }
44 inline void SetGatewayArn(Aws::String&& value) { m_gatewayArnHasBeenSet = true; m_gatewayArn = std::move(value); }
45 inline void SetGatewayArn(const char* value) { m_gatewayArnHasBeenSet = true; m_gatewayArn.assign(value); }
46 inline TestHypervisorConfigurationRequest& WithGatewayArn(const Aws::String& value) { SetGatewayArn(value); return *this;}
47 inline TestHypervisorConfigurationRequest& WithGatewayArn(Aws::String&& value) { SetGatewayArn(std::move(value)); return *this;}
48 inline TestHypervisorConfigurationRequest& WithGatewayArn(const char* value) { SetGatewayArn(value); return *this;}
50
52
56 inline const Aws::String& GetHost() const{ return m_host; }
57 inline bool HostHasBeenSet() const { return m_hostHasBeenSet; }
58 inline void SetHost(const Aws::String& value) { m_hostHasBeenSet = true; m_host = value; }
59 inline void SetHost(Aws::String&& value) { m_hostHasBeenSet = true; m_host = std::move(value); }
60 inline void SetHost(const char* value) { m_hostHasBeenSet = true; m_host.assign(value); }
61 inline TestHypervisorConfigurationRequest& WithHost(const Aws::String& value) { SetHost(value); return *this;}
62 inline TestHypervisorConfigurationRequest& WithHost(Aws::String&& value) { SetHost(std::move(value)); return *this;}
63 inline TestHypervisorConfigurationRequest& WithHost(const char* value) { SetHost(value); return *this;}
65
67
70 inline const Aws::String& GetPassword() const{ return m_password; }
71 inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
72 inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; }
73 inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); }
74 inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); }
75 inline TestHypervisorConfigurationRequest& WithPassword(const Aws::String& value) { SetPassword(value); return *this;}
76 inline TestHypervisorConfigurationRequest& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;}
77 inline TestHypervisorConfigurationRequest& WithPassword(const char* value) { SetPassword(value); return *this;}
79
81
84 inline const Aws::String& GetUsername() const{ return m_username; }
85 inline bool UsernameHasBeenSet() const { return m_usernameHasBeenSet; }
86 inline void SetUsername(const Aws::String& value) { m_usernameHasBeenSet = true; m_username = value; }
87 inline void SetUsername(Aws::String&& value) { m_usernameHasBeenSet = true; m_username = std::move(value); }
88 inline void SetUsername(const char* value) { m_usernameHasBeenSet = true; m_username.assign(value); }
89 inline TestHypervisorConfigurationRequest& WithUsername(const Aws::String& value) { SetUsername(value); return *this;}
90 inline TestHypervisorConfigurationRequest& WithUsername(Aws::String&& value) { SetUsername(std::move(value)); return *this;}
91 inline TestHypervisorConfigurationRequest& WithUsername(const char* value) { SetUsername(value); return *this;}
93 private:
94
95 Aws::String m_gatewayArn;
96 bool m_gatewayArnHasBeenSet = false;
97
98 Aws::String m_host;
99 bool m_hostHasBeenSet = false;
100
101 Aws::String m_password;
102 bool m_passwordHasBeenSet = false;
103
104 Aws::String m_username;
105 bool m_usernameHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace BackupGateway
110} // namespace Aws
TestHypervisorConfigurationRequest & WithUsername(const char *value)
TestHypervisorConfigurationRequest & WithGatewayArn(Aws::String &&value)
TestHypervisorConfigurationRequest & WithHost(Aws::String &&value)
TestHypervisorConfigurationRequest & WithUsername(Aws::String &&value)
TestHypervisorConfigurationRequest & WithPassword(const Aws::String &value)
TestHypervisorConfigurationRequest & WithPassword(const char *value)
AWS_BACKUPGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
TestHypervisorConfigurationRequest & WithHost(const char *value)
AWS_BACKUPGATEWAY_API Aws::String SerializePayload() const override
TestHypervisorConfigurationRequest & WithUsername(const Aws::String &value)
TestHypervisorConfigurationRequest & WithGatewayArn(const char *value)
TestHypervisorConfigurationRequest & WithHost(const Aws::String &value)
TestHypervisorConfigurationRequest & WithGatewayArn(const Aws::String &value)
TestHypervisorConfigurationRequest & WithPassword(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String