AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EgressGatewayBridge.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaConnect
22{
23namespace Model
24{
25
27 {
28 public:
29 AWS_MEDIACONNECT_API EgressGatewayBridge();
30 AWS_MEDIACONNECT_API EgressGatewayBridge(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
34
36
39 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
40 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
41 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
42 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
43 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
44 inline EgressGatewayBridge& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
45 inline EgressGatewayBridge& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
46 inline EgressGatewayBridge& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
48
50
53 inline int GetMaxBitrate() const{ return m_maxBitrate; }
54 inline bool MaxBitrateHasBeenSet() const { return m_maxBitrateHasBeenSet; }
55 inline void SetMaxBitrate(int value) { m_maxBitrateHasBeenSet = true; m_maxBitrate = value; }
56 inline EgressGatewayBridge& WithMaxBitrate(int value) { SetMaxBitrate(value); return *this;}
58 private:
59
60 Aws::String m_instanceId;
61 bool m_instanceIdHasBeenSet = false;
62
63 int m_maxBitrate;
64 bool m_maxBitrateHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace MediaConnect
69} // namespace Aws
AWS_MEDIACONNECT_API EgressGatewayBridge & operator=(Aws::Utils::Json::JsonView jsonValue)
EgressGatewayBridge & WithMaxBitrate(int value)
AWS_MEDIACONNECT_API EgressGatewayBridge(Aws::Utils::Json::JsonView jsonValue)
EgressGatewayBridge & WithInstanceId(const Aws::String &value)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
EgressGatewayBridge & WithInstanceId(const char *value)
EgressGatewayBridge & WithInstanceId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue