7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ds/DirectoryServiceRequest.h>
10#include <aws/ds/DirectoryService_EXPORTS.h>
11#include <aws/ds/model/DirectoryEdition.h>
12#include <aws/ds/model/DirectoryVpcSettings.h>
13#include <aws/ds/model/NetworkType.h>
14#include <aws/ds/model/Tag.h>
19namespace DirectoryService {
49 template <
typename NameT = Aws::String>
51 m_nameHasBeenSet =
true;
52 m_name = std::forward<NameT>(value);
54 template <
typename NameT = Aws::String>
56 SetName(std::forward<NameT>(value));
70 template <
typename ShortNameT = Aws::String>
72 m_shortNameHasBeenSet =
true;
73 m_shortName = std::forward<ShortNameT>(value);
75 template <
typename ShortNameT = Aws::String>
90 template <
typename PasswordT = Aws::String>
92 m_passwordHasBeenSet =
true;
93 m_password = std::forward<PasswordT>(value);
95 template <
typename PasswordT = Aws::String>
110 template <
typename DescriptionT = Aws::String>
112 m_descriptionHasBeenSet =
true;
113 m_description = std::forward<DescriptionT>(value);
115 template <
typename DescriptionT = Aws::String>
129 template <
typename VpcSettingsT = DirectoryVpcSettings>
131 m_vpcSettingsHasBeenSet =
true;
132 m_vpcSettings = std::forward<VpcSettingsT>(value);
134 template <
typename VpcSettingsT = DirectoryVpcSettings>
149 m_editionHasBeenSet =
true;
164 template <
typename TagsT = Aws::Vector<Tag>>
166 m_tagsHasBeenSet =
true;
167 m_tags = std::forward<TagsT>(value);
169 template <
typename TagsT = Aws::Vector<Tag>>
171 SetTags(std::forward<TagsT>(value));
174 template <
typename TagsT = Tag>
176 m_tagsHasBeenSet =
true;
177 m_tags.emplace_back(std::forward<TagsT>(value));
190 m_networkTypeHasBeenSet =
true;
191 m_networkType = value;
214 bool m_nameHasBeenSet =
false;
215 bool m_shortNameHasBeenSet =
false;
216 bool m_passwordHasBeenSet =
false;
217 bool m_descriptionHasBeenSet =
false;
218 bool m_vpcSettingsHasBeenSet =
false;
219 bool m_editionHasBeenSet =
false;
220 bool m_tagsHasBeenSet =
false;
221 bool m_networkTypeHasBeenSet =
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
NetworkType GetNetworkType() const
CreateMicrosoftADRequest & WithNetworkType(NetworkType value)
CreateMicrosoftADRequest & WithDescription(DescriptionT &&value)
CreateMicrosoftADRequest & WithVpcSettings(VpcSettingsT &&value)
const Aws::String & GetName() const
bool PasswordHasBeenSet() const
void SetNetworkType(NetworkType value)
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 NetworkTypeHasBeenSet() const
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