7#include <aws/ds/DirectoryService_EXPORTS.h>
8#include <aws/ds/DirectoryServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ds/model/UpdateType.h>
11#include <aws/ds/model/OSUpdateSettings.h>
16namespace DirectoryService
46 template<
typename DirectoryIdT = Aws::String>
47 void SetDirectoryId(DirectoryIdT&& value) { m_directoryIdHasBeenSet =
true; m_directoryId = std::forward<DirectoryIdT>(value); }
48 template<
typename DirectoryIdT = Aws::String>
70 template<
typename OSUpdateSettingsT = OSUpdateSettings>
71 void SetOSUpdateSettings(OSUpdateSettingsT&& value) { m_oSUpdateSettingsHasBeenSet =
true; m_oSUpdateSettings = std::forward<OSUpdateSettingsT>(value); }
72 template<
typename OSUpdateSettingsT = OSUpdateSettings>
89 bool m_directoryIdHasBeenSet =
false;
92 bool m_updateTypeHasBeenSet =
false;
94 OSUpdateSettings m_oSUpdateSettings;
95 bool m_oSUpdateSettingsHasBeenSet =
false;
97 bool m_createSnapshotBeforeUpdate{
false};
98 bool m_createSnapshotBeforeUpdateHasBeenSet =
false;
AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override
bool CreateSnapshotBeforeUpdateHasBeenSet() const
const OSUpdateSettings & GetOSUpdateSettings() const
void SetDirectoryId(DirectoryIdT &&value)
virtual const char * GetServiceRequestName() const override
bool OSUpdateSettingsHasBeenSet() const
UpdateType GetUpdateType() const
AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetDirectoryId() const
UpdateDirectorySetupRequest & WithOSUpdateSettings(OSUpdateSettingsT &&value)
void SetUpdateType(UpdateType value)
AWS_DIRECTORYSERVICE_API UpdateDirectorySetupRequest()=default
UpdateDirectorySetupRequest & WithUpdateType(UpdateType value)
bool GetCreateSnapshotBeforeUpdate() const
UpdateDirectorySetupRequest & WithDirectoryId(DirectoryIdT &&value)
void SetCreateSnapshotBeforeUpdate(bool value)
UpdateDirectorySetupRequest & WithCreateSnapshotBeforeUpdate(bool value)
bool DirectoryIdHasBeenSet() const
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