AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
ContactFlowSummary.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/ContactFlowState.h>
9#include <aws/connect/model/ContactFlowStatus.h>
10#include <aws/connect/model/ContactFlowType.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect {
23namespace Model {
24
34 public:
35 AWS_CONNECT_API ContactFlowSummary() = default;
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetId() const { return m_id; }
45 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
46 template <typename IdT = Aws::String>
47 void SetId(IdT&& value) {
48 m_idHasBeenSet = true;
49 m_id = std::forward<IdT>(value);
50 }
51 template <typename IdT = Aws::String>
52 ContactFlowSummary& WithId(IdT&& value) {
53 SetId(std::forward<IdT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetArn() const { return m_arn; }
63 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
64 template <typename ArnT = Aws::String>
65 void SetArn(ArnT&& value) {
66 m_arnHasBeenSet = true;
67 m_arn = std::forward<ArnT>(value);
68 }
69 template <typename ArnT = Aws::String>
70 ContactFlowSummary& WithArn(ArnT&& value) {
71 SetArn(std::forward<ArnT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetName() const { return m_name; }
81 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
82 template <typename NameT = Aws::String>
83 void SetName(NameT&& value) {
84 m_nameHasBeenSet = true;
85 m_name = std::forward<NameT>(value);
86 }
87 template <typename NameT = Aws::String>
88 ContactFlowSummary& WithName(NameT&& value) {
89 SetName(std::forward<NameT>(value));
90 return *this;
91 }
93
95
98 inline ContactFlowType GetContactFlowType() const { return m_contactFlowType; }
99 inline bool ContactFlowTypeHasBeenSet() const { return m_contactFlowTypeHasBeenSet; }
101 m_contactFlowTypeHasBeenSet = true;
102 m_contactFlowType = value;
103 }
105 SetContactFlowType(value);
106 return *this;
107 }
109
111
114 inline ContactFlowState GetContactFlowState() const { return m_contactFlowState; }
115 inline bool ContactFlowStateHasBeenSet() const { return m_contactFlowStateHasBeenSet; }
117 m_contactFlowStateHasBeenSet = true;
118 m_contactFlowState = value;
119 }
121 SetContactFlowState(value);
122 return *this;
123 }
125
127
130 inline ContactFlowStatus GetContactFlowStatus() const { return m_contactFlowStatus; }
131 inline bool ContactFlowStatusHasBeenSet() const { return m_contactFlowStatusHasBeenSet; }
133 m_contactFlowStatusHasBeenSet = true;
134 m_contactFlowStatus = value;
135 }
138 return *this;
139 }
141 private:
142 Aws::String m_id;
143
144 Aws::String m_arn;
145
146 Aws::String m_name;
147
148 ContactFlowType m_contactFlowType{ContactFlowType::NOT_SET};
149
151
153 bool m_idHasBeenSet = false;
154 bool m_arnHasBeenSet = false;
155 bool m_nameHasBeenSet = false;
156 bool m_contactFlowTypeHasBeenSet = false;
157 bool m_contactFlowStateHasBeenSet = false;
158 bool m_contactFlowStatusHasBeenSet = false;
159};
160
161} // namespace Model
162} // namespace Connect
163} // namespace Aws
ContactFlowSummary & WithContactFlowState(ContactFlowState value)
void SetContactFlowState(ContactFlowState value)
ContactFlowSummary & WithContactFlowStatus(ContactFlowStatus value)
ContactFlowStatus GetContactFlowStatus() const
ContactFlowSummary & WithId(IdT &&value)
ContactFlowSummary & WithArn(ArnT &&value)
void SetContactFlowType(ContactFlowType value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetContactFlowStatus(ContactFlowStatus value)
AWS_CONNECT_API ContactFlowSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API ContactFlowSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API ContactFlowSummary()=default
ContactFlowSummary & WithContactFlowType(ContactFlowType value)
ContactFlowSummary & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue