AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateLocationFsxWindowsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datasync/DataSyncRequest.h>
9#include <aws/datasync/DataSync_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace DataSync {
15namespace Model {
16
20 public:
21 AWS_DATASYNC_API UpdateLocationFsxWindowsRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateLocationFsxWindows"; }
28
29 AWS_DATASYNC_API Aws::String SerializePayload() const override;
30
32
34
38 inline const Aws::String& GetLocationArn() const { return m_locationArn; }
39 inline bool LocationArnHasBeenSet() const { return m_locationArnHasBeenSet; }
40 template <typename LocationArnT = Aws::String>
41 void SetLocationArn(LocationArnT&& value) {
42 m_locationArnHasBeenSet = true;
43 m_locationArn = std::forward<LocationArnT>(value);
44 }
45 template <typename LocationArnT = Aws::String>
47 SetLocationArn(std::forward<LocationArnT>(value));
48 return *this;
49 }
51
53
58 inline const Aws::String& GetSubdirectory() const { return m_subdirectory; }
59 inline bool SubdirectoryHasBeenSet() const { return m_subdirectoryHasBeenSet; }
60 template <typename SubdirectoryT = Aws::String>
61 void SetSubdirectory(SubdirectoryT&& value) {
62 m_subdirectoryHasBeenSet = true;
63 m_subdirectory = std::forward<SubdirectoryT>(value);
64 }
65 template <typename SubdirectoryT = Aws::String>
67 SetSubdirectory(std::forward<SubdirectoryT>(value));
68 return *this;
69 }
71
73
79 inline const Aws::String& GetDomain() const { return m_domain; }
80 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
81 template <typename DomainT = Aws::String>
82 void SetDomain(DomainT&& value) {
83 m_domainHasBeenSet = true;
84 m_domain = std::forward<DomainT>(value);
85 }
86 template <typename DomainT = Aws::String>
88 SetDomain(std::forward<DomainT>(value));
89 return *this;
90 }
92
94
102 inline const Aws::String& GetUser() const { return m_user; }
103 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
104 template <typename UserT = Aws::String>
105 void SetUser(UserT&& value) {
106 m_userHasBeenSet = true;
107 m_user = std::forward<UserT>(value);
108 }
109 template <typename UserT = Aws::String>
111 SetUser(std::forward<UserT>(value));
112 return *this;
113 }
115
117
122 inline const Aws::String& GetPassword() const { return m_password; }
123 inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
124 template <typename PasswordT = Aws::String>
125 void SetPassword(PasswordT&& value) {
126 m_passwordHasBeenSet = true;
127 m_password = std::forward<PasswordT>(value);
128 }
129 template <typename PasswordT = Aws::String>
131 SetPassword(std::forward<PasswordT>(value));
132 return *this;
133 }
135 private:
136 Aws::String m_locationArn;
137
138 Aws::String m_subdirectory;
139
140 Aws::String m_domain;
141
142 Aws::String m_user;
143
144 Aws::String m_password;
145 bool m_locationArnHasBeenSet = false;
146 bool m_subdirectoryHasBeenSet = false;
147 bool m_domainHasBeenSet = false;
148 bool m_userHasBeenSet = false;
149 bool m_passwordHasBeenSet = false;
150};
151
152} // namespace Model
153} // namespace DataSync
154} // namespace Aws
UpdateLocationFsxWindowsRequest & WithUser(UserT &&value)
UpdateLocationFsxWindowsRequest & WithPassword(PasswordT &&value)
AWS_DATASYNC_API Aws::String SerializePayload() const override
UpdateLocationFsxWindowsRequest & WithLocationArn(LocationArnT &&value)
UpdateLocationFsxWindowsRequest & WithSubdirectory(SubdirectoryT &&value)
AWS_DATASYNC_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateLocationFsxWindowsRequest & WithDomain(DomainT &&value)
AWS_DATASYNC_API UpdateLocationFsxWindowsRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String