AWS SDK for C++

AWS SDK for C++ Version 1.11.930

Loading...
Searching...
No Matches
DeleteAllEntitySessionsRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/connect/model/SessionEntityType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Connect {
16namespace Model {
17
21 public:
22 AWS_CONNECT_API DeleteAllEntitySessionsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DeleteAllEntitySessions"; }
29
30 AWS_CONNECT_API Aws::String SerializePayload() const override;
31
33
38 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
39 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
40 template <typename InstanceIdT = Aws::String>
41 void SetInstanceId(InstanceIdT&& value) {
42 m_instanceIdHasBeenSet = true;
43 m_instanceId = std::forward<InstanceIdT>(value);
44 }
45 template <typename InstanceIdT = Aws::String>
47 SetInstanceId(std::forward<InstanceIdT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetEntityId() const { return m_entityId; }
58 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
59 template <typename EntityIdT = Aws::String>
60 void SetEntityId(EntityIdT&& value) {
61 m_entityIdHasBeenSet = true;
62 m_entityId = std::forward<EntityIdT>(value);
63 }
64 template <typename EntityIdT = Aws::String>
66 SetEntityId(std::forward<EntityIdT>(value));
67 return *this;
68 }
70
72
77 inline SessionEntityType GetEntityType() const { return m_entityType; }
78 inline bool EntityTypeHasBeenSet() const { return m_entityTypeHasBeenSet; }
79 inline void SetEntityType(SessionEntityType value) {
80 m_entityTypeHasBeenSet = true;
81 m_entityType = value;
82 }
84 SetEntityType(value);
85 return *this;
86 }
88 private:
89 Aws::String m_instanceId;
90
91 Aws::String m_entityId;
92
94 bool m_instanceIdHasBeenSet = false;
95 bool m_entityIdHasBeenSet = false;
96 bool m_entityTypeHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Connect
101} // namespace Aws
DeleteAllEntitySessionsRequest & WithInstanceId(InstanceIdT &&value)
DeleteAllEntitySessionsRequest & WithEntityId(EntityIdT &&value)
DeleteAllEntitySessionsRequest & WithEntityType(SessionEntityType value)
AWS_CONNECT_API DeleteAllEntitySessionsRequest()=default
AWS_CONNECT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String