AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateLocationFsxWindowsRequest.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/datasync/DataSyncRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/datasync/model/TagListEntry.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DataSync
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_DATASYNC_API CreateLocationFsxWindowsRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateLocationFsxWindows"; }
33
34 AWS_DATASYNC_API Aws::String SerializePayload() const override;
35
37
38
40
45 inline const Aws::String& GetSubdirectory() const { return m_subdirectory; }
46 inline bool SubdirectoryHasBeenSet() const { return m_subdirectoryHasBeenSet; }
47 template<typename SubdirectoryT = Aws::String>
48 void SetSubdirectory(SubdirectoryT&& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = std::forward<SubdirectoryT>(value); }
49 template<typename SubdirectoryT = Aws::String>
50 CreateLocationFsxWindowsRequest& WithSubdirectory(SubdirectoryT&& value) { SetSubdirectory(std::forward<SubdirectoryT>(value)); return *this;}
52
54
58 inline const Aws::String& GetFsxFilesystemArn() const { return m_fsxFilesystemArn; }
59 inline bool FsxFilesystemArnHasBeenSet() const { return m_fsxFilesystemArnHasBeenSet; }
60 template<typename FsxFilesystemArnT = Aws::String>
61 void SetFsxFilesystemArn(FsxFilesystemArnT&& value) { m_fsxFilesystemArnHasBeenSet = true; m_fsxFilesystemArn = std::forward<FsxFilesystemArnT>(value); }
62 template<typename FsxFilesystemArnT = Aws::String>
63 CreateLocationFsxWindowsRequest& WithFsxFilesystemArn(FsxFilesystemArnT&& value) { SetFsxFilesystemArn(std::forward<FsxFilesystemArnT>(value)); return *this;}
65
67
80 inline const Aws::Vector<Aws::String>& GetSecurityGroupArns() const { return m_securityGroupArns; }
81 inline bool SecurityGroupArnsHasBeenSet() const { return m_securityGroupArnsHasBeenSet; }
82 template<typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
83 void SetSecurityGroupArns(SecurityGroupArnsT&& value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns = std::forward<SecurityGroupArnsT>(value); }
84 template<typename SecurityGroupArnsT = Aws::Vector<Aws::String>>
85 CreateLocationFsxWindowsRequest& WithSecurityGroupArns(SecurityGroupArnsT&& value) { SetSecurityGroupArns(std::forward<SecurityGroupArnsT>(value)); return *this;}
86 template<typename SecurityGroupArnsT = Aws::String>
87 CreateLocationFsxWindowsRequest& AddSecurityGroupArns(SecurityGroupArnsT&& value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns.emplace_back(std::forward<SecurityGroupArnsT>(value)); return *this; }
89
91
96 inline const Aws::Vector<TagListEntry>& GetTags() const { return m_tags; }
97 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
98 template<typename TagsT = Aws::Vector<TagListEntry>>
99 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
100 template<typename TagsT = Aws::Vector<TagListEntry>>
101 CreateLocationFsxWindowsRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
102 template<typename TagsT = TagListEntry>
103 CreateLocationFsxWindowsRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
105
107
115 inline const Aws::String& GetUser() const { return m_user; }
116 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
117 template<typename UserT = Aws::String>
118 void SetUser(UserT&& value) { m_userHasBeenSet = true; m_user = std::forward<UserT>(value); }
119 template<typename UserT = Aws::String>
120 CreateLocationFsxWindowsRequest& WithUser(UserT&& value) { SetUser(std::forward<UserT>(value)); return *this;}
122
124
130 inline const Aws::String& GetDomain() const { return m_domain; }
131 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
132 template<typename DomainT = Aws::String>
133 void SetDomain(DomainT&& value) { m_domainHasBeenSet = true; m_domain = std::forward<DomainT>(value); }
134 template<typename DomainT = Aws::String>
135 CreateLocationFsxWindowsRequest& WithDomain(DomainT&& value) { SetDomain(std::forward<DomainT>(value)); return *this;}
137
139
144 inline const Aws::String& GetPassword() const { return m_password; }
145 inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
146 template<typename PasswordT = Aws::String>
147 void SetPassword(PasswordT&& value) { m_passwordHasBeenSet = true; m_password = std::forward<PasswordT>(value); }
148 template<typename PasswordT = Aws::String>
149 CreateLocationFsxWindowsRequest& WithPassword(PasswordT&& value) { SetPassword(std::forward<PasswordT>(value)); return *this;}
151 private:
152
153 Aws::String m_subdirectory;
154 bool m_subdirectoryHasBeenSet = false;
155
156 Aws::String m_fsxFilesystemArn;
157 bool m_fsxFilesystemArnHasBeenSet = false;
158
159 Aws::Vector<Aws::String> m_securityGroupArns;
160 bool m_securityGroupArnsHasBeenSet = false;
161
163 bool m_tagsHasBeenSet = false;
164
165 Aws::String m_user;
166 bool m_userHasBeenSet = false;
167
168 Aws::String m_domain;
169 bool m_domainHasBeenSet = false;
170
171 Aws::String m_password;
172 bool m_passwordHasBeenSet = false;
173 };
174
175} // namespace Model
176} // namespace DataSync
177} // namespace Aws
CreateLocationFsxWindowsRequest & WithSecurityGroupArns(SecurityGroupArnsT &&value)
AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateLocationFsxWindowsRequest & WithTags(TagsT &&value)
CreateLocationFsxWindowsRequest & WithUser(UserT &&value)
CreateLocationFsxWindowsRequest & AddTags(TagsT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupArns() const
CreateLocationFsxWindowsRequest & WithDomain(DomainT &&value)
CreateLocationFsxWindowsRequest & WithSubdirectory(SubdirectoryT &&value)
CreateLocationFsxWindowsRequest & AddSecurityGroupArns(SecurityGroupArnsT &&value)
AWS_DATASYNC_API Aws::String SerializePayload() const override
AWS_DATASYNC_API CreateLocationFsxWindowsRequest()=default
CreateLocationFsxWindowsRequest & WithPassword(PasswordT &&value)
CreateLocationFsxWindowsRequest & WithFsxFilesystemArn(FsxFilesystemArnT &&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