AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
DeleteContactFlowVersionRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Connect {
15namespace Model {
16
20 public:
21 AWS_CONNECT_API DeleteContactFlowVersionRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DeleteContactFlowVersion"; }
28
29 AWS_CONNECT_API Aws::String SerializePayload() const override;
30
32
37 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
38 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
39 template <typename InstanceIdT = Aws::String>
40 void SetInstanceId(InstanceIdT&& value) {
41 m_instanceIdHasBeenSet = true;
42 m_instanceId = std::forward<InstanceIdT>(value);
43 }
44 template <typename InstanceIdT = Aws::String>
46 SetInstanceId(std::forward<InstanceIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetContactFlowId() const { return m_contactFlowId; }
56 inline bool ContactFlowIdHasBeenSet() const { return m_contactFlowIdHasBeenSet; }
57 template <typename ContactFlowIdT = Aws::String>
58 void SetContactFlowId(ContactFlowIdT&& value) {
59 m_contactFlowIdHasBeenSet = true;
60 m_contactFlowId = std::forward<ContactFlowIdT>(value);
61 }
62 template <typename ContactFlowIdT = Aws::String>
64 SetContactFlowId(std::forward<ContactFlowIdT>(value));
65 return *this;
66 }
68
70
73 inline long long GetContactFlowVersion() const { return m_contactFlowVersion; }
74 inline bool ContactFlowVersionHasBeenSet() const { return m_contactFlowVersionHasBeenSet; }
75 inline void SetContactFlowVersion(long long value) {
76 m_contactFlowVersionHasBeenSet = true;
77 m_contactFlowVersion = value;
78 }
81 return *this;
82 }
84 private:
85 Aws::String m_instanceId;
86
87 Aws::String m_contactFlowId;
88
89 long long m_contactFlowVersion{0};
90 bool m_instanceIdHasBeenSet = false;
91 bool m_contactFlowIdHasBeenSet = false;
92 bool m_contactFlowVersionHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace Connect
97} // namespace Aws
DeleteContactFlowVersionRequest & WithContactFlowId(ContactFlowIdT &&value)
DeleteContactFlowVersionRequest & WithInstanceId(InstanceIdT &&value)
AWS_CONNECT_API DeleteContactFlowVersionRequest()=default
AWS_CONNECT_API Aws::String SerializePayload() const override
DeleteContactFlowVersionRequest & WithContactFlowVersion(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String