AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateControlPanelRequest.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
12namespace Aws
13{
14namespace Route53RecoveryControlConfig
15{
16namespace Model
17{
18
26 {
27 public:
28 AWS_ROUTE53RECOVERYCONTROLCONFIG_API UpdateControlPanelRequest();
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 "UpdateControlPanel"; }
35
36 AWS_ROUTE53RECOVERYCONTROLCONFIG_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetControlPanelArn() const{ return m_controlPanelArn; }
44 inline bool ControlPanelArnHasBeenSet() const { return m_controlPanelArnHasBeenSet; }
45 inline void SetControlPanelArn(const Aws::String& value) { m_controlPanelArnHasBeenSet = true; m_controlPanelArn = value; }
46 inline void SetControlPanelArn(Aws::String&& value) { m_controlPanelArnHasBeenSet = true; m_controlPanelArn = std::move(value); }
47 inline void SetControlPanelArn(const char* value) { m_controlPanelArnHasBeenSet = true; m_controlPanelArn.assign(value); }
48 inline UpdateControlPanelRequest& WithControlPanelArn(const Aws::String& value) { SetControlPanelArn(value); return *this;}
49 inline UpdateControlPanelRequest& WithControlPanelArn(Aws::String&& value) { SetControlPanelArn(std::move(value)); return *this;}
50 inline UpdateControlPanelRequest& WithControlPanelArn(const char* value) { SetControlPanelArn(value); return *this;}
52
54
57 inline const Aws::String& GetControlPanelName() const{ return m_controlPanelName; }
58 inline bool ControlPanelNameHasBeenSet() const { return m_controlPanelNameHasBeenSet; }
59 inline void SetControlPanelName(const Aws::String& value) { m_controlPanelNameHasBeenSet = true; m_controlPanelName = value; }
60 inline void SetControlPanelName(Aws::String&& value) { m_controlPanelNameHasBeenSet = true; m_controlPanelName = std::move(value); }
61 inline void SetControlPanelName(const char* value) { m_controlPanelNameHasBeenSet = true; m_controlPanelName.assign(value); }
63 inline UpdateControlPanelRequest& WithControlPanelName(Aws::String&& value) { SetControlPanelName(std::move(value)); return *this;}
64 inline UpdateControlPanelRequest& WithControlPanelName(const char* value) { SetControlPanelName(value); return *this;}
66 private:
67
68 Aws::String m_controlPanelArn;
69 bool m_controlPanelArnHasBeenSet = false;
70
71 Aws::String m_controlPanelName;
72 bool m_controlPanelNameHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Route53RecoveryControlConfig
77} // namespace Aws
UpdateControlPanelRequest & WithControlPanelArn(const Aws::String &value)
UpdateControlPanelRequest & WithControlPanelName(const Aws::String &value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API UpdateControlPanelRequest()
AWS_ROUTE53RECOVERYCONTROLCONFIG_API Aws::String SerializePayload() const override
UpdateControlPanelRequest & WithControlPanelName(Aws::String &&value)
UpdateControlPanelRequest & WithControlPanelArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String