AWS SDK for C++

AWS SDK for C++ Version 1.11.688

Loading...
Searching...
No Matches
GetKxVolumeRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/finspace/FinspaceRequest.h>
9#include <aws/finspace/Finspace_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace finspace {
15namespace Model {
16
20 public:
21 AWS_FINSPACE_API GetKxVolumeRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetKxVolume"; }
28
29 AWS_FINSPACE_API Aws::String SerializePayload() const override;
30
32
36 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
37 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
38 template <typename EnvironmentIdT = Aws::String>
39 void SetEnvironmentId(EnvironmentIdT&& value) {
40 m_environmentIdHasBeenSet = true;
41 m_environmentId = std::forward<EnvironmentIdT>(value);
42 }
43 template <typename EnvironmentIdT = Aws::String>
44 GetKxVolumeRequest& WithEnvironmentId(EnvironmentIdT&& value) {
45 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetVolumeName() const { return m_volumeName; }
55 inline bool VolumeNameHasBeenSet() const { return m_volumeNameHasBeenSet; }
56 template <typename VolumeNameT = Aws::String>
57 void SetVolumeName(VolumeNameT&& value) {
58 m_volumeNameHasBeenSet = true;
59 m_volumeName = std::forward<VolumeNameT>(value);
60 }
61 template <typename VolumeNameT = Aws::String>
62 GetKxVolumeRequest& WithVolumeName(VolumeNameT&& value) {
63 SetVolumeName(std::forward<VolumeNameT>(value));
64 return *this;
65 }
67 private:
68 Aws::String m_environmentId;
69 bool m_environmentIdHasBeenSet = false;
70
71 Aws::String m_volumeName;
72 bool m_volumeNameHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace finspace
77} // namespace Aws
AWS_FINSPACE_API Aws::String SerializePayload() const override
GetKxVolumeRequest & WithVolumeName(VolumeNameT &&value)
const Aws::String & GetEnvironmentId() const
virtual const char * GetServiceRequestName() const override
void SetEnvironmentId(EnvironmentIdT &&value)
AWS_FINSPACE_API GetKxVolumeRequest()=default
GetKxVolumeRequest & WithEnvironmentId(EnvironmentIdT &&value)
const Aws::String & GetVolumeName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String