AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
CreateContactFlowVersionRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/core/utils/DateTime.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 CreateContactFlowVersionRequest() = 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 "CreateContactFlowVersion"; }
29
30 AWS_CONNECT_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
37 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
38 template <typename InstanceIdT = Aws::String>
39 void SetInstanceId(InstanceIdT&& value) {
40 m_instanceIdHasBeenSet = true;
41 m_instanceId = std::forward<InstanceIdT>(value);
42 }
43 template <typename InstanceIdT = Aws::String>
45 SetInstanceId(std::forward<InstanceIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetDescription() const { return m_description; }
55 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
56 template <typename DescriptionT = Aws::String>
57 void SetDescription(DescriptionT&& value) {
58 m_descriptionHasBeenSet = true;
59 m_description = std::forward<DescriptionT>(value);
60 }
61 template <typename DescriptionT = Aws::String>
63 SetDescription(std::forward<DescriptionT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetContactFlowId() const { return m_contactFlowId; }
73 inline bool ContactFlowIdHasBeenSet() const { return m_contactFlowIdHasBeenSet; }
74 template <typename ContactFlowIdT = Aws::String>
75 void SetContactFlowId(ContactFlowIdT&& value) {
76 m_contactFlowIdHasBeenSet = true;
77 m_contactFlowId = std::forward<ContactFlowIdT>(value);
78 }
79 template <typename ContactFlowIdT = Aws::String>
81 SetContactFlowId(std::forward<ContactFlowIdT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetFlowContentSha256() const { return m_flowContentSha256; }
91 inline bool FlowContentSha256HasBeenSet() const { return m_flowContentSha256HasBeenSet; }
92 template <typename FlowContentSha256T = Aws::String>
93 void SetFlowContentSha256(FlowContentSha256T&& value) {
94 m_flowContentSha256HasBeenSet = true;
95 m_flowContentSha256 = std::forward<FlowContentSha256T>(value);
96 }
97 template <typename FlowContentSha256T = Aws::String>
99 SetFlowContentSha256(std::forward<FlowContentSha256T>(value));
100 return *this;
101 }
103
105
108 inline long long GetContactFlowVersion() const { return m_contactFlowVersion; }
109 inline bool ContactFlowVersionHasBeenSet() const { return m_contactFlowVersionHasBeenSet; }
110 inline void SetContactFlowVersion(long long value) {
111 m_contactFlowVersionHasBeenSet = true;
112 m_contactFlowVersion = value;
113 }
116 return *this;
117 }
119
121
124 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
125 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
126 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
127 void SetLastModifiedTime(LastModifiedTimeT&& value) {
128 m_lastModifiedTimeHasBeenSet = true;
129 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
130 }
131 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
133 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
134 return *this;
135 }
137
139
142 inline const Aws::String& GetLastModifiedRegion() const { return m_lastModifiedRegion; }
143 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
144 template <typename LastModifiedRegionT = Aws::String>
145 void SetLastModifiedRegion(LastModifiedRegionT&& value) {
146 m_lastModifiedRegionHasBeenSet = true;
147 m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value);
148 }
149 template <typename LastModifiedRegionT = Aws::String>
151 SetLastModifiedRegion(std::forward<LastModifiedRegionT>(value));
152 return *this;
153 }
155 private:
156 Aws::String m_instanceId;
157 bool m_instanceIdHasBeenSet = false;
158
159 Aws::String m_description;
160 bool m_descriptionHasBeenSet = false;
161
162 Aws::String m_contactFlowId;
163 bool m_contactFlowIdHasBeenSet = false;
164
165 Aws::String m_flowContentSha256;
166 bool m_flowContentSha256HasBeenSet = false;
167
168 long long m_contactFlowVersion{0};
169 bool m_contactFlowVersionHasBeenSet = false;
170
171 Aws::Utils::DateTime m_lastModifiedTime{};
172 bool m_lastModifiedTimeHasBeenSet = false;
173
174 Aws::String m_lastModifiedRegion;
175 bool m_lastModifiedRegionHasBeenSet = false;
176};
177
178} // namespace Model
179} // namespace Connect
180} // namespace Aws
CreateContactFlowVersionRequest & WithDescription(DescriptionT &&value)
CreateContactFlowVersionRequest & WithContactFlowVersion(long long value)
CreateContactFlowVersionRequest & WithLastModifiedRegion(LastModifiedRegionT &&value)
CreateContactFlowVersionRequest & WithContactFlowId(ContactFlowIdT &&value)
AWS_CONNECT_API CreateContactFlowVersionRequest()=default
CreateContactFlowVersionRequest & WithLastModifiedTime(LastModifiedTimeT &&value)
CreateContactFlowVersionRequest & WithFlowContentSha256(FlowContentSha256T &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
CreateContactFlowVersionRequest & WithInstanceId(InstanceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String