AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateFileSystemAssociationRequest.h
1
6#pragma once
7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/storagegateway/StorageGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/storagegateway/model/CacheAttributes.h>
11#include <utility>
12
13namespace Aws
14{
15namespace StorageGateway
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_STORAGEGATEWAY_API UpdateFileSystemAssociationRequest();
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_STORAGEGATEWAY_API Aws::String SerializePayload() const override;
34
35 AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline const Aws::String& GetFileSystemAssociationARN() const{ return m_fileSystemAssociationARN; }
44 inline bool FileSystemAssociationARNHasBeenSet() const { return m_fileSystemAssociationARNHasBeenSet; }
45 inline void SetFileSystemAssociationARN(const Aws::String& value) { m_fileSystemAssociationARNHasBeenSet = true; m_fileSystemAssociationARN = value; }
46 inline void SetFileSystemAssociationARN(Aws::String&& value) { m_fileSystemAssociationARNHasBeenSet = true; m_fileSystemAssociationARN = std::move(value); }
47 inline void SetFileSystemAssociationARN(const char* value) { m_fileSystemAssociationARNHasBeenSet = true; m_fileSystemAssociationARN.assign(value); }
52
54
59 inline const Aws::String& GetUserName() const{ return m_userName; }
60 inline bool UserNameHasBeenSet() const { return m_userNameHasBeenSet; }
61 inline void SetUserName(const Aws::String& value) { m_userNameHasBeenSet = true; m_userName = value; }
62 inline void SetUserName(Aws::String&& value) { m_userNameHasBeenSet = true; m_userName = std::move(value); }
63 inline void SetUserName(const char* value) { m_userNameHasBeenSet = true; m_userName.assign(value); }
64 inline UpdateFileSystemAssociationRequest& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
65 inline UpdateFileSystemAssociationRequest& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
66 inline UpdateFileSystemAssociationRequest& WithUserName(const char* value) { SetUserName(value); return *this;}
68
70
73 inline const Aws::String& GetPassword() const{ return m_password; }
74 inline bool PasswordHasBeenSet() const { return m_passwordHasBeenSet; }
75 inline void SetPassword(const Aws::String& value) { m_passwordHasBeenSet = true; m_password = value; }
76 inline void SetPassword(Aws::String&& value) { m_passwordHasBeenSet = true; m_password = std::move(value); }
77 inline void SetPassword(const char* value) { m_passwordHasBeenSet = true; m_password.assign(value); }
78 inline UpdateFileSystemAssociationRequest& WithPassword(const Aws::String& value) { SetPassword(value); return *this;}
79 inline UpdateFileSystemAssociationRequest& WithPassword(Aws::String&& value) { SetPassword(std::move(value)); return *this;}
80 inline UpdateFileSystemAssociationRequest& WithPassword(const char* value) { SetPassword(value); return *this;}
82
84
87 inline const Aws::String& GetAuditDestinationARN() const{ return m_auditDestinationARN; }
88 inline bool AuditDestinationARNHasBeenSet() const { return m_auditDestinationARNHasBeenSet; }
89 inline void SetAuditDestinationARN(const Aws::String& value) { m_auditDestinationARNHasBeenSet = true; m_auditDestinationARN = value; }
90 inline void SetAuditDestinationARN(Aws::String&& value) { m_auditDestinationARNHasBeenSet = true; m_auditDestinationARN = std::move(value); }
91 inline void SetAuditDestinationARN(const char* value) { m_auditDestinationARNHasBeenSet = true; m_auditDestinationARN.assign(value); }
94 inline UpdateFileSystemAssociationRequest& WithAuditDestinationARN(const char* value) { SetAuditDestinationARN(value); return *this;}
96
98
99 inline const CacheAttributes& GetCacheAttributes() const{ return m_cacheAttributes; }
100 inline bool CacheAttributesHasBeenSet() const { return m_cacheAttributesHasBeenSet; }
101 inline void SetCacheAttributes(const CacheAttributes& value) { m_cacheAttributesHasBeenSet = true; m_cacheAttributes = value; }
102 inline void SetCacheAttributes(CacheAttributes&& value) { m_cacheAttributesHasBeenSet = true; m_cacheAttributes = std::move(value); }
106 private:
107
108 Aws::String m_fileSystemAssociationARN;
109 bool m_fileSystemAssociationARNHasBeenSet = false;
110
111 Aws::String m_userName;
112 bool m_userNameHasBeenSet = false;
113
114 Aws::String m_password;
115 bool m_passwordHasBeenSet = false;
116
117 Aws::String m_auditDestinationARN;
118 bool m_auditDestinationARNHasBeenSet = false;
119
120 CacheAttributes m_cacheAttributes;
121 bool m_cacheAttributesHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace StorageGateway
126} // namespace Aws
UpdateFileSystemAssociationRequest & WithUserName(const char *value)
UpdateFileSystemAssociationRequest & WithCacheAttributes(CacheAttributes &&value)
UpdateFileSystemAssociationRequest & WithUserName(Aws::String &&value)
UpdateFileSystemAssociationRequest & WithFileSystemAssociationARN(const char *value)
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
UpdateFileSystemAssociationRequest & WithAuditDestinationARN(Aws::String &&value)
UpdateFileSystemAssociationRequest & WithPassword(const Aws::String &value)
UpdateFileSystemAssociationRequest & WithAuditDestinationARN(const char *value)
UpdateFileSystemAssociationRequest & WithFileSystemAssociationARN(Aws::String &&value)
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateFileSystemAssociationRequest & WithFileSystemAssociationARN(const Aws::String &value)
UpdateFileSystemAssociationRequest & WithPassword(Aws::String &&value)
UpdateFileSystemAssociationRequest & WithCacheAttributes(const CacheAttributes &value)
UpdateFileSystemAssociationRequest & WithPassword(const char *value)
UpdateFileSystemAssociationRequest & WithUserName(const Aws::String &value)
UpdateFileSystemAssociationRequest & WithAuditDestinationARN(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String