AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
UpdateFileSystemRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elasticfilesystem/EFSRequest.h>
9#include <aws/elasticfilesystem/EFS_EXPORTS.h>
10#include <aws/elasticfilesystem/model/ThroughputMode.h>
11
12#include <utility>
13
14namespace Aws {
15namespace EFS {
16namespace Model {
17
21 public:
22 AWS_EFS_API UpdateFileSystemRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateFileSystem"; }
29
30 AWS_EFS_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetFileSystemId() const { return m_fileSystemId; }
37 inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
38 template <typename FileSystemIdT = Aws::String>
39 void SetFileSystemId(FileSystemIdT&& value) {
40 m_fileSystemIdHasBeenSet = true;
41 m_fileSystemId = std::forward<FileSystemIdT>(value);
42 }
43 template <typename FileSystemIdT = Aws::String>
44 UpdateFileSystemRequest& WithFileSystemId(FileSystemIdT&& value) {
45 SetFileSystemId(std::forward<FileSystemIdT>(value));
46 return *this;
47 }
49
51
57 inline ThroughputMode GetThroughputMode() const { return m_throughputMode; }
58 inline bool ThroughputModeHasBeenSet() const { return m_throughputModeHasBeenSet; }
59 inline void SetThroughputMode(ThroughputMode value) {
60 m_throughputModeHasBeenSet = true;
61 m_throughputMode = value;
62 }
64 SetThroughputMode(value);
65 return *this;
66 }
68
70
79 inline double GetProvisionedThroughputInMibps() const { return m_provisionedThroughputInMibps; }
80 inline bool ProvisionedThroughputInMibpsHasBeenSet() const { return m_provisionedThroughputInMibpsHasBeenSet; }
81 inline void SetProvisionedThroughputInMibps(double value) {
82 m_provisionedThroughputInMibpsHasBeenSet = true;
83 m_provisionedThroughputInMibps = value;
84 }
87 return *this;
88 }
90 private:
91 Aws::String m_fileSystemId;
92
94
95 double m_provisionedThroughputInMibps{0.0};
96 bool m_fileSystemIdHasBeenSet = false;
97 bool m_throughputModeHasBeenSet = false;
98 bool m_provisionedThroughputInMibpsHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace EFS
103} // namespace Aws
AWS_EFS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateFileSystemRequest & WithProvisionedThroughputInMibps(double value)
UpdateFileSystemRequest & WithFileSystemId(FileSystemIdT &&value)
AWS_EFS_API UpdateFileSystemRequest()=default
UpdateFileSystemRequest & WithThroughputMode(ThroughputMode value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String