AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateGatewayInstanceRequest.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/MediaConnectRequest.h>
9#include <aws/mediaconnect/model/BridgePlacement.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace MediaConnect
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_MEDIACONNECT_API UpdateGatewayInstanceRequest();
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 "UpdateGatewayInstance"; }
35
36 AWS_MEDIACONNECT_API Aws::String SerializePayload() const override;
37
38
40
46 inline const BridgePlacement& GetBridgePlacement() const{ return m_bridgePlacement; }
47 inline bool BridgePlacementHasBeenSet() const { return m_bridgePlacementHasBeenSet; }
48 inline void SetBridgePlacement(const BridgePlacement& value) { m_bridgePlacementHasBeenSet = true; m_bridgePlacement = value; }
49 inline void SetBridgePlacement(BridgePlacement&& value) { m_bridgePlacementHasBeenSet = true; m_bridgePlacement = std::move(value); }
51 inline UpdateGatewayInstanceRequest& WithBridgePlacement(BridgePlacement&& value) { SetBridgePlacement(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetGatewayInstanceArn() const{ return m_gatewayInstanceArn; }
59 inline bool GatewayInstanceArnHasBeenSet() const { return m_gatewayInstanceArnHasBeenSet; }
60 inline void SetGatewayInstanceArn(const Aws::String& value) { m_gatewayInstanceArnHasBeenSet = true; m_gatewayInstanceArn = value; }
61 inline void SetGatewayInstanceArn(Aws::String&& value) { m_gatewayInstanceArnHasBeenSet = true; m_gatewayInstanceArn = std::move(value); }
62 inline void SetGatewayInstanceArn(const char* value) { m_gatewayInstanceArnHasBeenSet = true; m_gatewayInstanceArn.assign(value); }
64 inline UpdateGatewayInstanceRequest& WithGatewayInstanceArn(Aws::String&& value) { SetGatewayInstanceArn(std::move(value)); return *this;}
65 inline UpdateGatewayInstanceRequest& WithGatewayInstanceArn(const char* value) { SetGatewayInstanceArn(value); return *this;}
67 private:
68
69 BridgePlacement m_bridgePlacement;
70 bool m_bridgePlacementHasBeenSet = false;
71
72 Aws::String m_gatewayInstanceArn;
73 bool m_gatewayInstanceArnHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace MediaConnect
78} // namespace Aws
UpdateGatewayInstanceRequest & WithBridgePlacement(const BridgePlacement &value)
AWS_MEDIACONNECT_API Aws::String SerializePayload() const override
UpdateGatewayInstanceRequest & WithGatewayInstanceArn(const char *value)
UpdateGatewayInstanceRequest & WithGatewayInstanceArn(const Aws::String &value)
UpdateGatewayInstanceRequest & WithGatewayInstanceArn(Aws::String &&value)
UpdateGatewayInstanceRequest & WithBridgePlacement(BridgePlacement &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String