AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateBridgeStateRequest.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/DesiredState.h>
11#include <utility>
12
13namespace Aws
14{
15namespace MediaConnect
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_MEDIACONNECT_API UpdateBridgeStateRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateBridgeState"; }
32
33 AWS_MEDIACONNECT_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetBridgeArn() const { return m_bridgeArn; }
42 inline bool BridgeArnHasBeenSet() const { return m_bridgeArnHasBeenSet; }
43 template<typename BridgeArnT = Aws::String>
44 void SetBridgeArn(BridgeArnT&& value) { m_bridgeArnHasBeenSet = true; m_bridgeArn = std::forward<BridgeArnT>(value); }
45 template<typename BridgeArnT = Aws::String>
46 UpdateBridgeStateRequest& WithBridgeArn(BridgeArnT&& value) { SetBridgeArn(std::forward<BridgeArnT>(value)); return *this;}
48
50
53 inline DesiredState GetDesiredState() const { return m_desiredState; }
54 inline bool DesiredStateHasBeenSet() const { return m_desiredStateHasBeenSet; }
55 inline void SetDesiredState(DesiredState value) { m_desiredStateHasBeenSet = true; m_desiredState = value; }
58 private:
59
60 Aws::String m_bridgeArn;
61 bool m_bridgeArnHasBeenSet = false;
62
63 DesiredState m_desiredState{DesiredState::NOT_SET};
64 bool m_desiredStateHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace MediaConnect
69} // namespace Aws
AWS_MEDIACONNECT_API Aws::String SerializePayload() const override
UpdateBridgeStateRequest & WithBridgeArn(BridgeArnT &&value)
UpdateBridgeStateRequest & WithDesiredState(DesiredState value)
AWS_MEDIACONNECT_API UpdateBridgeStateRequest()=default
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String