AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ContactFlowModuleAliasSummary.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 ContactFlowModuleAliasSummary() = default;
33 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetArn() const { return m_arn; }
40 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
41 template <typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) {
43 m_arnHasBeenSet = true;
44 m_arn = std::forward<ArnT>(value);
45 }
46 template <typename ArnT = Aws::String>
48 SetArn(std::forward<ArnT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetAliasId() const { return m_aliasId; }
58 inline bool AliasIdHasBeenSet() const { return m_aliasIdHasBeenSet; }
59 template <typename AliasIdT = Aws::String>
60 void SetAliasId(AliasIdT&& value) {
61 m_aliasIdHasBeenSet = true;
62 m_aliasId = std::forward<AliasIdT>(value);
63 }
64 template <typename AliasIdT = Aws::String>
66 SetAliasId(std::forward<AliasIdT>(value));
67 return *this;
68 }
70
72
75 inline long long GetVersion() const { return m_version; }
76 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
77 inline void SetVersion(long long value) {
78 m_versionHasBeenSet = true;
79 m_version = value;
80 }
81 inline ContactFlowModuleAliasSummary& WithVersion(long long value) {
82 SetVersion(value);
83 return *this;
84 }
86
88
91 inline const Aws::String& GetAliasName() const { return m_aliasName; }
92 inline bool AliasNameHasBeenSet() const { return m_aliasNameHasBeenSet; }
93 template <typename AliasNameT = Aws::String>
94 void SetAliasName(AliasNameT&& value) {
95 m_aliasNameHasBeenSet = true;
96 m_aliasName = std::forward<AliasNameT>(value);
97 }
98 template <typename AliasNameT = Aws::String>
100 SetAliasName(std::forward<AliasNameT>(value));
101 return *this;
102 }
104
106
109 inline const Aws::String& GetAliasDescription() const { return m_aliasDescription; }
110 inline bool AliasDescriptionHasBeenSet() const { return m_aliasDescriptionHasBeenSet; }
111 template <typename AliasDescriptionT = Aws::String>
112 void SetAliasDescription(AliasDescriptionT&& value) {
113 m_aliasDescriptionHasBeenSet = true;
114 m_aliasDescription = std::forward<AliasDescriptionT>(value);
115 }
116 template <typename AliasDescriptionT = Aws::String>
118 SetAliasDescription(std::forward<AliasDescriptionT>(value));
119 return *this;
120 }
122
124
127 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
128 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
129 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
130 void SetLastModifiedTime(LastModifiedTimeT&& value) {
131 m_lastModifiedTimeHasBeenSet = true;
132 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
133 }
134 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
136 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
137 return *this;
138 }
140 private:
141 Aws::String m_arn;
142
143 Aws::String m_aliasId;
144
145 long long m_version{0};
146
147 Aws::String m_aliasName;
148
149 Aws::String m_aliasDescription;
150
151 Aws::Utils::DateTime m_lastModifiedTime{};
152 bool m_arnHasBeenSet = false;
153 bool m_aliasIdHasBeenSet = false;
154 bool m_versionHasBeenSet = false;
155 bool m_aliasNameHasBeenSet = false;
156 bool m_aliasDescriptionHasBeenSet = false;
157 bool m_lastModifiedTimeHasBeenSet = false;
158};
159
160} // namespace Model
161} // namespace Connect
162} // namespace Aws
AWS_CONNECT_API ContactFlowModuleAliasSummary()=default
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API ContactFlowModuleAliasSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API ContactFlowModuleAliasSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ContactFlowModuleAliasSummary & WithAliasDescription(AliasDescriptionT &&value)
ContactFlowModuleAliasSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
ContactFlowModuleAliasSummary & WithArn(ArnT &&value)
ContactFlowModuleAliasSummary & WithAliasId(AliasIdT &&value)
ContactFlowModuleAliasSummary & WithAliasName(AliasNameT &&value)
ContactFlowModuleAliasSummary & WithVersion(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue