AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateRoutingControlRequest.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 <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace Route53RecoveryControlConfig
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_ROUTE53RECOVERYCONTROLCONFIG_API CreateRoutingControlRequest();
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 "CreateRoutingControl"; }
36
37 AWS_ROUTE53RECOVERYCONTROLCONFIG_API Aws::String SerializePayload() const override;
38
39
41
46 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
47 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
48 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
49 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
50 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
51 inline CreateRoutingControlRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
52 inline CreateRoutingControlRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
53 inline CreateRoutingControlRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
55
57
61 inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
62 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
63 inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; }
64 inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); }
65 inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); }
66 inline CreateRoutingControlRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
67 inline CreateRoutingControlRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
68 inline CreateRoutingControlRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
70
72
76 inline const Aws::String& GetControlPanelArn() const{ return m_controlPanelArn; }
77 inline bool ControlPanelArnHasBeenSet() const { return m_controlPanelArnHasBeenSet; }
78 inline void SetControlPanelArn(const Aws::String& value) { m_controlPanelArnHasBeenSet = true; m_controlPanelArn = value; }
79 inline void SetControlPanelArn(Aws::String&& value) { m_controlPanelArnHasBeenSet = true; m_controlPanelArn = std::move(value); }
80 inline void SetControlPanelArn(const char* value) { m_controlPanelArnHasBeenSet = true; m_controlPanelArn.assign(value); }
82 inline CreateRoutingControlRequest& WithControlPanelArn(Aws::String&& value) { SetControlPanelArn(std::move(value)); return *this;}
83 inline CreateRoutingControlRequest& WithControlPanelArn(const char* value) { SetControlPanelArn(value); return *this;}
85
87
90 inline const Aws::String& GetRoutingControlName() const{ return m_routingControlName; }
91 inline bool RoutingControlNameHasBeenSet() const { return m_routingControlNameHasBeenSet; }
92 inline void SetRoutingControlName(const Aws::String& value) { m_routingControlNameHasBeenSet = true; m_routingControlName = value; }
93 inline void SetRoutingControlName(Aws::String&& value) { m_routingControlNameHasBeenSet = true; m_routingControlName = std::move(value); }
94 inline void SetRoutingControlName(const char* value) { m_routingControlNameHasBeenSet = true; m_routingControlName.assign(value); }
96 inline CreateRoutingControlRequest& WithRoutingControlName(Aws::String&& value) { SetRoutingControlName(std::move(value)); return *this;}
97 inline CreateRoutingControlRequest& WithRoutingControlName(const char* value) { SetRoutingControlName(value); return *this;}
99 private:
100
101 Aws::String m_clientToken;
102 bool m_clientTokenHasBeenSet = false;
103
104 Aws::String m_clusterArn;
105 bool m_clusterArnHasBeenSet = false;
106
107 Aws::String m_controlPanelArn;
108 bool m_controlPanelArnHasBeenSet = false;
109
110 Aws::String m_routingControlName;
111 bool m_routingControlNameHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace Route53RecoveryControlConfig
116} // namespace Aws
CreateRoutingControlRequest & WithRoutingControlName(Aws::String &&value)
CreateRoutingControlRequest & WithClusterArn(const Aws::String &value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API CreateRoutingControlRequest()
CreateRoutingControlRequest & WithControlPanelArn(const Aws::String &value)
CreateRoutingControlRequest & WithClientToken(const Aws::String &value)
CreateRoutingControlRequest & WithRoutingControlName(const Aws::String &value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String