AWS SDK for C++

AWS SDK for C++ Version 1.11.555

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
CreateContactFlowVersionRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Connect
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CONNECT_API CreateContactFlowVersionRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateContactFlowVersion"; }
32
33 AWS_CONNECT_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
41 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
42 template<typename InstanceIdT = Aws::String>
43 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
44 template<typename InstanceIdT = Aws::String>
45 CreateContactFlowVersionRequest& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetDescription() const { return m_description; }
53 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
54 template<typename DescriptionT = Aws::String>
55 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
56 template<typename DescriptionT = Aws::String>
57 CreateContactFlowVersionRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
59
61
64 inline const Aws::String& GetContactFlowId() const { return m_contactFlowId; }
65 inline bool ContactFlowIdHasBeenSet() const { return m_contactFlowIdHasBeenSet; }
66 template<typename ContactFlowIdT = Aws::String>
67 void SetContactFlowId(ContactFlowIdT&& value) { m_contactFlowIdHasBeenSet = true; m_contactFlowId = std::forward<ContactFlowIdT>(value); }
68 template<typename ContactFlowIdT = Aws::String>
69 CreateContactFlowVersionRequest& WithContactFlowId(ContactFlowIdT&& value) { SetContactFlowId(std::forward<ContactFlowIdT>(value)); return *this;}
71
73
76 inline const Aws::String& GetFlowContentSha256() const { return m_flowContentSha256; }
77 inline bool FlowContentSha256HasBeenSet() const { return m_flowContentSha256HasBeenSet; }
78 template<typename FlowContentSha256T = Aws::String>
79 void SetFlowContentSha256(FlowContentSha256T&& value) { m_flowContentSha256HasBeenSet = true; m_flowContentSha256 = std::forward<FlowContentSha256T>(value); }
80 template<typename FlowContentSha256T = Aws::String>
81 CreateContactFlowVersionRequest& WithFlowContentSha256(FlowContentSha256T&& value) { SetFlowContentSha256(std::forward<FlowContentSha256T>(value)); return *this;}
83
85
88 inline long long GetContactFlowVersion() const { return m_contactFlowVersion; }
89 inline bool ContactFlowVersionHasBeenSet() const { return m_contactFlowVersionHasBeenSet; }
90 inline void SetContactFlowVersion(long long value) { m_contactFlowVersionHasBeenSet = true; m_contactFlowVersion = value; }
91 inline CreateContactFlowVersionRequest& WithContactFlowVersion(long long value) { SetContactFlowVersion(value); return *this;}
93
95
98 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
99 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
100 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
101 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
102 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
103 CreateContactFlowVersionRequest& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
105
107
110 inline const Aws::String& GetLastModifiedRegion() const { return m_lastModifiedRegion; }
111 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
112 template<typename LastModifiedRegionT = Aws::String>
113 void SetLastModifiedRegion(LastModifiedRegionT&& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value); }
114 template<typename LastModifiedRegionT = Aws::String>
115 CreateContactFlowVersionRequest& WithLastModifiedRegion(LastModifiedRegionT&& value) { SetLastModifiedRegion(std::forward<LastModifiedRegionT>(value)); return *this;}
117 private:
118
119 Aws::String m_instanceId;
120 bool m_instanceIdHasBeenSet = false;
121
122 Aws::String m_description;
123 bool m_descriptionHasBeenSet = false;
124
125 Aws::String m_contactFlowId;
126 bool m_contactFlowIdHasBeenSet = false;
127
128 Aws::String m_flowContentSha256;
129 bool m_flowContentSha256HasBeenSet = false;
130
131 long long m_contactFlowVersion{0};
132 bool m_contactFlowVersionHasBeenSet = false;
133
134 Aws::Utils::DateTime m_lastModifiedTime{};
135 bool m_lastModifiedTimeHasBeenSet = false;
136
137 Aws::String m_lastModifiedRegion;
138 bool m_lastModifiedRegionHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace Connect
143} // 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