AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateStorageVirtualMachineRequest.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/FSxRequest.h>
9#include <aws/fsx/model/UpdateSvmActiveDirectoryConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace FSx
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateStorageVirtualMachine"; }
33
34 AWS_FSX_API Aws::String SerializePayload() const override;
35
37
38
40
44 inline const UpdateSvmActiveDirectoryConfiguration& GetActiveDirectoryConfiguration() const{ return m_activeDirectoryConfiguration; }
45 inline bool ActiveDirectoryConfigurationHasBeenSet() const { return m_activeDirectoryConfigurationHasBeenSet; }
46 inline void SetActiveDirectoryConfiguration(const UpdateSvmActiveDirectoryConfiguration& value) { m_activeDirectoryConfigurationHasBeenSet = true; m_activeDirectoryConfiguration = value; }
47 inline void SetActiveDirectoryConfiguration(UpdateSvmActiveDirectoryConfiguration&& value) { m_activeDirectoryConfigurationHasBeenSet = true; m_activeDirectoryConfiguration = std::move(value); }
51
53
54 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
55 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
56 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
57 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
58 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
61 inline UpdateStorageVirtualMachineRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
63
65
69 inline const Aws::String& GetStorageVirtualMachineId() const{ return m_storageVirtualMachineId; }
70 inline bool StorageVirtualMachineIdHasBeenSet() const { return m_storageVirtualMachineIdHasBeenSet; }
71 inline void SetStorageVirtualMachineId(const Aws::String& value) { m_storageVirtualMachineIdHasBeenSet = true; m_storageVirtualMachineId = value; }
72 inline void SetStorageVirtualMachineId(Aws::String&& value) { m_storageVirtualMachineIdHasBeenSet = true; m_storageVirtualMachineId = std::move(value); }
73 inline void SetStorageVirtualMachineId(const char* value) { m_storageVirtualMachineIdHasBeenSet = true; m_storageVirtualMachineId.assign(value); }
78
80
83 inline const Aws::String& GetSvmAdminPassword() const{ return m_svmAdminPassword; }
84 inline bool SvmAdminPasswordHasBeenSet() const { return m_svmAdminPasswordHasBeenSet; }
85 inline void SetSvmAdminPassword(const Aws::String& value) { m_svmAdminPasswordHasBeenSet = true; m_svmAdminPassword = value; }
86 inline void SetSvmAdminPassword(Aws::String&& value) { m_svmAdminPasswordHasBeenSet = true; m_svmAdminPassword = std::move(value); }
87 inline void SetSvmAdminPassword(const char* value) { m_svmAdminPasswordHasBeenSet = true; m_svmAdminPassword.assign(value); }
90 inline UpdateStorageVirtualMachineRequest& WithSvmAdminPassword(const char* value) { SetSvmAdminPassword(value); return *this;}
92 private:
93
94 UpdateSvmActiveDirectoryConfiguration m_activeDirectoryConfiguration;
95 bool m_activeDirectoryConfigurationHasBeenSet = false;
96
97 Aws::String m_clientRequestToken;
98 bool m_clientRequestTokenHasBeenSet = false;
99
100 Aws::String m_storageVirtualMachineId;
101 bool m_storageVirtualMachineIdHasBeenSet = false;
102
103 Aws::String m_svmAdminPassword;
104 bool m_svmAdminPasswordHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace FSx
109} // namespace Aws
UpdateStorageVirtualMachineRequest & WithClientRequestToken(const char *value)
UpdateStorageVirtualMachineRequest & WithStorageVirtualMachineId(const Aws::String &value)
UpdateStorageVirtualMachineRequest & WithSvmAdminPassword(Aws::String &&value)
void SetActiveDirectoryConfiguration(const UpdateSvmActiveDirectoryConfiguration &value)
UpdateStorageVirtualMachineRequest & WithActiveDirectoryConfiguration(UpdateSvmActiveDirectoryConfiguration &&value)
UpdateStorageVirtualMachineRequest & WithClientRequestToken(Aws::String &&value)
AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_FSX_API Aws::String SerializePayload() const override
UpdateStorageVirtualMachineRequest & WithSvmAdminPassword(const Aws::String &value)
UpdateStorageVirtualMachineRequest & WithSvmAdminPassword(const char *value)
const UpdateSvmActiveDirectoryConfiguration & GetActiveDirectoryConfiguration() const
void SetActiveDirectoryConfiguration(UpdateSvmActiveDirectoryConfiguration &&value)
UpdateStorageVirtualMachineRequest & WithClientRequestToken(const Aws::String &value)
UpdateStorageVirtualMachineRequest & WithStorageVirtualMachineId(const char *value)
UpdateStorageVirtualMachineRequest & WithStorageVirtualMachineId(Aws::String &&value)
UpdateStorageVirtualMachineRequest & WithActiveDirectoryConfiguration(const UpdateSvmActiveDirectoryConfiguration &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String