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/DirectoryConnectSettings.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>
65 template<
typename ShortNameT = Aws::String>
66 void SetShortName(ShortNameT&& value) { m_shortNameHasBeenSet =
true; m_shortName = std::forward<ShortNameT>(value); }
67 template<
typename ShortNameT = Aws::String>
77 template<
typename PasswordT = Aws::String>
78 void SetPassword(PasswordT&& value) { m_passwordHasBeenSet =
true; m_password = std::forward<PasswordT>(value); }
79 template<
typename PasswordT = Aws::String>
89 template<
typename DescriptionT = Aws::String>
90 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
91 template<
typename DescriptionT = Aws::String>
112 template<
typename ConnectSettingsT = DirectoryConnectSettings>
113 void SetConnectSettings(ConnectSettingsT&& value) { m_connectSettingsHasBeenSet =
true; m_connectSettings = std::forward<ConnectSettingsT>(value); }
114 template<
typename ConnectSettingsT = DirectoryConnectSettings>
124 template<
typename TagsT = Aws::Vector<Tag>>
125 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
126 template<
typename TagsT = Aws::Vector<Tag>>
128 template<
typename TagsT = Tag>
134 bool m_nameHasBeenSet =
false;
137 bool m_shortNameHasBeenSet =
false;
140 bool m_passwordHasBeenSet =
false;
143 bool m_descriptionHasBeenSet =
false;
146 bool m_sizeHasBeenSet =
false;
148 DirectoryConnectSettings m_connectSettings;
149 bool m_connectSettingsHasBeenSet =
false;
152 bool m_tagsHasBeenSet =
false;
const Aws::String & GetPassword() const
bool PasswordHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool TagsHasBeenSet() 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 SetSize(DirectorySize value)
bool SizeHasBeenSet() const
ConnectDirectoryRequest & WithPassword(PasswordT &&value)
const Aws::String & GetShortName() const
AWS_DIRECTORYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetTags(TagsT &&value)
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