AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RotateTunnelAccessTokenRequest.h
1
6#pragma once
7#include <aws/iotsecuretunneling/IoTSecureTunneling_EXPORTS.h>
8#include <aws/iotsecuretunneling/IoTSecureTunnelingRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotsecuretunneling/model/ClientMode.h>
11#include <aws/iotsecuretunneling/model/DestinationConfig.h>
12#include <utility>
13
14namespace Aws
15{
16namespace IoTSecureTunneling
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_IOTSECURETUNNELING_API RotateTunnelAccessTokenRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "RotateTunnelAccessToken"; }
33
34 AWS_IOTSECURETUNNELING_API Aws::String SerializePayload() const override;
35
36 AWS_IOTSECURETUNNELING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::String& GetTunnelId() const{ return m_tunnelId; }
44 inline bool TunnelIdHasBeenSet() const { return m_tunnelIdHasBeenSet; }
45 inline void SetTunnelId(const Aws::String& value) { m_tunnelIdHasBeenSet = true; m_tunnelId = value; }
46 inline void SetTunnelId(Aws::String&& value) { m_tunnelIdHasBeenSet = true; m_tunnelId = std::move(value); }
47 inline void SetTunnelId(const char* value) { m_tunnelIdHasBeenSet = true; m_tunnelId.assign(value); }
48 inline RotateTunnelAccessTokenRequest& WithTunnelId(const Aws::String& value) { SetTunnelId(value); return *this;}
49 inline RotateTunnelAccessTokenRequest& WithTunnelId(Aws::String&& value) { SetTunnelId(std::move(value)); return *this;}
50 inline RotateTunnelAccessTokenRequest& WithTunnelId(const char* value) { SetTunnelId(value); return *this;}
52
54
58 inline const ClientMode& GetClientMode() const{ return m_clientMode; }
59 inline bool ClientModeHasBeenSet() const { return m_clientModeHasBeenSet; }
60 inline void SetClientMode(const ClientMode& value) { m_clientModeHasBeenSet = true; m_clientMode = value; }
61 inline void SetClientMode(ClientMode&& value) { m_clientModeHasBeenSet = true; m_clientMode = std::move(value); }
62 inline RotateTunnelAccessTokenRequest& WithClientMode(const ClientMode& value) { SetClientMode(value); return *this;}
63 inline RotateTunnelAccessTokenRequest& WithClientMode(ClientMode&& value) { SetClientMode(std::move(value)); return *this;}
65
67
68 inline const DestinationConfig& GetDestinationConfig() const{ return m_destinationConfig; }
69 inline bool DestinationConfigHasBeenSet() const { return m_destinationConfigHasBeenSet; }
70 inline void SetDestinationConfig(const DestinationConfig& value) { m_destinationConfigHasBeenSet = true; m_destinationConfig = value; }
71 inline void SetDestinationConfig(DestinationConfig&& value) { m_destinationConfigHasBeenSet = true; m_destinationConfig = std::move(value); }
75 private:
76
77 Aws::String m_tunnelId;
78 bool m_tunnelIdHasBeenSet = false;
79
80 ClientMode m_clientMode;
81 bool m_clientModeHasBeenSet = false;
82
83 DestinationConfig m_destinationConfig;
84 bool m_destinationConfigHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace IoTSecureTunneling
89} // namespace Aws
RotateTunnelAccessTokenRequest & WithTunnelId(const char *value)
RotateTunnelAccessTokenRequest & WithTunnelId(Aws::String &&value)
RotateTunnelAccessTokenRequest & WithTunnelId(const Aws::String &value)
RotateTunnelAccessTokenRequest & WithClientMode(ClientMode &&value)
RotateTunnelAccessTokenRequest & WithDestinationConfig(DestinationConfig &&value)
AWS_IOTSECURETUNNELING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
RotateTunnelAccessTokenRequest & WithDestinationConfig(const DestinationConfig &value)
RotateTunnelAccessTokenRequest & WithClientMode(const ClientMode &value)
AWS_IOTSECURETUNNELING_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String