AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetSubdirectory(const Aws::String& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = value; }
48 inline void SetSubdirectory(Aws::String&& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = std::move(value); }
49 inline void SetSubdirectory(const char* value) { m_subdirectoryHasBeenSet = true; m_subdirectory.assign(value); }
50 inline CreateLocationFsxWindowsRequest& WithSubdirectory(const Aws::String& value) { SetSubdirectory(value); return *this;}
51 inline CreateLocationFsxWindowsRequest& WithSubdirectory(Aws::String&& value) { SetSubdirectory(std::move(value)); return *this;}
52 inline CreateLocationFsxWindowsRequest& WithSubdirectory(const char* value) { SetSubdirectory(value); return *this;}
54
56
60 inline const Aws::String& GetFsxFilesystemArn() const{ return m_fsxFilesystemArn; }
61 inline bool FsxFilesystemArnHasBeenSet() const { return m_fsxFilesystemArnHasBeenSet; }
62 inline void SetFsxFilesystemArn(const Aws::String& value) { m_fsxFilesystemArnHasBeenSet = true; m_fsxFilesystemArn = value; }
63 inline void SetFsxFilesystemArn(Aws::String&& value) { m_fsxFilesystemArnHasBeenSet = true; m_fsxFilesystemArn = std::move(value); }
64 inline void SetFsxFilesystemArn(const char* value) { m_fsxFilesystemArnHasBeenSet = true; m_fsxFilesystemArn.assign(value); }
66 inline CreateLocationFsxWindowsRequest& WithFsxFilesystemArn(Aws::String&& value) { SetFsxFilesystemArn(std::move(value)); return *this;}
67 inline CreateLocationFsxWindowsRequest& WithFsxFilesystemArn(const char* value) { SetFsxFilesystemArn(value); return *this;}
69
71
84 inline const Aws::Vector<Aws::String>& GetSecurityGroupArns() const{ return m_securityGroupArns; }
85 inline bool SecurityGroupArnsHasBeenSet() const { return m_securityGroupArnsHasBeenSet; }
86 inline void SetSecurityGroupArns(const Aws::Vector<Aws::String>& value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns = value; }
87 inline void SetSecurityGroupArns(Aws::Vector<Aws::String>&& value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns = std::move(value); }
90 inline CreateLocationFsxWindowsRequest& AddSecurityGroupArns(const Aws::String& value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns.push_back(value); return *this; }
91 inline CreateLocationFsxWindowsRequest& AddSecurityGroupArns(Aws::String&& value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns.push_back(std::move(value)); return *this; }
92 inline CreateLocationFsxWindowsRequest& AddSecurityGroupArns(const char* value) { m_securityGroupArnsHasBeenSet = true; m_securityGroupArns.push_back(value); return *this; }
94
96
101 inline const Aws::Vector<TagListEntry>& GetTags() const{ return m_tags; }
102 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
103 inline void SetTags(const Aws::Vector<TagListEntry>& value) { m_tagsHasBeenSet = true; m_tags = value; }
104 inline void SetTags(Aws::Vector<TagListEntry>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
105 inline CreateLocationFsxWindowsRequest& WithTags(const Aws::Vector<TagListEntry>& value) { SetTags(value); return *this;}
106 inline CreateLocationFsxWindowsRequest& WithTags(Aws::Vector<TagListEntry>&& value) { SetTags(std::move(value)); return *this;}
107 inline CreateLocationFsxWindowsRequest& AddTags(const TagListEntry& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
108 inline CreateLocationFsxWindowsRequest& AddTags(TagListEntry&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
110
112
120 inline const Aws::String& GetUser() const{ return m_user; }
121 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
122 inline void SetUser(const Aws::String& value) { m_userHasBeenSet = true; m_user = value; }
123 inline void SetUser(Aws::String&& value) { m_userHasBeenSet = true; m_user = std::move(value); }
124 inline void SetUser(const char* value) { m_userHasBeenSet = true; m_user.assign(value); }
125 inline CreateLocationFsxWindowsRequest& WithUser(const Aws::String& value) { SetUser(value); return *this;}
126 inline CreateLocationFsxWindowsRequest& WithUser(Aws::String&& value) { SetUser(std::move(value)); return *this;}
127 inline CreateLocationFsxWindowsRequest& WithUser(const char* value) { SetUser(value); return *this;}
129
131
137 inline const Aws::String& GetDomain() const{ return m_domain; }
138 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
139 inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
140 inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
141 inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
142 inline CreateLocationFsxWindowsRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
143 inline CreateLocationFsxWindowsRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
144 inline CreateLocationFsxWindowsRequest& WithDomain(const char* value) { SetDomain(value); return *this;}
146
148
153 inline const Aws::String& GetPassword() const{ return m_password; }
154 inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
155 inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; }
156 inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); }
157 inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); }
158 inline CreateLocationFsxWindowsRequest& WithPassword(const Aws::String& value) { SetPassword(value); return *this;}
159 inline CreateLocationFsxWindowsRequest& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;}
160 inline CreateLocationFsxWindowsRequest& WithPassword(const char* value) { SetPassword(value); return *this;}
162 private:
163
164 Aws::String m_subdirectory;
165 bool m_subdirectoryHasBeenSet = false;
166
167 Aws::String m_fsxFilesystemArn;
168 bool m_fsxFilesystemArnHasBeenSet = false;
169
170 Aws::Vector<Aws::String> m_securityGroupArns;
171 bool m_securityGroupArnsHasBeenSet = false;
172
174 bool m_tagsHasBeenSet = false;
175
176 Aws::String m_user;
177 bool m_userHasBeenSet = false;
178
179 Aws::String m_domain;
180 bool m_domainHasBeenSet = false;
181
182 Aws::String m_password;
183 bool m_passwordHasBeenSet = false;
184 };
185
186} // namespace Model
187} // namespace DataSync
188} // namespace Aws
void SetSecurityGroupArns(const Aws::Vector< Aws::String > &value)
CreateLocationFsxWindowsRequest & AddTags(const TagListEntry &value)
CreateLocationFsxWindowsRequest & WithUser(Aws::String &&value)
CreateLocationFsxWindowsRequest & WithTags(Aws::Vector< TagListEntry > &&value)
CreateLocationFsxWindowsRequest & WithFsxFilesystemArn(Aws::String &&value)
CreateLocationFsxWindowsRequest & WithDomain(const char *value)
CreateLocationFsxWindowsRequest & WithFsxFilesystemArn(const char *value)
CreateLocationFsxWindowsRequest & WithSecurityGroupArns(const Aws::Vector< Aws::String > &value)
AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateLocationFsxWindowsRequest & WithTags(const Aws::Vector< TagListEntry > &value)
CreateLocationFsxWindowsRequest & AddSecurityGroupArns(const Aws::String &value)
CreateLocationFsxWindowsRequest & WithPassword(Aws::String &&value)
CreateLocationFsxWindowsRequest & AddSecurityGroupArns(Aws::String &&value)
CreateLocationFsxWindowsRequest & WithSecurityGroupArns(Aws::Vector< Aws::String > &&value)
CreateLocationFsxWindowsRequest & WithDomain(const Aws::String &value)
CreateLocationFsxWindowsRequest & WithSubdirectory(Aws::String &&value)
CreateLocationFsxWindowsRequest & WithUser(const char *value)
CreateLocationFsxWindowsRequest & AddTags(TagListEntry &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupArns() const
CreateLocationFsxWindowsRequest & WithUser(const Aws::String &value)
CreateLocationFsxWindowsRequest & WithFsxFilesystemArn(const Aws::String &value)
CreateLocationFsxWindowsRequest & WithPassword(const Aws::String &value)
AWS_DATASYNC_API Aws::String SerializePayload() const override
CreateLocationFsxWindowsRequest & WithSubdirectory(const Aws::String &value)
CreateLocationFsxWindowsRequest & WithSubdirectory(const char *value)
CreateLocationFsxWindowsRequest & AddSecurityGroupArns(const char *value)
CreateLocationFsxWindowsRequest & WithPassword(const char *value)
CreateLocationFsxWindowsRequest & WithDomain(Aws::String &&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