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/DirectorySize.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));
67 template <
typename ShortNameT = Aws::String>
69 m_shortNameHasBeenSet =
true;
70 m_shortName = std::forward<ShortNameT>(value);
72 template <
typename ShortNameT = Aws::String>
101 template <
typename PasswordT = Aws::String>
103 m_passwordHasBeenSet =
true;
104 m_password = std::forward<PasswordT>(value);
106 template <
typename PasswordT = Aws::String>
119 template <
typename DescriptionT = Aws::String>
121 m_descriptionHasBeenSet =
true;
122 m_description = std::forward<DescriptionT>(value);
124 template <
typename DescriptionT = Aws::String>
138 m_sizeHasBeenSet =
true;
154 template <
typename VpcSettingsT = DirectoryVpcSettings>
156 m_vpcSettingsHasBeenSet =
true;
157 m_vpcSettings = std::forward<VpcSettingsT>(value);
159 template <
typename VpcSettingsT = DirectoryVpcSettings>
172 template <
typename TagsT = Aws::Vector<Tag>>
174 m_tagsHasBeenSet =
true;
175 m_tags = std::forward<TagsT>(value);
177 template <
typename TagsT = Aws::Vector<Tag>>
179 SetTags(std::forward<TagsT>(value));
182 template <
typename TagsT = Tag>
184 m_tagsHasBeenSet =
true;
185 m_tags.emplace_back(std::forward<TagsT>(value));
198 m_networkTypeHasBeenSet =
true;
199 m_networkType = value;
217 DirectoryVpcSettings m_vpcSettings;
222 bool m_nameHasBeenSet =
false;
223 bool m_shortNameHasBeenSet =
false;
224 bool m_passwordHasBeenSet =
false;
225 bool m_descriptionHasBeenSet =
false;
226 bool m_sizeHasBeenSet =
false;
227 bool m_vpcSettingsHasBeenSet =
false;
228 bool m_tagsHasBeenSet =
false;
229 bool m_networkTypeHasBeenSet =
false;
const Aws::String & GetName() const
void SetName(NameT &&value)
void SetPassword(PasswordT &&value)
CreateDirectoryRequest & WithPassword(PasswordT &&value)
CreateDirectoryRequest & WithShortName(ShortNameT &&value)
bool NameHasBeenSet() const
bool NetworkTypeHasBeenSet() const
AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ShortNameHasBeenSet() const
const Aws::String & GetPassword() const
const Aws::Vector< Tag > & GetTags() const
CreateDirectoryRequest & WithDescription(DescriptionT &&value)
NetworkType GetNetworkType() const
virtual const char * GetServiceRequestName() const override
bool DescriptionHasBeenSet() const
void SetVpcSettings(VpcSettingsT &&value)
CreateDirectoryRequest & WithTags(TagsT &&value)
bool PasswordHasBeenSet() const
void SetSize(DirectorySize value)
void SetNetworkType(NetworkType value)
bool TagsHasBeenSet() const
CreateDirectoryRequest & WithName(NameT &&value)
DirectorySize GetSize() const
const DirectoryVpcSettings & GetVpcSettings() const
AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override
const Aws::String & GetShortName() const
CreateDirectoryRequest & WithSize(DirectorySize value)
CreateDirectoryRequest & WithVpcSettings(VpcSettingsT &&value)
CreateDirectoryRequest & AddTags(TagsT &&value)
CreateDirectoryRequest & WithNetworkType(NetworkType value)
void SetTags(TagsT &&value)
bool SizeHasBeenSet() const
bool VpcSettingsHasBeenSet() const
const Aws::String & GetDescription() const
void SetShortName(ShortNameT &&value)
AWS_DIRECTORYSERVICE_API CreateDirectoryRequest()=default
void SetDescription(DescriptionT &&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