AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateLocationSmbRequest.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/SmbMountOptions.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DataSync
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_DATASYNC_API UpdateLocationSmbRequest();
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 "UpdateLocationSmb"; }
33
34 AWS_DATASYNC_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetLocationArn() const{ return m_locationArn; }
44 inline bool LocationArnHasBeenSet() const { return m_locationArnHasBeenSet; }
45 inline void SetLocationArn(const Aws::String& value) { m_locationArnHasBeenSet = true; m_locationArn = value; }
46 inline void SetLocationArn(Aws::String&& value) { m_locationArnHasBeenSet = true; m_locationArn = std::move(value); }
47 inline void SetLocationArn(const char* value) { m_locationArnHasBeenSet = true; m_locationArn.assign(value); }
48 inline UpdateLocationSmbRequest& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;}
49 inline UpdateLocationSmbRequest& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;}
50 inline UpdateLocationSmbRequest& WithLocationArn(const char* value) { SetLocationArn(value); return *this;}
52
54
64 inline const Aws::String& GetSubdirectory() const{ return m_subdirectory; }
65 inline bool SubdirectoryHasBeenSet() const { return m_subdirectoryHasBeenSet; }
66 inline void SetSubdirectory(const Aws::String& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = value; }
67 inline void SetSubdirectory(Aws::String&& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = std::move(value); }
68 inline void SetSubdirectory(const char* value) { m_subdirectoryHasBeenSet = true; m_subdirectory.assign(value); }
69 inline UpdateLocationSmbRequest& WithSubdirectory(const Aws::String& value) { SetSubdirectory(value); return *this;}
70 inline UpdateLocationSmbRequest& WithSubdirectory(Aws::String&& value) { SetSubdirectory(std::move(value)); return *this;}
71 inline UpdateLocationSmbRequest& WithSubdirectory(const char* value) { SetSubdirectory(value); return *this;}
73
75
83 inline const Aws::String& GetUser() const{ return m_user; }
84 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
85 inline void SetUser(const Aws::String& value) { m_userHasBeenSet = true; m_user = value; }
86 inline void SetUser(Aws::String&& value) { m_userHasBeenSet = true; m_user = std::move(value); }
87 inline void SetUser(const char* value) { m_userHasBeenSet = true; m_user.assign(value); }
88 inline UpdateLocationSmbRequest& WithUser(const Aws::String& value) { SetUser(value); return *this;}
89 inline UpdateLocationSmbRequest& WithUser(Aws::String&& value) { SetUser(std::move(value)); return *this;}
90 inline UpdateLocationSmbRequest& WithUser(const char* value) { SetUser(value); return *this;}
92
94
102 inline const Aws::String& GetDomain() const{ return m_domain; }
103 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
104 inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
105 inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
106 inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
107 inline UpdateLocationSmbRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
108 inline UpdateLocationSmbRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
109 inline UpdateLocationSmbRequest& WithDomain(const char* value) { SetDomain(value); return *this;}
111
113
120 inline const Aws::String& GetPassword() const{ return m_password; }
121 inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
122 inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; }
123 inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); }
124 inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); }
125 inline UpdateLocationSmbRequest& WithPassword(const Aws::String& value) { SetPassword(value); return *this;}
126 inline UpdateLocationSmbRequest& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;}
127 inline UpdateLocationSmbRequest& WithPassword(const char* value) { SetPassword(value); return *this;}
129
131
135 inline const Aws::Vector<Aws::String>& GetAgentArns() const{ return m_agentArns; }
136 inline bool AgentArnsHasBeenSet() const { return m_agentArnsHasBeenSet; }
137 inline void SetAgentArns(const Aws::Vector<Aws::String>& value) { m_agentArnsHasBeenSet = true; m_agentArns = value; }
138 inline void SetAgentArns(Aws::Vector<Aws::String>&& value) { m_agentArnsHasBeenSet = true; m_agentArns = std::move(value); }
140 inline UpdateLocationSmbRequest& WithAgentArns(Aws::Vector<Aws::String>&& value) { SetAgentArns(std::move(value)); return *this;}
141 inline UpdateLocationSmbRequest& AddAgentArns(const Aws::String& value) { m_agentArnsHasBeenSet = true; m_agentArns.push_back(value); return *this; }
142 inline UpdateLocationSmbRequest& AddAgentArns(Aws::String&& value) { m_agentArnsHasBeenSet = true; m_agentArns.push_back(std::move(value)); return *this; }
143 inline UpdateLocationSmbRequest& AddAgentArns(const char* value) { m_agentArnsHasBeenSet = true; m_agentArns.push_back(value); return *this; }
145
147
148 inline const SmbMountOptions& GetMountOptions() const{ return m_mountOptions; }
149 inline bool MountOptionsHasBeenSet() const { return m_mountOptionsHasBeenSet; }
150 inline void SetMountOptions(const SmbMountOptions& value) { m_mountOptionsHasBeenSet = true; m_mountOptions = value; }
151 inline void SetMountOptions(SmbMountOptions&& value) { m_mountOptionsHasBeenSet = true; m_mountOptions = std::move(value); }
152 inline UpdateLocationSmbRequest& WithMountOptions(const SmbMountOptions& value) { SetMountOptions(value); return *this;}
153 inline UpdateLocationSmbRequest& WithMountOptions(SmbMountOptions&& value) { SetMountOptions(std::move(value)); return *this;}
155 private:
156
157 Aws::String m_locationArn;
158 bool m_locationArnHasBeenSet = false;
159
160 Aws::String m_subdirectory;
161 bool m_subdirectoryHasBeenSet = false;
162
163 Aws::String m_user;
164 bool m_userHasBeenSet = false;
165
166 Aws::String m_domain;
167 bool m_domainHasBeenSet = false;
168
169 Aws::String m_password;
170 bool m_passwordHasBeenSet = false;
171
172 Aws::Vector<Aws::String> m_agentArns;
173 bool m_agentArnsHasBeenSet = false;
174
175 SmbMountOptions m_mountOptions;
176 bool m_mountOptionsHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace DataSync
181} // namespace Aws
UpdateLocationSmbRequest & WithUser(const Aws::String &value)
UpdateLocationSmbRequest & AddAgentArns(const Aws::String &value)
UpdateLocationSmbRequest & WithSubdirectory(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateLocationSmbRequest & WithMountOptions(SmbMountOptions &&value)
UpdateLocationSmbRequest & WithSubdirectory(const char *value)
UpdateLocationSmbRequest & AddAgentArns(const char *value)
UpdateLocationSmbRequest & WithUser(Aws::String &&value)
UpdateLocationSmbRequest & WithAgentArns(Aws::Vector< Aws::String > &&value)
UpdateLocationSmbRequest & WithDomain(const char *value)
UpdateLocationSmbRequest & WithUser(const char *value)
UpdateLocationSmbRequest & WithDomain(Aws::String &&value)
AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateLocationSmbRequest & WithLocationArn(Aws::String &&value)
UpdateLocationSmbRequest & WithLocationArn(const char *value)
UpdateLocationSmbRequest & WithDomain(const Aws::String &value)
UpdateLocationSmbRequest & WithAgentArns(const Aws::Vector< Aws::String > &value)
UpdateLocationSmbRequest & WithPassword(const char *value)
void SetAgentArns(const Aws::Vector< Aws::String > &value)
UpdateLocationSmbRequest & WithPassword(Aws::String &&value)
UpdateLocationSmbRequest & WithMountOptions(const SmbMountOptions &value)
UpdateLocationSmbRequest & AddAgentArns(Aws::String &&value)
AWS_DATASYNC_API Aws::String SerializePayload() const override
UpdateLocationSmbRequest & WithPassword(const Aws::String &value)
const Aws::Vector< Aws::String > & GetAgentArns() const
void SetAgentArns(Aws::Vector< Aws::String > &&value)
UpdateLocationSmbRequest & WithLocationArn(const Aws::String &value)
UpdateLocationSmbRequest & WithSubdirectory(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