AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ContactFlowSummary.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/ContactFlowType.h>
10#include <aws/connect/model/ContactFlowState.h>
11#include <aws/connect/model/ContactFlowStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Connect
25{
26namespace Model
27{
28
38 {
39 public:
40 AWS_CONNECT_API ContactFlowSummary() = default;
43 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetId() const { return m_id; }
51 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
52 template<typename IdT = Aws::String>
53 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
54 template<typename IdT = Aws::String>
55 ContactFlowSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
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) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
66 template<typename ArnT = Aws::String>
67 ContactFlowSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
69
71
74 inline const Aws::String& GetName() const { return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 template<typename NameT = Aws::String>
77 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
78 template<typename NameT = Aws::String>
79 ContactFlowSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
81
83
86 inline ContactFlowType GetContactFlowType() const { return m_contactFlowType; }
87 inline bool ContactFlowTypeHasBeenSet() const { return m_contactFlowTypeHasBeenSet; }
88 inline void SetContactFlowType(ContactFlowType value) { m_contactFlowTypeHasBeenSet = true; m_contactFlowType = value; }
91
93
96 inline ContactFlowState GetContactFlowState() const { return m_contactFlowState; }
97 inline bool ContactFlowStateHasBeenSet() const { return m_contactFlowStateHasBeenSet; }
98 inline void SetContactFlowState(ContactFlowState value) { m_contactFlowStateHasBeenSet = true; m_contactFlowState = value; }
101
103
106 inline ContactFlowStatus GetContactFlowStatus() const { return m_contactFlowStatus; }
107 inline bool ContactFlowStatusHasBeenSet() const { return m_contactFlowStatusHasBeenSet; }
108 inline void SetContactFlowStatus(ContactFlowStatus value) { m_contactFlowStatusHasBeenSet = true; m_contactFlowStatus = value; }
111 private:
112
113 Aws::String m_id;
114 bool m_idHasBeenSet = false;
115
116 Aws::String m_arn;
117 bool m_arnHasBeenSet = false;
118
119 Aws::String m_name;
120 bool m_nameHasBeenSet = false;
121
122 ContactFlowType m_contactFlowType{ContactFlowType::NOT_SET};
123 bool m_contactFlowTypeHasBeenSet = false;
124
126 bool m_contactFlowStateHasBeenSet = false;
127
129 bool m_contactFlowStatusHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace Connect
134} // 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