AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateFileSystemRequest.h
1
6#pragma once
7#include <aws/elasticfilesystem/EFS_EXPORTS.h>
8#include <aws/elasticfilesystem/EFSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elasticfilesystem/model/ThroughputMode.h>
11#include <utility>
12
13namespace Aws
14{
15namespace EFS
16{
17namespace 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_EFS_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; }
41 inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
42 inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; }
43 inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); }
44 inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); }
45 inline UpdateFileSystemRequest& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;}
46 inline UpdateFileSystemRequest& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;}
47 inline UpdateFileSystemRequest& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;}
49
51
57 inline const ThroughputMode& GetThroughputMode() const{ return m_throughputMode; }
58 inline bool ThroughputModeHasBeenSet() const { return m_throughputModeHasBeenSet; }
59 inline void SetThroughputMode(const ThroughputMode& value) { m_throughputModeHasBeenSet = true; m_throughputMode = value; }
60 inline void SetThroughputMode(ThroughputMode&& value) { m_throughputModeHasBeenSet = true; m_throughputMode = std::move(value); }
61 inline UpdateFileSystemRequest& WithThroughputMode(const ThroughputMode& value) { SetThroughputMode(value); return *this;}
62 inline UpdateFileSystemRequest& WithThroughputMode(ThroughputMode&& value) { SetThroughputMode(std::move(value)); return *this;}
64
66
75 inline double GetProvisionedThroughputInMibps() const{ return m_provisionedThroughputInMibps; }
76 inline bool ProvisionedThroughputInMibpsHasBeenSet() const { return m_provisionedThroughputInMibpsHasBeenSet; }
77 inline void SetProvisionedThroughputInMibps(double value) { m_provisionedThroughputInMibpsHasBeenSet = true; m_provisionedThroughputInMibps = value; }
80 private:
81
82 Aws::String m_fileSystemId;
83 bool m_fileSystemIdHasBeenSet = false;
84
85 ThroughputMode m_throughputMode;
86 bool m_throughputModeHasBeenSet = false;
87
88 double m_provisionedThroughputInMibps;
89 bool m_provisionedThroughputInMibpsHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace EFS
94} // namespace Aws
const ThroughputMode & GetThroughputMode() const
void SetFileSystemId(const Aws::String &value)
UpdateFileSystemRequest & WithThroughputMode(ThroughputMode &&value)
AWS_EFS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetThroughputMode(const ThroughputMode &value)
UpdateFileSystemRequest & WithFileSystemId(const Aws::String &value)
UpdateFileSystemRequest & WithProvisionedThroughputInMibps(double value)
UpdateFileSystemRequest & WithThroughputMode(const ThroughputMode &value)
UpdateFileSystemRequest & WithFileSystemId(Aws::String &&value)
UpdateFileSystemRequest & WithFileSystemId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String