AWS SDK for C++

AWS SDK for C++ Version 1.11.930

Loading...
Searching...
No Matches
UpdateContactFlowAliasRequest.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 UpdateContactFlowAliasRequest() = 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 "UpdateContactFlowAlias"; }
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 const Aws::String& GetAliasId() const { return m_aliasId; }
74 inline bool AliasIdHasBeenSet() const { return m_aliasIdHasBeenSet; }
75 template <typename AliasIdT = Aws::String>
76 void SetAliasId(AliasIdT&& value) {
77 m_aliasIdHasBeenSet = true;
78 m_aliasId = std::forward<AliasIdT>(value);
79 }
80 template <typename AliasIdT = Aws::String>
82 SetAliasId(std::forward<AliasIdT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetName() const { return m_name; }
92 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
93 template <typename NameT = Aws::String>
94 void SetName(NameT&& value) {
95 m_nameHasBeenSet = true;
96 m_name = std::forward<NameT>(value);
97 }
98 template <typename NameT = Aws::String>
100 SetName(std::forward<NameT>(value));
101 return *this;
102 }
104
106
109 inline const Aws::String& GetDescription() const { return m_description; }
110 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
111 template <typename DescriptionT = Aws::String>
112 void SetDescription(DescriptionT&& value) {
113 m_descriptionHasBeenSet = true;
114 m_description = std::forward<DescriptionT>(value);
115 }
116 template <typename DescriptionT = Aws::String>
118 SetDescription(std::forward<DescriptionT>(value));
119 return *this;
120 }
122
124
127 inline long long GetContactFlowVersion() const { return m_contactFlowVersion; }
128 inline bool ContactFlowVersionHasBeenSet() const { return m_contactFlowVersionHasBeenSet; }
129 inline void SetContactFlowVersion(long long value) {
130 m_contactFlowVersionHasBeenSet = true;
131 m_contactFlowVersion = value;
132 }
135 return *this;
136 }
138 private:
139 Aws::String m_instanceId;
140
141 Aws::String m_contactFlowId;
142
143 Aws::String m_aliasId;
144
145 Aws::String m_name;
146
147 Aws::String m_description;
148
149 long long m_contactFlowVersion{0};
150 bool m_instanceIdHasBeenSet = false;
151 bool m_contactFlowIdHasBeenSet = false;
152 bool m_aliasIdHasBeenSet = false;
153 bool m_nameHasBeenSet = false;
154 bool m_descriptionHasBeenSet = false;
155 bool m_contactFlowVersionHasBeenSet = false;
156};
157
158} // namespace Model
159} // namespace Connect
160} // namespace Aws
UpdateContactFlowAliasRequest & WithAliasId(AliasIdT &&value)
UpdateContactFlowAliasRequest & WithInstanceId(InstanceIdT &&value)
UpdateContactFlowAliasRequest & WithContactFlowId(ContactFlowIdT &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateContactFlowAliasRequest & WithName(NameT &&value)
UpdateContactFlowAliasRequest & WithDescription(DescriptionT &&value)
AWS_CONNECT_API UpdateContactFlowAliasRequest()=default
UpdateContactFlowAliasRequest & WithContactFlowVersion(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String