AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateRoutingControlRequest.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 UpdateRoutingControlRequest();
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 "UpdateRoutingControl"; }
35
36 AWS_ROUTE53RECOVERYCONTROLCONFIG_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetRoutingControlArn() const{ return m_routingControlArn; }
44 inline bool RoutingControlArnHasBeenSet() const { return m_routingControlArnHasBeenSet; }
45 inline void SetRoutingControlArn(const Aws::String& value) { m_routingControlArnHasBeenSet = true; m_routingControlArn = value; }
46 inline void SetRoutingControlArn(Aws::String&& value) { m_routingControlArnHasBeenSet = true; m_routingControlArn = std::move(value); }
47 inline void SetRoutingControlArn(const char* value) { m_routingControlArnHasBeenSet = true; m_routingControlArn.assign(value); }
49 inline UpdateRoutingControlRequest& WithRoutingControlArn(Aws::String&& value) { SetRoutingControlArn(std::move(value)); return *this;}
50 inline UpdateRoutingControlRequest& WithRoutingControlArn(const char* value) { SetRoutingControlArn(value); return *this;}
52
54
57 inline const Aws::String& GetRoutingControlName() const{ return m_routingControlName; }
58 inline bool RoutingControlNameHasBeenSet() const { return m_routingControlNameHasBeenSet; }
59 inline void SetRoutingControlName(const Aws::String& value) { m_routingControlNameHasBeenSet = true; m_routingControlName = value; }
60 inline void SetRoutingControlName(Aws::String&& value) { m_routingControlNameHasBeenSet = true; m_routingControlName = std::move(value); }
61 inline void SetRoutingControlName(const char* value) { m_routingControlNameHasBeenSet = true; m_routingControlName.assign(value); }
63 inline UpdateRoutingControlRequest& WithRoutingControlName(Aws::String&& value) { SetRoutingControlName(std::move(value)); return *this;}
64 inline UpdateRoutingControlRequest& WithRoutingControlName(const char* value) { SetRoutingControlName(value); return *this;}
66 private:
67
68 Aws::String m_routingControlArn;
69 bool m_routingControlArnHasBeenSet = false;
70
71 Aws::String m_routingControlName;
72 bool m_routingControlNameHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Route53RecoveryControlConfig
77} // namespace Aws
UpdateRoutingControlRequest & WithRoutingControlName(Aws::String &&value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API Aws::String SerializePayload() const override
UpdateRoutingControlRequest & WithRoutingControlArn(Aws::String &&value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API UpdateRoutingControlRequest()
UpdateRoutingControlRequest & WithRoutingControlArn(const Aws::String &value)
UpdateRoutingControlRequest & WithRoutingControlName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String