7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ds/DirectoryServiceRequest.h>
9#include <aws/ds/DirectoryService_EXPORTS.h>
10#include <aws/ds/model/DirectorySizeUpdateSettings.h>
11#include <aws/ds/model/NetworkUpdateSettings.h>
12#include <aws/ds/model/OSUpdateSettings.h>
13#include <aws/ds/model/UpdateType.h>
18namespace DirectoryService {
43 template <
typename DirectoryIdT = Aws::String>
45 m_directoryIdHasBeenSet =
true;
46 m_directoryId = std::forward<DirectoryIdT>(value);
48 template <
typename DirectoryIdT = Aws::String>
62 m_updateTypeHasBeenSet =
true;
78 template <
typename OSUpdateSettingsT = OSUpdateSettings>
80 m_oSUpdateSettingsHasBeenSet =
true;
81 m_oSUpdateSettings = std::forward<OSUpdateSettingsT>(value);
83 template <
typename OSUpdateSettingsT = OSUpdateSettings>
96 template <
typename DirectorySizeUpdateSettingsT = DirectorySizeUpdateSettings>
98 m_directorySizeUpdateSettingsHasBeenSet =
true;
99 m_directorySizeUpdateSettings = std::forward<DirectorySizeUpdateSettingsT>(value);
101 template <
typename DirectorySizeUpdateSettingsT = DirectorySizeUpdateSettings>
114 template <
typename NetworkUpdateSettingsT = NetworkUpdateSettings>
116 m_networkUpdateSettingsHasBeenSet =
true;
117 m_networkUpdateSettings = std::forward<NetworkUpdateSettingsT>(value);
119 template <
typename NetworkUpdateSettingsT = NetworkUpdateSettings>
134 m_createSnapshotBeforeUpdateHasBeenSet =
true;
135 m_createSnapshotBeforeUpdate = value;
147 OSUpdateSettings m_oSUpdateSettings;
149 DirectorySizeUpdateSettings m_directorySizeUpdateSettings;
151 NetworkUpdateSettings m_networkUpdateSettings;
153 bool m_createSnapshotBeforeUpdate{
false};
154 bool m_directoryIdHasBeenSet =
false;
155 bool m_updateTypeHasBeenSet =
false;
156 bool m_oSUpdateSettingsHasBeenSet =
false;
157 bool m_directorySizeUpdateSettingsHasBeenSet =
false;
158 bool m_networkUpdateSettingsHasBeenSet =
false;
159 bool m_createSnapshotBeforeUpdateHasBeenSet =
false;
AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override
bool CreateSnapshotBeforeUpdateHasBeenSet() const
const OSUpdateSettings & GetOSUpdateSettings() const
void SetDirectoryId(DirectoryIdT &&value)
void SetNetworkUpdateSettings(NetworkUpdateSettingsT &&value)
virtual const char * GetServiceRequestName() const override
bool OSUpdateSettingsHasBeenSet() const
bool DirectorySizeUpdateSettingsHasBeenSet() const
UpdateType GetUpdateType() const
AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetDirectoryId() const
const NetworkUpdateSettings & GetNetworkUpdateSettings() const
UpdateDirectorySetupRequest & WithOSUpdateSettings(OSUpdateSettingsT &&value)
void SetUpdateType(UpdateType value)
AWS_DIRECTORYSERVICE_API UpdateDirectorySetupRequest()=default
UpdateDirectorySetupRequest & WithUpdateType(UpdateType value)
void SetDirectorySizeUpdateSettings(DirectorySizeUpdateSettingsT &&value)
bool GetCreateSnapshotBeforeUpdate() const
UpdateDirectorySetupRequest & WithNetworkUpdateSettings(NetworkUpdateSettingsT &&value)
UpdateDirectorySetupRequest & WithDirectoryId(DirectoryIdT &&value)
void SetCreateSnapshotBeforeUpdate(bool value)
UpdateDirectorySetupRequest & WithCreateSnapshotBeforeUpdate(bool value)
bool NetworkUpdateSettingsHasBeenSet() const
bool DirectoryIdHasBeenSet() const
const DirectorySizeUpdateSettings & GetDirectorySizeUpdateSettings() const
UpdateDirectorySetupRequest & WithDirectorySizeUpdateSettings(DirectorySizeUpdateSettingsT &&value)
void SetOSUpdateSettings(OSUpdateSettingsT &&value)
bool UpdateTypeHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String