AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
45 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
46 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
47 inline UpdateKxVolumeRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
48 inline UpdateKxVolumeRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
49 inline UpdateKxVolumeRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
51
53
56 inline const Aws::String& GetVolumeName() const{ return m_volumeName; }
57 inline bool VolumeNameHasBeenSet() const { return m_volumeNameHasBeenSet; }
58 inline void SetVolumeName(const Aws::String& value) { m_volumeNameHasBeenSet = true; m_volumeName = value; }
59 inline void SetVolumeName(Aws::String&& value) { m_volumeNameHasBeenSet = true; m_volumeName = std::move(value); }
60 inline void SetVolumeName(const char* value) { m_volumeNameHasBeenSet = true; m_volumeName.assign(value); }
61 inline UpdateKxVolumeRequest& WithVolumeName(const Aws::String& value) { SetVolumeName(value); return *this;}
62 inline UpdateKxVolumeRequest& WithVolumeName(Aws::String&& value) { SetVolumeName(std::move(value)); return *this;}
63 inline UpdateKxVolumeRequest& WithVolumeName(const char* value) { SetVolumeName(value); return *this;}
65
67
70 inline const Aws::String& GetDescription() const{ return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
73 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
74 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
75 inline UpdateKxVolumeRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
76 inline UpdateKxVolumeRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
77 inline UpdateKxVolumeRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
79
81
84 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
85 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
86 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
87 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
88 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
89 inline UpdateKxVolumeRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
90 inline UpdateKxVolumeRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
91 inline UpdateKxVolumeRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
93
95
99 inline const KxNAS1Configuration& GetNas1Configuration() const{ return m_nas1Configuration; }
100 inline bool Nas1ConfigurationHasBeenSet() const { return m_nas1ConfigurationHasBeenSet; }
101 inline void SetNas1Configuration(const KxNAS1Configuration& value) { m_nas1ConfigurationHasBeenSet = true; m_nas1Configuration = value; }
102 inline void SetNas1Configuration(KxNAS1Configuration&& value) { m_nas1ConfigurationHasBeenSet = true; m_nas1Configuration = std::move(value); }
104 inline UpdateKxVolumeRequest& WithNas1Configuration(KxNAS1Configuration&& value) { SetNas1Configuration(std::move(value)); return *this;}
106 private:
107
108 Aws::String m_environmentId;
109 bool m_environmentIdHasBeenSet = false;
110
111 Aws::String m_volumeName;
112 bool m_volumeNameHasBeenSet = false;
113
114 Aws::String m_description;
115 bool m_descriptionHasBeenSet = false;
116
117 Aws::String m_clientToken;
118 bool m_clientTokenHasBeenSet = false;
119
120 KxNAS1Configuration m_nas1Configuration;
121 bool m_nas1ConfigurationHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace finspace
126} // namespace Aws
UpdateKxVolumeRequest & WithEnvironmentId(const char *value)
UpdateKxVolumeRequest & WithNas1Configuration(KxNAS1Configuration &&value)
UpdateKxVolumeRequest & WithNas1Configuration(const KxNAS1Configuration &value)
UpdateKxVolumeRequest & WithVolumeName(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateKxVolumeRequest & WithClientToken(Aws::String &&value)
void SetNas1Configuration(KxNAS1Configuration &&value)
UpdateKxVolumeRequest & WithEnvironmentId(Aws::String &&value)
UpdateKxVolumeRequest & WithClientToken(const char *value)
const KxNAS1Configuration & GetNas1Configuration() const
UpdateKxVolumeRequest & WithEnvironmentId(const Aws::String &value)
UpdateKxVolumeRequest & WithDescription(const Aws::String &value)
AWS_FINSPACE_API Aws::String SerializePayload() const override
void SetNas1Configuration(const KxNAS1Configuration &value)
UpdateKxVolumeRequest & WithClientToken(const Aws::String &value)
void SetEnvironmentId(const Aws::String &value)
UpdateKxVolumeRequest & WithVolumeName(const Aws::String &value)
UpdateKxVolumeRequest & WithVolumeName(Aws::String &&value)
UpdateKxVolumeRequest & WithDescription(Aws::String &&value)
UpdateKxVolumeRequest & WithDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String