AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateFlowRequest.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/UpdateFailoverConfig.h>
11#include <aws/mediaconnect/model/UpdateMaintenance.h>
12#include <aws/mediaconnect/model/MonitoringConfig.h>
13#include <utility>
14
15namespace Aws
16{
17namespace MediaConnect
18{
19namespace Model
20{
21
28 {
29 public:
30 AWS_MEDIACONNECT_API UpdateFlowRequest();
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 "UpdateFlow"; }
37
38 AWS_MEDIACONNECT_API Aws::String SerializePayload() const override;
39
40
42
45 inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
46 inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
47 inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
48 inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
49 inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
50 inline UpdateFlowRequest& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
51 inline UpdateFlowRequest& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
52 inline UpdateFlowRequest& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
54
56
57 inline const UpdateFailoverConfig& GetSourceFailoverConfig() const{ return m_sourceFailoverConfig; }
58 inline bool SourceFailoverConfigHasBeenSet() const { return m_sourceFailoverConfigHasBeenSet; }
59 inline void SetSourceFailoverConfig(const UpdateFailoverConfig& value) { m_sourceFailoverConfigHasBeenSet = true; m_sourceFailoverConfig = value; }
60 inline void SetSourceFailoverConfig(UpdateFailoverConfig&& value) { m_sourceFailoverConfigHasBeenSet = true; m_sourceFailoverConfig = std::move(value); }
64
66
67 inline const UpdateMaintenance& GetMaintenance() const{ return m_maintenance; }
68 inline bool MaintenanceHasBeenSet() const { return m_maintenanceHasBeenSet; }
69 inline void SetMaintenance(const UpdateMaintenance& value) { m_maintenanceHasBeenSet = true; m_maintenance = value; }
70 inline void SetMaintenance(UpdateMaintenance&& value) { m_maintenanceHasBeenSet = true; m_maintenance = std::move(value); }
71 inline UpdateFlowRequest& WithMaintenance(const UpdateMaintenance& value) { SetMaintenance(value); return *this;}
72 inline UpdateFlowRequest& WithMaintenance(UpdateMaintenance&& value) { SetMaintenance(std::move(value)); return *this;}
74
76
77 inline const MonitoringConfig& GetSourceMonitoringConfig() const{ return m_sourceMonitoringConfig; }
78 inline bool SourceMonitoringConfigHasBeenSet() const { return m_sourceMonitoringConfigHasBeenSet; }
79 inline void SetSourceMonitoringConfig(const MonitoringConfig& value) { m_sourceMonitoringConfigHasBeenSet = true; m_sourceMonitoringConfig = value; }
80 inline void SetSourceMonitoringConfig(MonitoringConfig&& value) { m_sourceMonitoringConfigHasBeenSet = true; m_sourceMonitoringConfig = std::move(value); }
84 private:
85
86 Aws::String m_flowArn;
87 bool m_flowArnHasBeenSet = false;
88
89 UpdateFailoverConfig m_sourceFailoverConfig;
90 bool m_sourceFailoverConfigHasBeenSet = false;
91
92 UpdateMaintenance m_maintenance;
93 bool m_maintenanceHasBeenSet = false;
94
95 MonitoringConfig m_sourceMonitoringConfig;
96 bool m_sourceMonitoringConfigHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace MediaConnect
101} // namespace Aws
void SetMaintenance(const UpdateMaintenance &value)
UpdateFlowRequest & WithFlowArn(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
const UpdateFailoverConfig & GetSourceFailoverConfig() const
UpdateFlowRequest & WithFlowArn(const char *value)
UpdateFlowRequest & WithSourceFailoverConfig(UpdateFailoverConfig &&value)
UpdateFlowRequest & WithSourceMonitoringConfig(MonitoringConfig &&value)
AWS_MEDIACONNECT_API Aws::String SerializePayload() const override
const UpdateMaintenance & GetMaintenance() const
UpdateFlowRequest & WithSourceMonitoringConfig(const MonitoringConfig &value)
const MonitoringConfig & GetSourceMonitoringConfig() const
void SetSourceMonitoringConfig(const MonitoringConfig &value)
UpdateFlowRequest & WithFlowArn(const Aws::String &value)
void SetSourceMonitoringConfig(MonitoringConfig &&value)
UpdateFlowRequest & WithSourceFailoverConfig(const UpdateFailoverConfig &value)
void SetSourceFailoverConfig(const UpdateFailoverConfig &value)
void SetFlowArn(const Aws::String &value)
UpdateFlowRequest & WithMaintenance(const UpdateMaintenance &value)
void SetSourceFailoverConfig(UpdateFailoverConfig &&value)
void SetMaintenance(UpdateMaintenance &&value)
UpdateFlowRequest & WithMaintenance(UpdateMaintenance &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String