AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListKxVolumesRequest.h
1
6#pragma once
7#include <aws/finspace/Finspace_EXPORTS.h>
8#include <aws/finspace/FinspaceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/finspace/model/KxVolumeType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace finspace
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_FINSPACE_API ListKxVolumesRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListKxVolumes"; }
36
37 AWS_FINSPACE_API Aws::String SerializePayload() const override;
38
39 AWS_FINSPACE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
47 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
48 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
49 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
50 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
51 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
52 inline ListKxVolumesRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
53 inline ListKxVolumesRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
54 inline ListKxVolumesRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
56
58
61 inline int GetMaxResults() const{ return m_maxResults; }
62 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
63 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
64 inline ListKxVolumesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
66
68
71 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
72 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
73 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
74 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
75 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
76 inline ListKxVolumesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
77 inline ListKxVolumesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
78 inline ListKxVolumesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
80
82
86 inline const KxVolumeType& GetVolumeType() const{ return m_volumeType; }
87 inline bool VolumeTypeHasBeenSet() const { return m_volumeTypeHasBeenSet; }
88 inline void SetVolumeType(const KxVolumeType& value) { m_volumeTypeHasBeenSet = true; m_volumeType = value; }
89 inline void SetVolumeType(KxVolumeType&& value) { m_volumeTypeHasBeenSet = true; m_volumeType = std::move(value); }
90 inline ListKxVolumesRequest& WithVolumeType(const KxVolumeType& value) { SetVolumeType(value); return *this;}
91 inline ListKxVolumesRequest& WithVolumeType(KxVolumeType&& value) { SetVolumeType(std::move(value)); return *this;}
93 private:
94
95 Aws::String m_environmentId;
96 bool m_environmentIdHasBeenSet = false;
97
98 int m_maxResults;
99 bool m_maxResultsHasBeenSet = false;
100
101 Aws::String m_nextToken;
102 bool m_nextTokenHasBeenSet = false;
103
104 KxVolumeType m_volumeType;
105 bool m_volumeTypeHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace finspace
110} // namespace Aws
AWS_FINSPACE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListKxVolumesRequest & WithEnvironmentId(const Aws::String &value)
ListKxVolumesRequest & WithEnvironmentId(const char *value)
ListKxVolumesRequest & WithEnvironmentId(Aws::String &&value)
ListKxVolumesRequest & WithNextToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetEnvironmentId(const Aws::String &value)
ListKxVolumesRequest & WithVolumeType(const KxVolumeType &value)
ListKxVolumesRequest & WithNextToken(Aws::String &&value)
void SetVolumeType(const KxVolumeType &value)
ListKxVolumesRequest & WithMaxResults(int value)
ListKxVolumesRequest & WithNextToken(const char *value)
ListKxVolumesRequest & WithVolumeType(KxVolumeType &&value)
AWS_FINSPACE_API Aws::String SerializePayload() const override
void SetNextToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String