AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
53 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
54 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
55 inline ContactFlowSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
56 inline ContactFlowSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
57 inline ContactFlowSummary& WithId(const char* value) { SetId(value); return *this;}
59
61
64 inline const Aws::String& GetArn() const{ return m_arn; }
65 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
66 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
67 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
68 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
69 inline ContactFlowSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
70 inline ContactFlowSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
71 inline ContactFlowSummary& WithArn(const char* value) { SetArn(value); return *this;}
73
75
78 inline const Aws::String& GetName() const{ return m_name; }
79 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
80 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
81 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
82 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
83 inline ContactFlowSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
84 inline ContactFlowSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
85 inline ContactFlowSummary& WithName(const char* value) { SetName(value); return *this;}
87
89
92 inline const ContactFlowType& GetContactFlowType() const{ return m_contactFlowType; }
93 inline bool ContactFlowTypeHasBeenSet() const { return m_contactFlowTypeHasBeenSet; }
94 inline void SetContactFlowType(const ContactFlowType& value) { m_contactFlowTypeHasBeenSet = true; m_contactFlowType = value; }
95 inline void SetContactFlowType(ContactFlowType&& value) { m_contactFlowTypeHasBeenSet = true; m_contactFlowType = std::move(value); }
96 inline ContactFlowSummary& WithContactFlowType(const ContactFlowType& value) { SetContactFlowType(value); return *this;}
97 inline ContactFlowSummary& WithContactFlowType(ContactFlowType&& value) { SetContactFlowType(std::move(value)); return *this;}
99
101
104 inline const ContactFlowState& GetContactFlowState() const{ return m_contactFlowState; }
105 inline bool ContactFlowStateHasBeenSet() const { return m_contactFlowStateHasBeenSet; }
106 inline void SetContactFlowState(const ContactFlowState& value) { m_contactFlowStateHasBeenSet = true; m_contactFlowState = value; }
107 inline void SetContactFlowState(ContactFlowState&& value) { m_contactFlowStateHasBeenSet = true; m_contactFlowState = std::move(value); }
109 inline ContactFlowSummary& WithContactFlowState(ContactFlowState&& value) { SetContactFlowState(std::move(value)); return *this;}
111
113
116 inline const ContactFlowStatus& GetContactFlowStatus() const{ return m_contactFlowStatus; }
117 inline bool ContactFlowStatusHasBeenSet() const { return m_contactFlowStatusHasBeenSet; }
118 inline void SetContactFlowStatus(const ContactFlowStatus& value) { m_contactFlowStatusHasBeenSet = true; m_contactFlowStatus = value; }
119 inline void SetContactFlowStatus(ContactFlowStatus&& value) { m_contactFlowStatusHasBeenSet = true; m_contactFlowStatus = std::move(value); }
121 inline ContactFlowSummary& WithContactFlowStatus(ContactFlowStatus&& value) { SetContactFlowStatus(std::move(value)); return *this;}
123 private:
124
125 Aws::String m_id;
126 bool m_idHasBeenSet = false;
127
128 Aws::String m_arn;
129 bool m_arnHasBeenSet = false;
130
131 Aws::String m_name;
132 bool m_nameHasBeenSet = false;
133
134 ContactFlowType m_contactFlowType;
135 bool m_contactFlowTypeHasBeenSet = false;
136
137 ContactFlowState m_contactFlowState;
138 bool m_contactFlowStateHasBeenSet = false;
139
140 ContactFlowStatus m_contactFlowStatus;
141 bool m_contactFlowStatusHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace Connect
146} // namespace Aws
const ContactFlowState & GetContactFlowState() const
void SetArn(const Aws::String &value)
ContactFlowSummary & WithContactFlowStatus(const ContactFlowStatus &value)
void SetContactFlowType(const ContactFlowType &value)
ContactFlowSummary & WithName(const char *value)
const ContactFlowStatus & GetContactFlowStatus() const
void SetContactFlowStatus(const ContactFlowStatus &value)
ContactFlowSummary & WithId(const Aws::String &value)
ContactFlowSummary & WithName(const Aws::String &value)
ContactFlowSummary & WithId(const char *value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetContactFlowState(const ContactFlowState &value)
ContactFlowSummary & WithName(Aws::String &&value)
ContactFlowSummary & WithContactFlowStatus(ContactFlowStatus &&value)
void SetName(const Aws::String &value)
ContactFlowSummary & WithArn(const char *value)
void SetContactFlowStatus(ContactFlowStatus &&value)
ContactFlowSummary & WithContactFlowState(ContactFlowState &&value)
void SetContactFlowType(ContactFlowType &&value)
AWS_CONNECT_API ContactFlowSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API ContactFlowSummary(Aws::Utils::Json::JsonView jsonValue)
const ContactFlowType & GetContactFlowType() const
ContactFlowSummary & WithArn(const Aws::String &value)
ContactFlowSummary & WithId(Aws::String &&value)
ContactFlowSummary & WithContactFlowType(const ContactFlowType &value)
ContactFlowSummary & WithContactFlowState(const ContactFlowState &value)
void SetContactFlowState(ContactFlowState &&value)
ContactFlowSummary & WithContactFlowType(ContactFlowType &&value)
void SetId(const Aws::String &value)
ContactFlowSummary & WithArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue