AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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
26 {
27 public:
28 AWS_MEDIACONNECT_API UpdateBridgeStateRequest();
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 "UpdateBridgeState"; }
35
36 AWS_MEDIACONNECT_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetBridgeArn() const{ return m_bridgeArn; }
44 inline bool BridgeArnHasBeenSet() const { return m_bridgeArnHasBeenSet; }
45 inline void SetBridgeArn(const Aws::String& value) { m_bridgeArnHasBeenSet = true; m_bridgeArn = value; }
46 inline void SetBridgeArn(Aws::String&& value) { m_bridgeArnHasBeenSet = true; m_bridgeArn = std::move(value); }
47 inline void SetBridgeArn(const char* value) { m_bridgeArnHasBeenSet = true; m_bridgeArn.assign(value); }
48 inline UpdateBridgeStateRequest& WithBridgeArn(const Aws::String& value) { SetBridgeArn(value); return *this;}
49 inline UpdateBridgeStateRequest& WithBridgeArn(Aws::String&& value) { SetBridgeArn(std::move(value)); return *this;}
50 inline UpdateBridgeStateRequest& WithBridgeArn(const char* value) { SetBridgeArn(value); return *this;}
52
54
55 inline const DesiredState& GetDesiredState() const{ return m_desiredState; }
56 inline bool DesiredStateHasBeenSet() const { return m_desiredStateHasBeenSet; }
57 inline void SetDesiredState(const DesiredState& value) { m_desiredStateHasBeenSet = true; m_desiredState = value; }
58 inline void SetDesiredState(DesiredState&& value) { m_desiredStateHasBeenSet = true; m_desiredState = std::move(value); }
59 inline UpdateBridgeStateRequest& WithDesiredState(const DesiredState& value) { SetDesiredState(value); return *this;}
60 inline UpdateBridgeStateRequest& WithDesiredState(DesiredState&& value) { SetDesiredState(std::move(value)); return *this;}
62 private:
63
64 Aws::String m_bridgeArn;
65 bool m_bridgeArnHasBeenSet = false;
66
67 DesiredState m_desiredState;
68 bool m_desiredStateHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace MediaConnect
73} // namespace Aws
UpdateBridgeStateRequest & WithDesiredState(const DesiredState &value)
UpdateBridgeStateRequest & WithBridgeArn(Aws::String &&value)
AWS_MEDIACONNECT_API Aws::String SerializePayload() const override
UpdateBridgeStateRequest & WithBridgeArn(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateBridgeStateRequest & WithBridgeArn(const Aws::String &value)
UpdateBridgeStateRequest & WithDesiredState(DesiredState &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String