AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PostToConnectionRequest.h
1
6#pragma once
7#include <aws/apigatewaymanagementapi/ApiGatewayManagementApi_EXPORTS.h>
8#include <aws/apigatewaymanagementapi/ApiGatewayManagementApiRequest.h>
9#include <aws/core/utils/Array.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ApiGatewayManagementApi
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_APIGATEWAYMANAGEMENTAPI_API PostToConnectionRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "PostToConnection"; }
32
33
35
38 inline const Aws::String& GetConnectionId() const { return m_connectionId; }
39 inline bool ConnectionIdHasBeenSet() const { return m_connectionIdHasBeenSet; }
40 template<typename ConnectionIdT = Aws::String>
41 void SetConnectionId(ConnectionIdT&& value) { m_connectionIdHasBeenSet = true; m_connectionId = std::forward<ConnectionIdT>(value); }
42 template<typename ConnectionIdT = Aws::String>
43 PostToConnectionRequest& WithConnectionId(ConnectionIdT&& value) { SetConnectionId(std::forward<ConnectionIdT>(value)); return *this;}
45 private:
46
47
48 Aws::String m_connectionId;
49 bool m_connectionIdHasBeenSet = false;
50 };
51
52} // namespace Model
53} // namespace ApiGatewayManagementApi
54} // namespace Aws
PostToConnectionRequest & WithConnectionId(ConnectionIdT &&value)
AWS_APIGATEWAYMANAGEMENTAPI_API PostToConnectionRequest()=default
bool ConnectionIdHasBeenSet() const
void SetConnectionId(ConnectionIdT &&value)
const Aws::String & GetConnectionId() const
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String