AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateContactFlowMetadataRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/connect/model/ContactFlowState.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 UpdateContactFlowMetadataRequest() = 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 "UpdateContactFlowMetadata"; }
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
56 inline const Aws::String& GetContactFlowId() const { return m_contactFlowId; }
57 inline bool ContactFlowIdHasBeenSet() const { return m_contactFlowIdHasBeenSet; }
58 template <typename ContactFlowIdT = Aws::String>
59 void SetContactFlowId(ContactFlowIdT&& value) {
60 m_contactFlowIdHasBeenSet = true;
61 m_contactFlowId = std::forward<ContactFlowIdT>(value);
62 }
63 template <typename ContactFlowIdT = Aws::String>
65 SetContactFlowId(std::forward<ContactFlowIdT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetName() const { return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 template <typename NameT = Aws::String>
77 void SetName(NameT&& value) {
78 m_nameHasBeenSet = true;
79 m_name = std::forward<NameT>(value);
80 }
81 template <typename NameT = Aws::String>
83 SetName(std::forward<NameT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetDescription() const { return m_description; }
93 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
94 template <typename DescriptionT = Aws::String>
95 void SetDescription(DescriptionT&& value) {
96 m_descriptionHasBeenSet = true;
97 m_description = std::forward<DescriptionT>(value);
98 }
99 template <typename DescriptionT = Aws::String>
101 SetDescription(std::forward<DescriptionT>(value));
102 return *this;
103 }
105
107
110 inline ContactFlowState GetContactFlowState() const { return m_contactFlowState; }
111 inline bool ContactFlowStateHasBeenSet() const { return m_contactFlowStateHasBeenSet; }
113 m_contactFlowStateHasBeenSet = true;
114 m_contactFlowState = value;
115 }
117 SetContactFlowState(value);
118 return *this;
119 }
121 private:
122 Aws::String m_instanceId;
123
124 Aws::String m_contactFlowId;
125
126 Aws::String m_name;
127
128 Aws::String m_description;
129
131 bool m_instanceIdHasBeenSet = false;
132 bool m_contactFlowIdHasBeenSet = false;
133 bool m_nameHasBeenSet = false;
134 bool m_descriptionHasBeenSet = false;
135 bool m_contactFlowStateHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace Connect
140} // namespace Aws
AWS_CONNECT_API Aws::String SerializePayload() const override
AWS_CONNECT_API UpdateContactFlowMetadataRequest()=default
UpdateContactFlowMetadataRequest & WithDescription(DescriptionT &&value)
UpdateContactFlowMetadataRequest & WithContactFlowId(ContactFlowIdT &&value)
UpdateContactFlowMetadataRequest & WithName(NameT &&value)
UpdateContactFlowMetadataRequest & WithContactFlowState(ContactFlowState value)
UpdateContactFlowMetadataRequest & WithInstanceId(InstanceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String