AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisconnectParticipantRequest.h
1
6#pragma once
7#include <aws/connectparticipant/ConnectParticipant_EXPORTS.h>
8#include <aws/connectparticipant/ConnectParticipantRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace ConnectParticipant
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CONNECTPARTICIPANT_API DisconnectParticipantRequest();
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 "DisconnectParticipant"; }
32
33 AWS_CONNECTPARTICIPANT_API Aws::String SerializePayload() const override;
34
35 AWS_CONNECTPARTICIPANT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
46 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
47 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
48 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
49 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
50 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
51 inline DisconnectParticipantRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
52 inline DisconnectParticipantRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
53 inline DisconnectParticipantRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
55
57
60 inline const Aws::String& GetConnectionToken() const{ return m_connectionToken; }
61 inline bool ConnectionTokenHasBeenSet() const { return m_connectionTokenHasBeenSet; }
62 inline void SetConnectionToken(const Aws::String& value) { m_connectionTokenHasBeenSet = true; m_connectionToken = value; }
63 inline void SetConnectionToken(Aws::String&& value) { m_connectionTokenHasBeenSet = true; m_connectionToken = std::move(value); }
64 inline void SetConnectionToken(const char* value) { m_connectionTokenHasBeenSet = true; m_connectionToken.assign(value); }
66 inline DisconnectParticipantRequest& WithConnectionToken(Aws::String&& value) { SetConnectionToken(std::move(value)); return *this;}
67 inline DisconnectParticipantRequest& WithConnectionToken(const char* value) { SetConnectionToken(value); return *this;}
69 private:
70
71 Aws::String m_clientToken;
72 bool m_clientTokenHasBeenSet = false;
73
74 Aws::String m_connectionToken;
75 bool m_connectionTokenHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace ConnectParticipant
80} // namespace Aws
DisconnectParticipantRequest & WithClientToken(const char *value)
DisconnectParticipantRequest & WithClientToken(Aws::String &&value)
DisconnectParticipantRequest & WithClientToken(const Aws::String &value)
AWS_CONNECTPARTICIPANT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CONNECTPARTICIPANT_API Aws::String SerializePayload() const override
DisconnectParticipantRequest & WithConnectionToken(const char *value)
DisconnectParticipantRequest & WithConnectionToken(const Aws::String &value)
DisconnectParticipantRequest & WithConnectionToken(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String