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/DirectorySize.h>
11#include <aws/ds/model/DirectoryVpcSettings.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>
64 template<
typename ShortNameT = Aws::String>
65 void SetShortName(ShortNameT&& value) { m_shortNameHasBeenSet =
true; m_shortName = std::forward<ShortNameT>(value); }
66 template<
typename ShortNameT = Aws::String>
92 template<
typename PasswordT = Aws::String>
93 void SetPassword(PasswordT&& value) { m_passwordHasBeenSet =
true; m_password = std::forward<PasswordT>(value); }
94 template<
typename PasswordT = Aws::String>
104 template<
typename DescriptionT = Aws::String>
105 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
106 template<
typename DescriptionT = Aws::String>
127 template<
typename VpcSettingsT = DirectoryVpcSettings>
128 void SetVpcSettings(VpcSettingsT&& value) { m_vpcSettingsHasBeenSet =
true; m_vpcSettings = std::forward<VpcSettingsT>(value); }
129 template<
typename VpcSettingsT = DirectoryVpcSettings>
139 template<
typename TagsT = Aws::Vector<Tag>>
140 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
141 template<
typename TagsT = Aws::Vector<Tag>>
143 template<
typename TagsT = Tag>
149 bool m_nameHasBeenSet =
false;
152 bool m_shortNameHasBeenSet =
false;
155 bool m_passwordHasBeenSet =
false;
158 bool m_descriptionHasBeenSet =
false;
161 bool m_sizeHasBeenSet =
false;
163 DirectoryVpcSettings m_vpcSettings;
164 bool m_vpcSettingsHasBeenSet =
false;
167 bool m_tagsHasBeenSet =
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
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)
virtual const char * GetServiceRequestName() const override
bool DescriptionHasBeenSet() const
void SetVpcSettings(VpcSettingsT &&value)
CreateDirectoryRequest & WithTags(TagsT &&value)
bool PasswordHasBeenSet() const
void SetSize(DirectorySize 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)
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