AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeMountTargetsRequest.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 <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace EFS
19{
20namespace Model
21{
22
29 {
30 public:
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "DescribeMountTargets"; }
38
39 AWS_EFS_API Aws::String SerializePayload() const override;
40
41 AWS_EFS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
51 inline int GetMaxItems() const{ return m_maxItems; }
52 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
53 inline void SetMaxItems(int value) { m_maxItemsHasBeenSet = true; m_maxItems = value; }
54 inline DescribeMountTargetsRequest& WithMaxItems(int value) { SetMaxItems(value); return *this;}
56
58
63 inline const Aws::String& GetMarker() const{ return m_marker; }
64 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
65 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
66 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
67 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
68 inline DescribeMountTargetsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
69 inline DescribeMountTargetsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
70 inline DescribeMountTargetsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
72
74
80 inline const Aws::String& GetFileSystemId() const{ return m_fileSystemId; }
81 inline bool FileSystemIdHasBeenSet() const { return m_fileSystemIdHasBeenSet; }
82 inline void SetFileSystemId(const Aws::String& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = value; }
83 inline void SetFileSystemId(Aws::String&& value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId = std::move(value); }
84 inline void SetFileSystemId(const char* value) { m_fileSystemIdHasBeenSet = true; m_fileSystemId.assign(value); }
85 inline DescribeMountTargetsRequest& WithFileSystemId(const Aws::String& value) { SetFileSystemId(value); return *this;}
86 inline DescribeMountTargetsRequest& WithFileSystemId(Aws::String&& value) { SetFileSystemId(std::move(value)); return *this;}
87 inline DescribeMountTargetsRequest& WithFileSystemId(const char* value) { SetFileSystemId(value); return *this;}
89
91
96 inline const Aws::String& GetMountTargetId() const{ return m_mountTargetId; }
97 inline bool MountTargetIdHasBeenSet() const { return m_mountTargetIdHasBeenSet; }
98 inline void SetMountTargetId(const Aws::String& value) { m_mountTargetIdHasBeenSet = true; m_mountTargetId = value; }
99 inline void SetMountTargetId(Aws::String&& value) { m_mountTargetIdHasBeenSet = true; m_mountTargetId = std::move(value); }
100 inline void SetMountTargetId(const char* value) { m_mountTargetIdHasBeenSet = true; m_mountTargetId.assign(value); }
101 inline DescribeMountTargetsRequest& WithMountTargetId(const Aws::String& value) { SetMountTargetId(value); return *this;}
102 inline DescribeMountTargetsRequest& WithMountTargetId(Aws::String&& value) { SetMountTargetId(std::move(value)); return *this;}
103 inline DescribeMountTargetsRequest& WithMountTargetId(const char* value) { SetMountTargetId(value); return *this;}
105
107
113 inline const Aws::String& GetAccessPointId() const{ return m_accessPointId; }
114 inline bool AccessPointIdHasBeenSet() const { return m_accessPointIdHasBeenSet; }
115 inline void SetAccessPointId(const Aws::String& value) { m_accessPointIdHasBeenSet = true; m_accessPointId = value; }
116 inline void SetAccessPointId(Aws::String&& value) { m_accessPointIdHasBeenSet = true; m_accessPointId = std::move(value); }
117 inline void SetAccessPointId(const char* value) { m_accessPointIdHasBeenSet = true; m_accessPointId.assign(value); }
118 inline DescribeMountTargetsRequest& WithAccessPointId(const Aws::String& value) { SetAccessPointId(value); return *this;}
119 inline DescribeMountTargetsRequest& WithAccessPointId(Aws::String&& value) { SetAccessPointId(std::move(value)); return *this;}
120 inline DescribeMountTargetsRequest& WithAccessPointId(const char* value) { SetAccessPointId(value); return *this;}
122 private:
123
124 int m_maxItems;
125 bool m_maxItemsHasBeenSet = false;
126
127 Aws::String m_marker;
128 bool m_markerHasBeenSet = false;
129
130 Aws::String m_fileSystemId;
131 bool m_fileSystemIdHasBeenSet = false;
132
133 Aws::String m_mountTargetId;
134 bool m_mountTargetIdHasBeenSet = false;
135
136 Aws::String m_accessPointId;
137 bool m_accessPointIdHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace EFS
142} // namespace Aws
DescribeMountTargetsRequest & WithAccessPointId(const Aws::String &value)
DescribeMountTargetsRequest & WithAccessPointId(Aws::String &&value)
DescribeMountTargetsRequest & WithMaxItems(int value)
DescribeMountTargetsRequest & WithMarker(const char *value)
DescribeMountTargetsRequest & WithMountTargetId(Aws::String &&value)
DescribeMountTargetsRequest & WithMarker(Aws::String &&value)
AWS_EFS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_EFS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
DescribeMountTargetsRequest & WithFileSystemId(const char *value)
DescribeMountTargetsRequest & WithMountTargetId(const Aws::String &value)
DescribeMountTargetsRequest & WithMarker(const Aws::String &value)
DescribeMountTargetsRequest & WithMountTargetId(const char *value)
DescribeMountTargetsRequest & WithFileSystemId(Aws::String &&value)
DescribeMountTargetsRequest & WithAccessPointId(const char *value)
DescribeMountTargetsRequest & WithFileSystemId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String