AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ContactFlowModuleAliasInfo.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Connect {
21namespace Model {
22
29 public:
30 AWS_CONNECT_API ContactFlowModuleAliasInfo() = default;
33 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetContactFlowModuleId() const { return m_contactFlowModuleId; }
40 inline bool ContactFlowModuleIdHasBeenSet() const { return m_contactFlowModuleIdHasBeenSet; }
41 template <typename ContactFlowModuleIdT = Aws::String>
42 void SetContactFlowModuleId(ContactFlowModuleIdT&& value) {
43 m_contactFlowModuleIdHasBeenSet = true;
44 m_contactFlowModuleId = std::forward<ContactFlowModuleIdT>(value);
45 }
46 template <typename ContactFlowModuleIdT = Aws::String>
47 ContactFlowModuleAliasInfo& WithContactFlowModuleId(ContactFlowModuleIdT&& value) {
48 SetContactFlowModuleId(std::forward<ContactFlowModuleIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetContactFlowModuleArn() const { return m_contactFlowModuleArn; }
58 inline bool ContactFlowModuleArnHasBeenSet() const { return m_contactFlowModuleArnHasBeenSet; }
59 template <typename ContactFlowModuleArnT = Aws::String>
60 void SetContactFlowModuleArn(ContactFlowModuleArnT&& value) {
61 m_contactFlowModuleArnHasBeenSet = true;
62 m_contactFlowModuleArn = std::forward<ContactFlowModuleArnT>(value);
63 }
64 template <typename ContactFlowModuleArnT = Aws::String>
65 ContactFlowModuleAliasInfo& WithContactFlowModuleArn(ContactFlowModuleArnT&& value) {
66 SetContactFlowModuleArn(std::forward<ContactFlowModuleArnT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetAliasId() const { return m_aliasId; }
76 inline bool AliasIdHasBeenSet() const { return m_aliasIdHasBeenSet; }
77 template <typename AliasIdT = Aws::String>
78 void SetAliasId(AliasIdT&& value) {
79 m_aliasIdHasBeenSet = true;
80 m_aliasId = std::forward<AliasIdT>(value);
81 }
82 template <typename AliasIdT = Aws::String>
84 SetAliasId(std::forward<AliasIdT>(value));
85 return *this;
86 }
88
90
93 inline long long GetVersion() const { return m_version; }
94 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
95 inline void SetVersion(long long value) {
96 m_versionHasBeenSet = true;
97 m_version = value;
98 }
99 inline ContactFlowModuleAliasInfo& WithVersion(long long value) {
100 SetVersion(value);
101 return *this;
102 }
104
106
109 inline const Aws::String& GetName() const { return m_name; }
110 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
111 template <typename NameT = Aws::String>
112 void SetName(NameT&& value) {
113 m_nameHasBeenSet = true;
114 m_name = std::forward<NameT>(value);
115 }
116 template <typename NameT = Aws::String>
118 SetName(std::forward<NameT>(value));
119 return *this;
120 }
122
124
127 inline const Aws::String& GetDescription() const { return m_description; }
128 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
129 template <typename DescriptionT = Aws::String>
130 void SetDescription(DescriptionT&& value) {
131 m_descriptionHasBeenSet = true;
132 m_description = std::forward<DescriptionT>(value);
133 }
134 template <typename DescriptionT = Aws::String>
136 SetDescription(std::forward<DescriptionT>(value));
137 return *this;
138 }
140
142
145 inline const Aws::String& GetLastModifiedRegion() const { return m_lastModifiedRegion; }
146 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
147 template <typename LastModifiedRegionT = Aws::String>
148 void SetLastModifiedRegion(LastModifiedRegionT&& value) {
149 m_lastModifiedRegionHasBeenSet = true;
150 m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value);
151 }
152 template <typename LastModifiedRegionT = Aws::String>
154 SetLastModifiedRegion(std::forward<LastModifiedRegionT>(value));
155 return *this;
156 }
158
160
163 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
164 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
165 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
166 void SetLastModifiedTime(LastModifiedTimeT&& value) {
167 m_lastModifiedTimeHasBeenSet = true;
168 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
169 }
170 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
172 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
173 return *this;
174 }
176 private:
177 Aws::String m_contactFlowModuleId;
178
179 Aws::String m_contactFlowModuleArn;
180
181 Aws::String m_aliasId;
182
183 long long m_version{0};
184
185 Aws::String m_name;
186
187 Aws::String m_description;
188
189 Aws::String m_lastModifiedRegion;
190
191 Aws::Utils::DateTime m_lastModifiedTime{};
192 bool m_contactFlowModuleIdHasBeenSet = false;
193 bool m_contactFlowModuleArnHasBeenSet = false;
194 bool m_aliasIdHasBeenSet = false;
195 bool m_versionHasBeenSet = false;
196 bool m_nameHasBeenSet = false;
197 bool m_descriptionHasBeenSet = false;
198 bool m_lastModifiedRegionHasBeenSet = false;
199 bool m_lastModifiedTimeHasBeenSet = false;
200};
201
202} // namespace Model
203} // namespace Connect
204} // namespace Aws
AWS_CONNECT_API ContactFlowModuleAliasInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
ContactFlowModuleAliasInfo & WithDescription(DescriptionT &&value)
ContactFlowModuleAliasInfo & WithLastModifiedRegion(LastModifiedRegionT &&value)
ContactFlowModuleAliasInfo & WithLastModifiedTime(LastModifiedTimeT &&value)
ContactFlowModuleAliasInfo & WithContactFlowModuleId(ContactFlowModuleIdT &&value)
ContactFlowModuleAliasInfo & WithAliasId(AliasIdT &&value)
ContactFlowModuleAliasInfo & WithName(NameT &&value)
AWS_CONNECT_API ContactFlowModuleAliasInfo()=default
void SetContactFlowModuleArn(ContactFlowModuleArnT &&value)
void SetContactFlowModuleId(ContactFlowModuleIdT &&value)
ContactFlowModuleAliasInfo & WithContactFlowModuleArn(ContactFlowModuleArnT &&value)
AWS_CONNECT_API ContactFlowModuleAliasInfo(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ContactFlowModuleAliasInfo & WithVersion(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue