AWS SDK for C++

AWS SDK for C++ Version 1.11.930

Loading...
Searching...
No Matches
ContactFlowAliasSummary.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
30 public:
31 AWS_CONNECT_API ContactFlowAliasSummary() = default;
34 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
42 template <typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) {
44 m_arnHasBeenSet = true;
45 m_arn = std::forward<ArnT>(value);
46 }
47 template <typename ArnT = Aws::String>
49 SetArn(std::forward<ArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetAliasId() const { return m_aliasId; }
59 inline bool AliasIdHasBeenSet() const { return m_aliasIdHasBeenSet; }
60 template <typename AliasIdT = Aws::String>
61 void SetAliasId(AliasIdT&& value) {
62 m_aliasIdHasBeenSet = true;
63 m_aliasId = std::forward<AliasIdT>(value);
64 }
65 template <typename AliasIdT = Aws::String>
67 SetAliasId(std::forward<AliasIdT>(value));
68 return *this;
69 }
71
73
76 inline long long GetVersion() const { return m_version; }
77 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
78 inline void SetVersion(long long value) {
79 m_versionHasBeenSet = true;
80 m_version = value;
81 }
82 inline ContactFlowAliasSummary& WithVersion(long long value) {
83 SetVersion(value);
84 return *this;
85 }
87
89
92 inline const Aws::String& GetAliasName() const { return m_aliasName; }
93 inline bool AliasNameHasBeenSet() const { return m_aliasNameHasBeenSet; }
94 template <typename AliasNameT = Aws::String>
95 void SetAliasName(AliasNameT&& value) {
96 m_aliasNameHasBeenSet = true;
97 m_aliasName = std::forward<AliasNameT>(value);
98 }
99 template <typename AliasNameT = Aws::String>
101 SetAliasName(std::forward<AliasNameT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetAliasDescription() const { return m_aliasDescription; }
111 inline bool AliasDescriptionHasBeenSet() const { return m_aliasDescriptionHasBeenSet; }
112 template <typename AliasDescriptionT = Aws::String>
113 void SetAliasDescription(AliasDescriptionT&& value) {
114 m_aliasDescriptionHasBeenSet = true;
115 m_aliasDescription = std::forward<AliasDescriptionT>(value);
116 }
117 template <typename AliasDescriptionT = Aws::String>
118 ContactFlowAliasSummary& WithAliasDescription(AliasDescriptionT&& value) {
119 SetAliasDescription(std::forward<AliasDescriptionT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
129 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
130 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
131 void SetLastModifiedTime(LastModifiedTimeT&& value) {
132 m_lastModifiedTimeHasBeenSet = true;
133 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
134 }
135 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
136 ContactFlowAliasSummary& WithLastModifiedTime(LastModifiedTimeT&& value) {
137 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::String& GetLastModifiedRegion() const { return m_lastModifiedRegion; }
147 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
148 template <typename LastModifiedRegionT = Aws::String>
149 void SetLastModifiedRegion(LastModifiedRegionT&& value) {
150 m_lastModifiedRegionHasBeenSet = true;
151 m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value);
152 }
153 template <typename LastModifiedRegionT = Aws::String>
154 ContactFlowAliasSummary& WithLastModifiedRegion(LastModifiedRegionT&& value) {
155 SetLastModifiedRegion(std::forward<LastModifiedRegionT>(value));
156 return *this;
157 }
159 private:
160 Aws::String m_arn;
161
162 Aws::String m_aliasId;
163
164 long long m_version{0};
165
166 Aws::String m_aliasName;
167
168 Aws::String m_aliasDescription;
169
170 Aws::Utils::DateTime m_lastModifiedTime{};
171
172 Aws::String m_lastModifiedRegion;
173 bool m_arnHasBeenSet = false;
174 bool m_aliasIdHasBeenSet = false;
175 bool m_versionHasBeenSet = false;
176 bool m_aliasNameHasBeenSet = false;
177 bool m_aliasDescriptionHasBeenSet = false;
178 bool m_lastModifiedTimeHasBeenSet = false;
179 bool m_lastModifiedRegionHasBeenSet = false;
180};
181
182} // namespace Model
183} // namespace Connect
184} // namespace Aws
ContactFlowAliasSummary & WithAliasName(AliasNameT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ContactFlowAliasSummary & WithAliasId(AliasIdT &&value)
ContactFlowAliasSummary & WithArn(ArnT &&value)
ContactFlowAliasSummary & WithLastModifiedRegion(LastModifiedRegionT &&value)
ContactFlowAliasSummary & WithVersion(long long value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_CONNECT_API ContactFlowAliasSummary()=default
void SetLastModifiedRegion(LastModifiedRegionT &&value)
AWS_CONNECT_API ContactFlowAliasSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ContactFlowAliasSummary & WithAliasDescription(AliasDescriptionT &&value)
ContactFlowAliasSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_CONNECT_API ContactFlowAliasSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue