AWS SDK for C++  1.9.123
AWS SDK for C++
UpdateFlowRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace MediaConnect
16 {
17 namespace Model
18 {
19 
26  {
27  public:
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 "UpdateFlow"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
43 
47  inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
48 
52  inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
53 
57  inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
58 
62  inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
63 
67  inline UpdateFlowRequest& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
68 
72  inline UpdateFlowRequest& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
73 
77  inline UpdateFlowRequest& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
78 
79 
80 
81  inline const UpdateFailoverConfig& GetSourceFailoverConfig() const{ return m_sourceFailoverConfig; }
82 
83 
84  inline bool SourceFailoverConfigHasBeenSet() const { return m_sourceFailoverConfigHasBeenSet; }
85 
86 
87  inline void SetSourceFailoverConfig(const UpdateFailoverConfig& value) { m_sourceFailoverConfigHasBeenSet = true; m_sourceFailoverConfig = value; }
88 
89 
90  inline void SetSourceFailoverConfig(UpdateFailoverConfig&& value) { m_sourceFailoverConfigHasBeenSet = true; m_sourceFailoverConfig = std::move(value); }
91 
92 
93  inline UpdateFlowRequest& WithSourceFailoverConfig(const UpdateFailoverConfig& value) { SetSourceFailoverConfig(value); return *this;}
94 
95 
96  inline UpdateFlowRequest& WithSourceFailoverConfig(UpdateFailoverConfig&& value) { SetSourceFailoverConfig(std::move(value)); return *this;}
97 
98  private:
99 
100  Aws::String m_flowArn;
101  bool m_flowArnHasBeenSet;
102 
103  UpdateFailoverConfig m_sourceFailoverConfig;
104  bool m_sourceFailoverConfigHasBeenSet;
105  };
106 
107 } // namespace Model
108 } // namespace MediaConnect
109 } // namespace Aws
Aws::MediaConnect::Model::UpdateFlowRequest::SetSourceFailoverConfig
void SetSourceFailoverConfig(UpdateFailoverConfig &&value)
Definition: UpdateFlowRequest.h:90
Aws::MediaConnect::Model::UpdateFlowRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MediaConnect::Model::UpdateFlowRequest::FlowArnHasBeenSet
bool FlowArnHasBeenSet() const
Definition: UpdateFlowRequest.h:47
Aws::MediaConnect::Model::UpdateFlowRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateFlowRequest.h:34
Aws::MediaConnect::Model::UpdateFlowRequest::WithFlowArn
UpdateFlowRequest & WithFlowArn(Aws::String &&value)
Definition: UpdateFlowRequest.h:72
Aws::MediaConnect::Model::UpdateFlowRequest::SetSourceFailoverConfig
void SetSourceFailoverConfig(const UpdateFailoverConfig &value)
Definition: UpdateFlowRequest.h:87
Aws::MediaConnect::Model::UpdateFailoverConfig
Definition: UpdateFailoverConfig.h:34
Aws::MediaConnect::Model::UpdateFlowRequest::GetFlowArn
const Aws::String & GetFlowArn() const
Definition: UpdateFlowRequest.h:42
AWS_MEDIACONNECT_API
#define AWS_MEDIACONNECT_API
Definition: MediaConnect_EXPORTS.h:28
Aws::MediaConnect::Model::UpdateFlowRequest::WithSourceFailoverConfig
UpdateFlowRequest & WithSourceFailoverConfig(UpdateFailoverConfig &&value)
Definition: UpdateFlowRequest.h:96
Aws::MediaConnect::MediaConnectRequest
Definition: MediaConnectRequest.h:17
UpdateFailoverConfig.h
Aws::MediaConnect::Model::UpdateFlowRequest::GetSourceFailoverConfig
const UpdateFailoverConfig & GetSourceFailoverConfig() const
Definition: UpdateFlowRequest.h:81
MediaConnectRequest.h
AWSString.h
Aws::MediaConnect::Model::UpdateFlowRequest::SourceFailoverConfigHasBeenSet
bool SourceFailoverConfigHasBeenSet() const
Definition: UpdateFlowRequest.h:84
Aws::MediaConnect::Model::UpdateFlowRequest::SetFlowArn
void SetFlowArn(Aws::String &&value)
Definition: UpdateFlowRequest.h:57
Aws::MediaConnect::Model::UpdateFlowRequest::WithFlowArn
UpdateFlowRequest & WithFlowArn(const Aws::String &value)
Definition: UpdateFlowRequest.h:67
Aws::MediaConnect::Model::UpdateFlowRequest::WithFlowArn
UpdateFlowRequest & WithFlowArn(const char *value)
Definition: UpdateFlowRequest.h:77
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConnect::Model::UpdateFlowRequest::UpdateFlowRequest
UpdateFlowRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConnect::Model::UpdateFlowRequest
Definition: UpdateFlowRequest.h:26
MediaConnect_EXPORTS.h
Aws::MediaConnect::Model::UpdateFlowRequest::SetFlowArn
void SetFlowArn(const char *value)
Definition: UpdateFlowRequest.h:62
Aws::MediaConnect::Model::UpdateFlowRequest::WithSourceFailoverConfig
UpdateFlowRequest & WithSourceFailoverConfig(const UpdateFailoverConfig &value)
Definition: UpdateFlowRequest.h:93
Aws::MediaConnect::Model::UpdateFlowRequest::SetFlowArn
void SetFlowArn(const Aws::String &value)
Definition: UpdateFlowRequest.h:52