AWS SDK for C++  1.9.107
AWS SDK for C++
UpdateFileSystemAssociationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace StorageGateway
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UpdateFileSystemAssociation"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::String& GetFileSystemAssociationARN() const{ return m_fileSystemAssociationARN; }
43 
48  inline bool FileSystemAssociationARNHasBeenSet() const { return m_fileSystemAssociationARNHasBeenSet; }
49 
54  inline void SetFileSystemAssociationARN(const Aws::String& value) { m_fileSystemAssociationARNHasBeenSet = true; m_fileSystemAssociationARN = value; }
55 
60  inline void SetFileSystemAssociationARN(Aws::String&& value) { m_fileSystemAssociationARNHasBeenSet = true; m_fileSystemAssociationARN = std::move(value); }
61 
66  inline void SetFileSystemAssociationARN(const char* value) { m_fileSystemAssociationARNHasBeenSet = true; m_fileSystemAssociationARN.assign(value); }
67 
72  inline UpdateFileSystemAssociationRequest& WithFileSystemAssociationARN(const Aws::String& value) { SetFileSystemAssociationARN(value); return *this;}
73 
78  inline UpdateFileSystemAssociationRequest& WithFileSystemAssociationARN(Aws::String&& value) { SetFileSystemAssociationARN(std::move(value)); return *this;}
79 
84  inline UpdateFileSystemAssociationRequest& WithFileSystemAssociationARN(const char* value) { SetFileSystemAssociationARN(value); return *this;}
85 
86 
92  inline const Aws::String& GetUserName() const{ return m_userName; }
93 
99  inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
100 
106  inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; }
107 
113  inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); }
114 
120  inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); }
121 
127  inline UpdateFileSystemAssociationRequest& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
128 
134  inline UpdateFileSystemAssociationRequest& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
135 
141  inline UpdateFileSystemAssociationRequest& WithUserName(const char* value) { SetUserName(value); return *this;}
142 
143 
147  inline const Aws::String& GetPassword() const{ return m_password; }
148 
152  inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
153 
157  inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; }
158 
162  inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); }
163 
167  inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); }
168 
172  inline UpdateFileSystemAssociationRequest& WithPassword(const Aws::String& value) { SetPassword(value); return *this;}
173 
177  inline UpdateFileSystemAssociationRequest& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;}
178 
182  inline UpdateFileSystemAssociationRequest& WithPassword(const char* value) { SetPassword(value); return *this;}
183 
184 
188  inline const Aws::String& GetAuditDestinationARN() const{ return m_auditDestinationARN; }
189 
193  inline bool AuditDestinationARNHasBeenSet() const { return m_auditDestinationARNHasBeenSet; }
194 
198  inline void SetAuditDestinationARN(const Aws::String& value) { m_auditDestinationARNHasBeenSet = true; m_auditDestinationARN = value; }
199 
203  inline void SetAuditDestinationARN(Aws::String&& value) { m_auditDestinationARNHasBeenSet = true; m_auditDestinationARN = std::move(value); }
204 
208  inline void SetAuditDestinationARN(const char* value) { m_auditDestinationARNHasBeenSet = true; m_auditDestinationARN.assign(value); }
209 
213  inline UpdateFileSystemAssociationRequest& WithAuditDestinationARN(const Aws::String& value) { SetAuditDestinationARN(value); return *this;}
214 
218  inline UpdateFileSystemAssociationRequest& WithAuditDestinationARN(Aws::String&& value) { SetAuditDestinationARN(std::move(value)); return *this;}
219 
223  inline UpdateFileSystemAssociationRequest& WithAuditDestinationARN(const char* value) { SetAuditDestinationARN(value); return *this;}
224 
225 
226 
227  inline const CacheAttributes& GetCacheAttributes() const{ return m_cacheAttributes; }
228 
229 
230  inline bool CacheAttributesHasBeenSet() const { return m_cacheAttributesHasBeenSet; }
231 
232 
233  inline void SetCacheAttributes(const CacheAttributes& value) { m_cacheAttributesHasBeenSet = true; m_cacheAttributes = value; }
234 
235 
236  inline void SetCacheAttributes(CacheAttributes&& value) { m_cacheAttributesHasBeenSet = true; m_cacheAttributes = std::move(value); }
237 
238 
239  inline UpdateFileSystemAssociationRequest& WithCacheAttributes(const CacheAttributes& value) { SetCacheAttributes(value); return *this;}
240 
241 
242  inline UpdateFileSystemAssociationRequest& WithCacheAttributes(CacheAttributes&& value) { SetCacheAttributes(std::move(value)); return *this;}
243 
244  private:
245 
246  Aws::String m_fileSystemAssociationARN;
247  bool m_fileSystemAssociationARNHasBeenSet;
248 
249  Aws::String m_userName;
250  bool m_userNameHasBeenSet;
251 
252  Aws::String m_password;
253  bool m_passwordHasBeenSet;
254 
255  Aws::String m_auditDestinationARN;
256  bool m_auditDestinationARNHasBeenSet;
257 
258  CacheAttributes m_cacheAttributes;
259  bool m_cacheAttributesHasBeenSet;
260  };
261 
262 } // namespace Model
263 } // namespace StorageGateway
264 } // namespace Aws
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::SetUserName
void SetUserName(Aws::String &&value)
Definition: UpdateFileSystemAssociationRequest.h:113
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::WithFileSystemAssociationARN
UpdateFileSystemAssociationRequest & WithFileSystemAssociationARN(const char *value)
Definition: UpdateFileSystemAssociationRequest.h:84
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::WithAuditDestinationARN
UpdateFileSystemAssociationRequest & WithAuditDestinationARN(Aws::String &&value)
Definition: UpdateFileSystemAssociationRequest.h:218
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::WithPassword
UpdateFileSystemAssociationRequest & WithPassword(const char *value)
Definition: UpdateFileSystemAssociationRequest.h:182
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::SetPassword
void SetPassword(const Aws::String &value)
Definition: UpdateFileSystemAssociationRequest.h:157
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::UpdateFileSystemAssociationRequest
UpdateFileSystemAssociationRequest()
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::WithUserName
UpdateFileSystemAssociationRequest & WithUserName(const char *value)
Definition: UpdateFileSystemAssociationRequest.h:141
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::SetAuditDestinationARN
void SetAuditDestinationARN(const char *value)
Definition: UpdateFileSystemAssociationRequest.h:208
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::GetFileSystemAssociationARN
const Aws::String & GetFileSystemAssociationARN() const
Definition: UpdateFileSystemAssociationRequest.h:42
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateFileSystemAssociationRequest.h:31
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::SetAuditDestinationARN
void SetAuditDestinationARN(const Aws::String &value)
Definition: UpdateFileSystemAssociationRequest.h:198
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::SetAuditDestinationARN
void SetAuditDestinationARN(Aws::String &&value)
Definition: UpdateFileSystemAssociationRequest.h:203
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::WithAuditDestinationARN
UpdateFileSystemAssociationRequest & WithAuditDestinationARN(const char *value)
Definition: UpdateFileSystemAssociationRequest.h:223
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::GetAuditDestinationARN
const Aws::String & GetAuditDestinationARN() const
Definition: UpdateFileSystemAssociationRequest.h:188
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::PasswordHasBeenSet
bool PasswordHasBeenSet() const
Definition: UpdateFileSystemAssociationRequest.h:152
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::WithCacheAttributes
UpdateFileSystemAssociationRequest & WithCacheAttributes(CacheAttributes &&value)
Definition: UpdateFileSystemAssociationRequest.h:242
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::AuditDestinationARNHasBeenSet
bool AuditDestinationARNHasBeenSet() const
Definition: UpdateFileSystemAssociationRequest.h:193
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::GetUserName
const Aws::String & GetUserName() const
Definition: UpdateFileSystemAssociationRequest.h:92
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::WithCacheAttributes
UpdateFileSystemAssociationRequest & WithCacheAttributes(const CacheAttributes &value)
Definition: UpdateFileSystemAssociationRequest.h:239
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::WithUserName
UpdateFileSystemAssociationRequest & WithUserName(const Aws::String &value)
Definition: UpdateFileSystemAssociationRequest.h:127
Aws::StorageGateway::StorageGatewayRequest
Definition: StorageGatewayRequest.h:17
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::SetPassword
void SetPassword(const char *value)
Definition: UpdateFileSystemAssociationRequest.h:167
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::WithFileSystemAssociationARN
UpdateFileSystemAssociationRequest & WithFileSystemAssociationARN(Aws::String &&value)
Definition: UpdateFileSystemAssociationRequest.h:78
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::SetCacheAttributes
void SetCacheAttributes(const CacheAttributes &value)
Definition: UpdateFileSystemAssociationRequest.h:233
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::WithUserName
UpdateFileSystemAssociationRequest & WithUserName(Aws::String &&value)
Definition: UpdateFileSystemAssociationRequest.h:134
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::WithPassword
UpdateFileSystemAssociationRequest & WithPassword(const Aws::String &value)
Definition: UpdateFileSystemAssociationRequest.h:172
AWSString.h
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::GetCacheAttributes
const CacheAttributes & GetCacheAttributes() const
Definition: UpdateFileSystemAssociationRequest.h:227
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::FileSystemAssociationARNHasBeenSet
bool FileSystemAssociationARNHasBeenSet() const
Definition: UpdateFileSystemAssociationRequest.h:48
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::SetPassword
void SetPassword(Aws::String &&value)
Definition: UpdateFileSystemAssociationRequest.h:162
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::GetPassword
const Aws::String & GetPassword() const
Definition: UpdateFileSystemAssociationRequest.h:147
Aws::StorageGateway::Model::CacheAttributes
Definition: CacheAttributes.h:31
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::SetFileSystemAssociationARN
void SetFileSystemAssociationARN(Aws::String &&value)
Definition: UpdateFileSystemAssociationRequest.h:60
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::WithFileSystemAssociationARN
UpdateFileSystemAssociationRequest & WithFileSystemAssociationARN(const Aws::String &value)
Definition: UpdateFileSystemAssociationRequest.h:72
StorageGatewayRequest.h
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::UserNameHasBeenSet
bool UserNameHasBeenSet() const
Definition: UpdateFileSystemAssociationRequest.h:99
Aws
Definition: AccessManagementClient.h:15
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::SetUserName
void SetUserName(const char *value)
Definition: UpdateFileSystemAssociationRequest.h:120
CacheAttributes.h
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::SetFileSystemAssociationARN
void SetFileSystemAssociationARN(const Aws::String &value)
Definition: UpdateFileSystemAssociationRequest.h:54
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::SetUserName
void SetUserName(const Aws::String &value)
Definition: UpdateFileSystemAssociationRequest.h:106
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::SetCacheAttributes
void SetCacheAttributes(CacheAttributes &&value)
Definition: UpdateFileSystemAssociationRequest.h:236
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::WithAuditDestinationARN
UpdateFileSystemAssociationRequest & WithAuditDestinationARN(const Aws::String &value)
Definition: UpdateFileSystemAssociationRequest.h:213
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::WithPassword
UpdateFileSystemAssociationRequest & WithPassword(Aws::String &&value)
Definition: UpdateFileSystemAssociationRequest.h:177
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest
Definition: UpdateFileSystemAssociationRequest.h:23
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::SetFileSystemAssociationARN
void SetFileSystemAssociationARN(const char *value)
Definition: UpdateFileSystemAssociationRequest.h:66
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::CacheAttributesHasBeenSet
bool CacheAttributesHasBeenSet() const
Definition: UpdateFileSystemAssociationRequest.h:230
Aws::StorageGateway::Model::UpdateFileSystemAssociationRequest::SerializePayload
Aws::String SerializePayload() const override