AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateKxVolumeRequest.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/KxNAS1Configuration.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace finspace
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_FINSPACE_API UpdateKxVolumeRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateKxVolume"; }
33
34 AWS_FINSPACE_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
43 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
44 template<typename EnvironmentIdT = Aws::String>
45 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::forward<EnvironmentIdT>(value); }
46 template<typename EnvironmentIdT = Aws::String>
47 UpdateKxVolumeRequest& WithEnvironmentId(EnvironmentIdT&& value) { SetEnvironmentId(std::forward<EnvironmentIdT>(value)); return *this;}
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) { m_volumeNameHasBeenSet = true; m_volumeName = std::forward<VolumeNameT>(value); }
58 template<typename VolumeNameT = Aws::String>
59 UpdateKxVolumeRequest& WithVolumeName(VolumeNameT&& value) { SetVolumeName(std::forward<VolumeNameT>(value)); return *this;}
61
63
66 inline const Aws::String& GetDescription() const { return m_description; }
67 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
68 template<typename DescriptionT = Aws::String>
69 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
70 template<typename DescriptionT = Aws::String>
71 UpdateKxVolumeRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
73
75
78 inline const Aws::String& GetClientToken() const { return m_clientToken; }
79 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
80 template<typename ClientTokenT = Aws::String>
81 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
82 template<typename ClientTokenT = Aws::String>
83 UpdateKxVolumeRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
85
87
91 inline const KxNAS1Configuration& GetNas1Configuration() const { return m_nas1Configuration; }
92 inline bool Nas1ConfigurationHasBeenSet() const { return m_nas1ConfigurationHasBeenSet; }
93 template<typename Nas1ConfigurationT = KxNAS1Configuration>
94 void SetNas1Configuration(Nas1ConfigurationT&& value) { m_nas1ConfigurationHasBeenSet = true; m_nas1Configuration = std::forward<Nas1ConfigurationT>(value); }
95 template<typename Nas1ConfigurationT = KxNAS1Configuration>
96 UpdateKxVolumeRequest& WithNas1Configuration(Nas1ConfigurationT&& value) { SetNas1Configuration(std::forward<Nas1ConfigurationT>(value)); return *this;}
98 private:
99
100 Aws::String m_environmentId;
101 bool m_environmentIdHasBeenSet = false;
102
103 Aws::String m_volumeName;
104 bool m_volumeNameHasBeenSet = false;
105
106 Aws::String m_description;
107 bool m_descriptionHasBeenSet = false;
108
110 bool m_clientTokenHasBeenSet = true;
111
112 KxNAS1Configuration m_nas1Configuration;
113 bool m_nas1ConfigurationHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace finspace
118} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
UpdateKxVolumeRequest & WithClientToken(ClientTokenT &&value)
UpdateKxVolumeRequest & WithVolumeName(VolumeNameT &&value)
AWS_FINSPACE_API UpdateKxVolumeRequest()=default
UpdateKxVolumeRequest & WithEnvironmentId(EnvironmentIdT &&value)
void SetNas1Configuration(Nas1ConfigurationT &&value)
virtual const char * GetServiceRequestName() const override
UpdateKxVolumeRequest & WithDescription(DescriptionT &&value)
const KxNAS1Configuration & GetNas1Configuration() const
AWS_FINSPACE_API Aws::String SerializePayload() const override
UpdateKxVolumeRequest & WithNas1Configuration(Nas1ConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String