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/DirectoryVpcSettings.h>
11#include <aws/ds/model/DirectoryEdition.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/ds/model/Tag.h>
18namespace DirectoryService
52 template<
typename NameT = Aws::String>
53 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
54 template<
typename NameT = Aws::String>
67 template<
typename ShortNameT = Aws::String>
68 void SetShortName(ShortNameT&& value) { m_shortNameHasBeenSet =
true; m_shortName = std::forward<ShortNameT>(value); }
69 template<
typename ShortNameT = Aws::String>
81 template<
typename PasswordT = Aws::String>
82 void SetPassword(PasswordT&& value) { m_passwordHasBeenSet =
true; m_password = std::forward<PasswordT>(value); }
83 template<
typename PasswordT = Aws::String>
95 template<
typename DescriptionT = Aws::String>
96 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
97 template<
typename DescriptionT = Aws::String>
108 template<
typename VpcSettingsT = DirectoryVpcSettings>
109 void SetVpcSettings(VpcSettingsT&& value) { m_vpcSettingsHasBeenSet =
true; m_vpcSettings = std::forward<VpcSettingsT>(value); }
110 template<
typename VpcSettingsT = DirectoryVpcSettings>
131 template<
typename TagsT = Aws::Vector<Tag>>
132 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
133 template<
typename TagsT = Aws::Vector<Tag>>
135 template<
typename TagsT = Tag>
141 bool m_nameHasBeenSet =
false;
144 bool m_shortNameHasBeenSet =
false;
147 bool m_passwordHasBeenSet =
false;
150 bool m_descriptionHasBeenSet =
false;
153 bool m_vpcSettingsHasBeenSet =
false;
156 bool m_editionHasBeenSet =
false;
159 bool m_tagsHasBeenSet =
false;
bool VpcSettingsHasBeenSet() const
void SetVpcSettings(VpcSettingsT &&value)
bool DescriptionHasBeenSet() const
AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override
bool NameHasBeenSet() const
void SetEdition(DirectoryEdition value)
const DirectoryVpcSettings & GetVpcSettings() const
DirectoryEdition GetEdition() const
void SetDescription(DescriptionT &&value)
void SetPassword(PasswordT &&value)
bool EditionHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
virtual const char * GetServiceRequestName() const override
CreateMicrosoftADRequest & WithDescription(DescriptionT &&value)
CreateMicrosoftADRequest & WithVpcSettings(VpcSettingsT &&value)
const Aws::String & GetName() const
bool PasswordHasBeenSet() const
CreateMicrosoftADRequest & AddTags(TagsT &&value)
const Aws::String & GetDescription() const
CreateMicrosoftADRequest & WithShortName(ShortNameT &&value)
AWS_DIRECTORYSERVICE_API CreateMicrosoftADRequest()=default
AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ShortNameHasBeenSet() const
void SetName(NameT &&value)
CreateMicrosoftADRequest & WithEdition(DirectoryEdition value)
CreateMicrosoftADRequest & WithTags(TagsT &&value)
void SetTags(TagsT &&value)
CreateMicrosoftADRequest & WithPassword(PasswordT &&value)
CreateMicrosoftADRequest & WithName(NameT &&value)
const Aws::String & GetShortName() const
bool TagsHasBeenSet() const
const Aws::String & GetPassword() const
void SetShortName(ShortNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector