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/DirectoryConnectSettings.h>
12#include <aws/ds/model/DirectorySize.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));
68 template <
typename ShortNameT = Aws::String>
70 m_shortNameHasBeenSet =
true;
71 m_shortName = std::forward<ShortNameT>(value);
73 template <
typename ShortNameT = Aws::String>
86 template <
typename PasswordT = Aws::String>
88 m_passwordHasBeenSet =
true;
89 m_password = std::forward<PasswordT>(value);
91 template <
typename PasswordT = Aws::String>
104 template <
typename DescriptionT = Aws::String>
106 m_descriptionHasBeenSet =
true;
107 m_description = std::forward<DescriptionT>(value);
109 template <
typename DescriptionT = Aws::String>
123 m_sizeHasBeenSet =
true;
139 template <
typename ConnectSettingsT = DirectoryConnectSettings>
141 m_connectSettingsHasBeenSet =
true;
142 m_connectSettings = std::forward<ConnectSettingsT>(value);
144 template <
typename ConnectSettingsT = DirectoryConnectSettings>
157 template <
typename TagsT = Aws::Vector<Tag>>
159 m_tagsHasBeenSet =
true;
160 m_tags = std::forward<TagsT>(value);
162 template <
typename TagsT = Aws::Vector<Tag>>
164 SetTags(std::forward<TagsT>(value));
167 template <
typename TagsT = Tag>
169 m_tagsHasBeenSet =
true;
170 m_tags.emplace_back(std::forward<TagsT>(value));
183 m_networkTypeHasBeenSet =
true;
184 m_networkType = value;
202 DirectoryConnectSettings m_connectSettings;
207 bool m_nameHasBeenSet =
false;
208 bool m_shortNameHasBeenSet =
false;
209 bool m_passwordHasBeenSet =
false;
210 bool m_descriptionHasBeenSet =
false;
211 bool m_sizeHasBeenSet =
false;
212 bool m_connectSettingsHasBeenSet =
false;
213 bool m_tagsHasBeenSet =
false;
214 bool m_networkTypeHasBeenSet =
false;
const Aws::String & GetPassword() const
bool PasswordHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool TagsHasBeenSet() const
bool NetworkTypeHasBeenSet() const
bool ConnectSettingsHasBeenSet() const
ConnectDirectoryRequest & WithShortName(ShortNameT &&value)
virtual const char * GetServiceRequestName() const override
ConnectDirectoryRequest & WithDescription(DescriptionT &&value)
void SetConnectSettings(ConnectSettingsT &&value)
const Aws::String & GetName() const
bool NameHasBeenSet() const
bool ShortNameHasBeenSet() const
DirectorySize GetSize() const
const Aws::Vector< Tag > & GetTags() const
ConnectDirectoryRequest & WithName(NameT &&value)
const DirectoryConnectSettings & GetConnectSettings() const
ConnectDirectoryRequest & AddTags(TagsT &&value)
void SetShortName(ShortNameT &&value)
AWS_DIRECTORYSERVICE_API ConnectDirectoryRequest()=default
const Aws::String & GetDescription() const
ConnectDirectoryRequest & WithSize(DirectorySize value)
AWS_DIRECTORYSERVICE_API Aws::String SerializePayload() const override
void SetName(NameT &&value)
void SetNetworkType(NetworkType value)
void SetSize(DirectorySize value)
bool SizeHasBeenSet() const
ConnectDirectoryRequest & WithPassword(PasswordT &&value)
const Aws::String & GetShortName() const
AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ConnectDirectoryRequest & WithNetworkType(NetworkType value)
void SetTags(TagsT &&value)
NetworkType GetNetworkType() const
bool DescriptionHasBeenSet() const
ConnectDirectoryRequest & WithTags(TagsT &&value)
ConnectDirectoryRequest & WithConnectSettings(ConnectSettingsT &&value)
void SetPassword(PasswordT &&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