AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateBridgeRequest.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/MediaConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mediaconnect/model/UpdateEgressGatewayBridgeRequest.h>
11#include <aws/mediaconnect/model/UpdateIngressGatewayBridgeRequest.h>
12#include <aws/mediaconnect/model/UpdateFailoverConfig.h>
13#include <utility>
14
15namespace Aws
16{
17namespace MediaConnect
18{
19namespace Model
20{
21
28 {
29 public:
30 AWS_MEDIACONNECT_API UpdateBridgeRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateBridge"; }
37
38 AWS_MEDIACONNECT_API Aws::String SerializePayload() const override;
39
40
42
45 inline const Aws::String& GetBridgeArn() const{ return m_bridgeArn; }
46 inline bool BridgeArnHasBeenSet() const { return m_bridgeArnHasBeenSet; }
47 inline void SetBridgeArn(const Aws::String& value) { m_bridgeArnHasBeenSet = true; m_bridgeArn = value; }
48 inline void SetBridgeArn(Aws::String&& value) { m_bridgeArnHasBeenSet = true; m_bridgeArn = std::move(value); }
49 inline void SetBridgeArn(const char* value) { m_bridgeArnHasBeenSet = true; m_bridgeArn.assign(value); }
50 inline UpdateBridgeRequest& WithBridgeArn(const Aws::String& value) { SetBridgeArn(value); return *this;}
51 inline UpdateBridgeRequest& WithBridgeArn(Aws::String&& value) { SetBridgeArn(std::move(value)); return *this;}
52 inline UpdateBridgeRequest& WithBridgeArn(const char* value) { SetBridgeArn(value); return *this;}
54
56
57 inline const UpdateEgressGatewayBridgeRequest& GetEgressGatewayBridge() const{ return m_egressGatewayBridge; }
58 inline bool EgressGatewayBridgeHasBeenSet() const { return m_egressGatewayBridgeHasBeenSet; }
59 inline void SetEgressGatewayBridge(const UpdateEgressGatewayBridgeRequest& value) { m_egressGatewayBridgeHasBeenSet = true; m_egressGatewayBridge = value; }
60 inline void SetEgressGatewayBridge(UpdateEgressGatewayBridgeRequest&& value) { m_egressGatewayBridgeHasBeenSet = true; m_egressGatewayBridge = std::move(value); }
64
66
67 inline const UpdateIngressGatewayBridgeRequest& GetIngressGatewayBridge() const{ return m_ingressGatewayBridge; }
68 inline bool IngressGatewayBridgeHasBeenSet() const { return m_ingressGatewayBridgeHasBeenSet; }
69 inline void SetIngressGatewayBridge(const UpdateIngressGatewayBridgeRequest& value) { m_ingressGatewayBridgeHasBeenSet = true; m_ingressGatewayBridge = value; }
70 inline void SetIngressGatewayBridge(UpdateIngressGatewayBridgeRequest&& value) { m_ingressGatewayBridgeHasBeenSet = true; m_ingressGatewayBridge = std::move(value); }
74
76
77 inline const UpdateFailoverConfig& GetSourceFailoverConfig() const{ return m_sourceFailoverConfig; }
78 inline bool SourceFailoverConfigHasBeenSet() const { return m_sourceFailoverConfigHasBeenSet; }
79 inline void SetSourceFailoverConfig(const UpdateFailoverConfig& value) { m_sourceFailoverConfigHasBeenSet = true; m_sourceFailoverConfig = value; }
80 inline void SetSourceFailoverConfig(UpdateFailoverConfig&& value) { m_sourceFailoverConfigHasBeenSet = true; m_sourceFailoverConfig = std::move(value); }
84 private:
85
86 Aws::String m_bridgeArn;
87 bool m_bridgeArnHasBeenSet = false;
88
89 UpdateEgressGatewayBridgeRequest m_egressGatewayBridge;
90 bool m_egressGatewayBridgeHasBeenSet = false;
91
92 UpdateIngressGatewayBridgeRequest m_ingressGatewayBridge;
93 bool m_ingressGatewayBridgeHasBeenSet = false;
94
95 UpdateFailoverConfig m_sourceFailoverConfig;
96 bool m_sourceFailoverConfigHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace MediaConnect
101} // namespace Aws
UpdateBridgeRequest & WithEgressGatewayBridge(const UpdateEgressGatewayBridgeRequest &value)
UpdateBridgeRequest & WithBridgeArn(const Aws::String &value)
void SetSourceFailoverConfig(UpdateFailoverConfig &&value)
UpdateBridgeRequest & WithBridgeArn(const char *value)
UpdateBridgeRequest & WithEgressGatewayBridge(UpdateEgressGatewayBridgeRequest &&value)
void SetIngressGatewayBridge(const UpdateIngressGatewayBridgeRequest &value)
void SetEgressGatewayBridge(UpdateEgressGatewayBridgeRequest &&value)
void SetSourceFailoverConfig(const UpdateFailoverConfig &value)
UpdateBridgeRequest & WithIngressGatewayBridge(const UpdateIngressGatewayBridgeRequest &value)
UpdateBridgeRequest & WithSourceFailoverConfig(UpdateFailoverConfig &&value)
void SetEgressGatewayBridge(const UpdateEgressGatewayBridgeRequest &value)
const UpdateFailoverConfig & GetSourceFailoverConfig() const
UpdateBridgeRequest & WithIngressGatewayBridge(UpdateIngressGatewayBridgeRequest &&value)
const UpdateIngressGatewayBridgeRequest & GetIngressGatewayBridge() const
const UpdateEgressGatewayBridgeRequest & GetEgressGatewayBridge() const
virtual const char * GetServiceRequestName() const override
void SetIngressGatewayBridge(UpdateIngressGatewayBridgeRequest &&value)
UpdateBridgeRequest & WithSourceFailoverConfig(const UpdateFailoverConfig &value)
AWS_MEDIACONNECT_API Aws::String SerializePayload() const override
UpdateBridgeRequest & WithBridgeArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String