AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateClusterRequest.h
1
6#pragma once
7#include <aws/route53-recovery-control-config/Route53RecoveryControlConfig_EXPORTS.h>
8#include <aws/route53-recovery-control-config/Route53RecoveryControlConfigRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/route53-recovery-control-config/model/NetworkType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Route53RecoveryControlConfig
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_ROUTE53RECOVERYCONTROLCONFIG_API UpdateClusterRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateCluster"; }
36
37 AWS_ROUTE53RECOVERYCONTROLCONFIG_API Aws::String SerializePayload() const override;
38
39
41
44 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
45 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
46 template<typename ClusterArnT = Aws::String>
47 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::forward<ClusterArnT>(value); }
48 template<typename ClusterArnT = Aws::String>
49 UpdateClusterRequest& WithClusterArn(ClusterArnT&& value) { SetClusterArn(std::forward<ClusterArnT>(value)); return *this;}
51
53
57 inline NetworkType GetNetworkType() const { return m_networkType; }
58 inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; }
59 inline void SetNetworkType(NetworkType value) { m_networkTypeHasBeenSet = true; m_networkType = value; }
60 inline UpdateClusterRequest& WithNetworkType(NetworkType value) { SetNetworkType(value); return *this;}
62 private:
63
64 Aws::String m_clusterArn;
65 bool m_clusterArnHasBeenSet = false;
66
67 NetworkType m_networkType{NetworkType::NOT_SET};
68 bool m_networkTypeHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace Route53RecoveryControlConfig
73} // namespace Aws
AWS_ROUTE53RECOVERYCONTROLCONFIG_API Aws::String SerializePayload() const override
UpdateClusterRequest & WithClusterArn(ClusterArnT &&value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API UpdateClusterRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String