AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetConnectionId(const Aws::String& value) { m_connectionIdHasBeenSet = true; m_connectionId = value; }
41 inline void SetConnectionId(Aws::String&& value) { m_connectionIdHasBeenSet = true; m_connectionId = std::move(value); }
42 inline void SetConnectionId(const char* value) { m_connectionIdHasBeenSet = true; m_connectionId.assign(value); }
43 inline PostToConnectionRequest& WithConnectionId(const Aws::String& value) { SetConnectionId(value); return *this;}
44 inline PostToConnectionRequest& WithConnectionId(Aws::String&& value) { SetConnectionId(std::move(value)); return *this;}
45 inline PostToConnectionRequest& WithConnectionId(const char* value) { SetConnectionId(value); return *this;}
47 private:
48
49
50 Aws::String m_connectionId;
51 bool m_connectionIdHasBeenSet = false;
52 };
53
54} // namespace Model
55} // namespace ApiGatewayManagementApi
56} // namespace Aws
PostToConnectionRequest & WithConnectionId(const char *value)
PostToConnectionRequest & WithConnectionId(Aws::String &&value)
bool ConnectionIdHasBeenSet() const
AWS_APIGATEWAYMANAGEMENTAPI_API PostToConnectionRequest()
void SetConnectionId(const Aws::String &value)
const Aws::String & GetConnectionId() const
void SetConnectionId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
PostToConnectionRequest & WithConnectionId(const Aws::String &value)
void SetConnectionId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String