AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
UpdateKxVolumeRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/finspace/FinspaceRequest.h>
10#include <aws/finspace/Finspace_EXPORTS.h>
11#include <aws/finspace/model/KxNAS1Configuration.h>
12
13#include <utility>
14
15namespace Aws {
16namespace finspace {
17namespace Model {
18
22 public:
23 AWS_FINSPACE_API UpdateKxVolumeRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateKxVolume"; }
30
31 AWS_FINSPACE_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
39 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
40 template <typename EnvironmentIdT = Aws::String>
41 void SetEnvironmentId(EnvironmentIdT&& value) {
42 m_environmentIdHasBeenSet = true;
43 m_environmentId = std::forward<EnvironmentIdT>(value);
44 }
45 template <typename EnvironmentIdT = Aws::String>
46 UpdateKxVolumeRequest& WithEnvironmentId(EnvironmentIdT&& value) {
47 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetVolumeName() const { return m_volumeName; }
57 inline bool VolumeNameHasBeenSet() const { return m_volumeNameHasBeenSet; }
58 template <typename VolumeNameT = Aws::String>
59 void SetVolumeName(VolumeNameT&& value) {
60 m_volumeNameHasBeenSet = true;
61 m_volumeName = std::forward<VolumeNameT>(value);
62 }
63 template <typename VolumeNameT = Aws::String>
64 UpdateKxVolumeRequest& WithVolumeName(VolumeNameT&& value) {
65 SetVolumeName(std::forward<VolumeNameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 template <typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) {
78 m_descriptionHasBeenSet = true;
79 m_description = std::forward<DescriptionT>(value);
80 }
81 template <typename DescriptionT = Aws::String>
82 UpdateKxVolumeRequest& WithDescription(DescriptionT&& value) {
83 SetDescription(std::forward<DescriptionT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetClientToken() const { return m_clientToken; }
93 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
94 template <typename ClientTokenT = Aws::String>
95 void SetClientToken(ClientTokenT&& value) {
96 m_clientTokenHasBeenSet = true;
97 m_clientToken = std::forward<ClientTokenT>(value);
98 }
99 template <typename ClientTokenT = Aws::String>
100 UpdateKxVolumeRequest& WithClientToken(ClientTokenT&& value) {
101 SetClientToken(std::forward<ClientTokenT>(value));
102 return *this;
103 }
105
107
111 inline const KxNAS1Configuration& GetNas1Configuration() const { return m_nas1Configuration; }
112 inline bool Nas1ConfigurationHasBeenSet() const { return m_nas1ConfigurationHasBeenSet; }
113 template <typename Nas1ConfigurationT = KxNAS1Configuration>
114 void SetNas1Configuration(Nas1ConfigurationT&& value) {
115 m_nas1ConfigurationHasBeenSet = true;
116 m_nas1Configuration = std::forward<Nas1ConfigurationT>(value);
117 }
118 template <typename Nas1ConfigurationT = KxNAS1Configuration>
119 UpdateKxVolumeRequest& WithNas1Configuration(Nas1ConfigurationT&& value) {
120 SetNas1Configuration(std::forward<Nas1ConfigurationT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_environmentId;
126 bool m_environmentIdHasBeenSet = false;
127
128 Aws::String m_volumeName;
129 bool m_volumeNameHasBeenSet = false;
130
131 Aws::String m_description;
132 bool m_descriptionHasBeenSet = false;
133
135 bool m_clientTokenHasBeenSet = true;
136
137 KxNAS1Configuration m_nas1Configuration;
138 bool m_nas1ConfigurationHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace finspace
143} // 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