AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartConnectionRequest.h
1
6#pragma once
7#include <aws/outposts/Outposts_EXPORTS.h>
8#include <aws/outposts/OutpostsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Outposts
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_OUTPOSTS_API StartConnectionRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "StartConnection"; }
31
32 AWS_OUTPOSTS_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetDeviceSerialNumber() const{ return m_deviceSerialNumber; }
40 inline bool DeviceSerialNumberHasBeenSet() const { return m_deviceSerialNumberHasBeenSet; }
41 inline void SetDeviceSerialNumber(const Aws::String& value) { m_deviceSerialNumberHasBeenSet = true; m_deviceSerialNumber = value; }
42 inline void SetDeviceSerialNumber(Aws::String&& value) { m_deviceSerialNumberHasBeenSet = true; m_deviceSerialNumber = std::move(value); }
43 inline void SetDeviceSerialNumber(const char* value) { m_deviceSerialNumberHasBeenSet = true; m_deviceSerialNumber.assign(value); }
45 inline StartConnectionRequest& WithDeviceSerialNumber(Aws::String&& value) { SetDeviceSerialNumber(std::move(value)); return *this;}
46 inline StartConnectionRequest& WithDeviceSerialNumber(const char* value) { SetDeviceSerialNumber(value); return *this;}
48
50
53 inline const Aws::String& GetAssetId() const{ return m_assetId; }
54 inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
55 inline void SetAssetId(const Aws::String& value) { m_assetIdHasBeenSet = true; m_assetId = value; }
56 inline void SetAssetId(Aws::String&& value) { m_assetIdHasBeenSet = true; m_assetId = std::move(value); }
57 inline void SetAssetId(const char* value) { m_assetIdHasBeenSet = true; m_assetId.assign(value); }
58 inline StartConnectionRequest& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;}
59 inline StartConnectionRequest& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;}
60 inline StartConnectionRequest& WithAssetId(const char* value) { SetAssetId(value); return *this;}
62
64
67 inline const Aws::String& GetClientPublicKey() const{ return m_clientPublicKey; }
68 inline bool ClientPublicKeyHasBeenSet() const { return m_clientPublicKeyHasBeenSet; }
69 inline void SetClientPublicKey(const Aws::String& value) { m_clientPublicKeyHasBeenSet = true; m_clientPublicKey = value; }
70 inline void SetClientPublicKey(Aws::String&& value) { m_clientPublicKeyHasBeenSet = true; m_clientPublicKey = std::move(value); }
71 inline void SetClientPublicKey(const char* value) { m_clientPublicKeyHasBeenSet = true; m_clientPublicKey.assign(value); }
72 inline StartConnectionRequest& WithClientPublicKey(const Aws::String& value) { SetClientPublicKey(value); return *this;}
73 inline StartConnectionRequest& WithClientPublicKey(Aws::String&& value) { SetClientPublicKey(std::move(value)); return *this;}
74 inline StartConnectionRequest& WithClientPublicKey(const char* value) { SetClientPublicKey(value); return *this;}
76
78
81 inline int GetNetworkInterfaceDeviceIndex() const{ return m_networkInterfaceDeviceIndex; }
82 inline bool NetworkInterfaceDeviceIndexHasBeenSet() const { return m_networkInterfaceDeviceIndexHasBeenSet; }
83 inline void SetNetworkInterfaceDeviceIndex(int value) { m_networkInterfaceDeviceIndexHasBeenSet = true; m_networkInterfaceDeviceIndex = value; }
86 private:
87
88 Aws::String m_deviceSerialNumber;
89 bool m_deviceSerialNumberHasBeenSet = false;
90
91 Aws::String m_assetId;
92 bool m_assetIdHasBeenSet = false;
93
94 Aws::String m_clientPublicKey;
95 bool m_clientPublicKeyHasBeenSet = false;
96
97 int m_networkInterfaceDeviceIndex;
98 bool m_networkInterfaceDeviceIndexHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace Outposts
103} // namespace Aws
virtual const char * GetServiceRequestName() const override
void SetDeviceSerialNumber(const Aws::String &value)
AWS_OUTPOSTS_API Aws::String SerializePayload() const override
StartConnectionRequest & WithNetworkInterfaceDeviceIndex(int value)
StartConnectionRequest & WithDeviceSerialNumber(const Aws::String &value)
StartConnectionRequest & WithAssetId(const Aws::String &value)
StartConnectionRequest & WithClientPublicKey(const Aws::String &value)
StartConnectionRequest & WithAssetId(Aws::String &&value)
StartConnectionRequest & WithDeviceSerialNumber(const char *value)
StartConnectionRequest & WithDeviceSerialNumber(Aws::String &&value)
StartConnectionRequest & WithClientPublicKey(const char *value)
StartConnectionRequest & WithAssetId(const char *value)
StartConnectionRequest & WithClientPublicKey(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String