AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateClusterRequest.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/MediaLiveRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/medialive/model/ClusterNetworkSettingsUpdateRequest.h>
11#include <utility>
12
13namespace Aws
14{
15namespace MediaLive
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_MEDIALIVE_API UpdateClusterRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateCluster"; }
35
36 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetClusterId() const{ return m_clusterId; }
44 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
45 inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; }
46 inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); }
47 inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); }
48 inline UpdateClusterRequest& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
49 inline UpdateClusterRequest& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
50 inline UpdateClusterRequest& WithClusterId(const char* value) { SetClusterId(value); return *this;}
52
54
59 inline const Aws::String& GetName() const{ return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
62 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
63 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 inline UpdateClusterRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
65 inline UpdateClusterRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
66 inline UpdateClusterRequest& WithName(const char* value) { SetName(value); return *this;}
68
70
74 inline const ClusterNetworkSettingsUpdateRequest& GetNetworkSettings() const{ return m_networkSettings; }
75 inline bool NetworkSettingsHasBeenSet() const { return m_networkSettingsHasBeenSet; }
76 inline void SetNetworkSettings(const ClusterNetworkSettingsUpdateRequest& value) { m_networkSettingsHasBeenSet = true; m_networkSettings = value; }
77 inline void SetNetworkSettings(ClusterNetworkSettingsUpdateRequest&& value) { m_networkSettingsHasBeenSet = true; m_networkSettings = std::move(value); }
81 private:
82
83 Aws::String m_clusterId;
84 bool m_clusterIdHasBeenSet = false;
85
86 Aws::String m_name;
87 bool m_nameHasBeenSet = false;
88
90 bool m_networkSettingsHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace MediaLive
95} // namespace Aws
UpdateClusterRequest & WithClusterId(const Aws::String &value)
UpdateClusterRequest & WithClusterId(const char *value)
void SetNetworkSettings(const ClusterNetworkSettingsUpdateRequest &value)
UpdateClusterRequest & WithName(const Aws::String &value)
UpdateClusterRequest & WithClusterId(Aws::String &&value)
void SetNetworkSettings(ClusterNetworkSettingsUpdateRequest &&value)
UpdateClusterRequest & WithName(Aws::String &&value)
UpdateClusterRequest & WithName(const char *value)
const ClusterNetworkSettingsUpdateRequest & GetNetworkSettings() const
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateClusterRequest & WithNetworkSettings(const ClusterNetworkSettingsUpdateRequest &value)
UpdateClusterRequest & WithNetworkSettings(ClusterNetworkSettingsUpdateRequest &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String