AWS SDK for C++  1.8.129
AWS SDK for C++
UpdateFileSystemRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace EFS
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 "UpdateFileSystem"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
39  inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; }
40 
44  inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
45 
49  inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; }
50 
54  inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); }
55 
59  inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); }
60 
64  inline UpdateFileSystemRequest& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;}
65 
69  inline UpdateFileSystemRequest& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;}
70 
74  inline UpdateFileSystemRequest& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;}
75 
76 
84  inline const ThroughputMode& GetThroughputMode() const{ return m_throughputMode; }
85 
93  inline bool ThroughputModeHasBeenSet() const { return m_throughputModeHasBeenSet; }
94 
102  inline void SetThroughputMode(const ThroughputMode& value) { m_throughputModeHasBeenSet = true; m_throughputMode = value; }
103 
111  inline void SetThroughputMode(ThroughputMode&& value) { m_throughputModeHasBeenSet = true; m_throughputMode = std::move(value); }
112 
120  inline UpdateFileSystemRequest& WithThroughputMode(const ThroughputMode& value) { SetThroughputMode(value); return *this;}
121 
129  inline UpdateFileSystemRequest& WithThroughputMode(ThroughputMode&& value) { SetThroughputMode(std::move(value)); return *this;}
130 
131 
139  inline double GetProvisionedThroughputInMibps() const{ return m_provisionedThroughputInMibps; }
140 
148  inline bool ProvisionedThroughputInMibpsHasBeenSet() const { return m_provisionedThroughputInMibpsHasBeenSet; }
149 
157  inline void SetProvisionedThroughputInMibps(double value) { m_provisionedThroughputInMibpsHasBeenSet = true; m_provisionedThroughputInMibps = value; }
158 
166  inline UpdateFileSystemRequest& WithProvisionedThroughputInMibps(double value) { SetProvisionedThroughputInMibps(value); return *this;}
167 
168  private:
169 
170  Aws::String m_fileSystemId;
171  bool m_fileSystemIdHasBeenSet;
172 
173  ThroughputMode m_throughputMode;
174  bool m_throughputModeHasBeenSet;
175 
176  double m_provisionedThroughputInMibps;
177  bool m_provisionedThroughputInMibpsHasBeenSet;
178  };
179 
180 } // namespace Model
181 } // namespace EFS
182 } // namespace Aws
ThroughputMode.h
EFS_EXPORTS.h
Aws::EFS::Model::UpdateFileSystemRequest::GetThroughputMode
const ThroughputMode & GetThroughputMode() const
Definition: UpdateFileSystemRequest.h:84
Aws::EFS::Model::UpdateFileSystemRequest::WithFileSystemId
UpdateFileSystemRequest & WithFileSystemId(const char *value)
Definition: UpdateFileSystemRequest.h:74
Aws::EFS::Model::UpdateFileSystemRequest::SetThroughputMode
void SetThroughputMode(ThroughputMode &&value)
Definition: UpdateFileSystemRequest.h:111
EFSRequest.h
AWS_EFS_API
#define AWS_EFS_API
Definition: EFS_EXPORTS.h:28
Aws::Transfer::Model::Domain::NOT_SET
@ NOT_SET
Aws::EFS::Model::UpdateFileSystemRequest
Definition: UpdateFileSystemRequest.h:23
Aws::EFS::Model::UpdateFileSystemRequest::GetProvisionedThroughputInMibps
double GetProvisionedThroughputInMibps() const
Definition: UpdateFileSystemRequest.h:139
Aws::EFS::Model::UpdateFileSystemRequest::SetFileSystemId
void SetFileSystemId(const Aws::String &value)
Definition: UpdateFileSystemRequest.h:49
Aws::EFS::Model::UpdateFileSystemRequest::ProvisionedThroughputInMibpsHasBeenSet
bool ProvisionedThroughputInMibpsHasBeenSet() const
Definition: UpdateFileSystemRequest.h:148
Aws::EFS::Model::UpdateFileSystemRequest::WithProvisionedThroughputInMibps
UpdateFileSystemRequest & WithProvisionedThroughputInMibps(double value)
Definition: UpdateFileSystemRequest.h:166
Aws::EFS::Model::UpdateFileSystemRequest::SetFileSystemId
void SetFileSystemId(const char *value)
Definition: UpdateFileSystemRequest.h:59
Aws::EFS::Model::UpdateFileSystemRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateFileSystemRequest.h:31
Aws::EFS::Model::UpdateFileSystemRequest::UpdateFileSystemRequest
UpdateFileSystemRequest()
Aws::EFS::Model::UpdateFileSystemRequest::WithThroughputMode
UpdateFileSystemRequest & WithThroughputMode(ThroughputMode &&value)
Definition: UpdateFileSystemRequest.h:129
Aws::EFS::Model::UpdateFileSystemRequest::GetFileSystemId
const Aws::String & GetFileSystemId() const
Definition: UpdateFileSystemRequest.h:39
Aws::EFS::Model::UpdateFileSystemRequest::SetFileSystemId
void SetFileSystemId(Aws::String &&value)
Definition: UpdateFileSystemRequest.h:54
AWSString.h
Aws::EFS::Model::UpdateFileSystemRequest::ThroughputModeHasBeenSet
bool ThroughputModeHasBeenSet() const
Definition: UpdateFileSystemRequest.h:93
Aws::EFS::EFSRequest
Definition: EFSRequest.h:17
Aws::EFS::Model::UpdateFileSystemRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::EFS::Model::UpdateFileSystemRequest::SetThroughputMode
void SetThroughputMode(const ThroughputMode &value)
Definition: UpdateFileSystemRequest.h:102
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EFS::Model::UpdateFileSystemRequest::FileSystemIdHasBeenSet
bool FileSystemIdHasBeenSet() const
Definition: UpdateFileSystemRequest.h:44
Aws::EFS::Model::UpdateFileSystemRequest::SetProvisionedThroughputInMibps
void SetProvisionedThroughputInMibps(double value)
Definition: UpdateFileSystemRequest.h:157
Aws::EFS::Model::UpdateFileSystemRequest::WithThroughputMode
UpdateFileSystemRequest & WithThroughputMode(const ThroughputMode &value)
Definition: UpdateFileSystemRequest.h:120
Aws::EFS::Model::UpdateFileSystemRequest::WithFileSystemId
UpdateFileSystemRequest & WithFileSystemId(Aws::String &&value)
Definition: UpdateFileSystemRequest.h:69
Aws::EFS::Model::ThroughputMode
ThroughputMode
Definition: ThroughputMode.h:17
Aws::EFS::Model::UpdateFileSystemRequest::WithFileSystemId
UpdateFileSystemRequest & WithFileSystemId(const Aws::String &value)
Definition: UpdateFileSystemRequest.h:64