AWS SDK for C++  1.9.158
AWS SDK for C++
ContactFlowSummary.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace Connect
24 {
25 namespace Model
26 {
27 
37  {
38  public:
43 
44 
48  inline const Aws::String& GetId() const{ return m_id; }
49 
53  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
54 
58  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
59 
63  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
64 
68  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
69 
73  inline ContactFlowSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
74 
78  inline ContactFlowSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
79 
83  inline ContactFlowSummary& WithId(const char* value) { SetId(value); return *this;}
84 
85 
89  inline const Aws::String& GetArn() const{ return m_arn; }
90 
94  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
95 
99  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
100 
104  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
105 
109  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
110 
114  inline ContactFlowSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
115 
119  inline ContactFlowSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
120 
124  inline ContactFlowSummary& WithArn(const char* value) { SetArn(value); return *this;}
125 
126 
130  inline const Aws::String& GetName() const{ return m_name; }
131 
135  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
136 
140  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
141 
145  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
146 
150  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
151 
155  inline ContactFlowSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
156 
160  inline ContactFlowSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
161 
165  inline ContactFlowSummary& WithName(const char* value) { SetName(value); return *this;}
166 
167 
171  inline const ContactFlowType& GetContactFlowType() const{ return m_contactFlowType; }
172 
176  inline bool ContactFlowTypeHasBeenSet() const { return m_contactFlowTypeHasBeenSet; }
177 
181  inline void SetContactFlowType(const ContactFlowType& value) { m_contactFlowTypeHasBeenSet = true; m_contactFlowType = value; }
182 
186  inline void SetContactFlowType(ContactFlowType&& value) { m_contactFlowTypeHasBeenSet = true; m_contactFlowType = std::move(value); }
187 
191  inline ContactFlowSummary& WithContactFlowType(const ContactFlowType& value) { SetContactFlowType(value); return *this;}
192 
196  inline ContactFlowSummary& WithContactFlowType(ContactFlowType&& value) { SetContactFlowType(std::move(value)); return *this;}
197 
198 
202  inline const ContactFlowState& GetContactFlowState() const{ return m_contactFlowState; }
203 
207  inline bool ContactFlowStateHasBeenSet() const { return m_contactFlowStateHasBeenSet; }
208 
212  inline void SetContactFlowState(const ContactFlowState& value) { m_contactFlowStateHasBeenSet = true; m_contactFlowState = value; }
213 
217  inline void SetContactFlowState(ContactFlowState&& value) { m_contactFlowStateHasBeenSet = true; m_contactFlowState = std::move(value); }
218 
222  inline ContactFlowSummary& WithContactFlowState(const ContactFlowState& value) { SetContactFlowState(value); return *this;}
223 
227  inline ContactFlowSummary& WithContactFlowState(ContactFlowState&& value) { SetContactFlowState(std::move(value)); return *this;}
228 
229  private:
230 
231  Aws::String m_id;
232  bool m_idHasBeenSet;
233 
234  Aws::String m_arn;
235  bool m_arnHasBeenSet;
236 
237  Aws::String m_name;
238  bool m_nameHasBeenSet;
239 
240  ContactFlowType m_contactFlowType;
241  bool m_contactFlowTypeHasBeenSet;
242 
243  ContactFlowState m_contactFlowState;
244  bool m_contactFlowStateHasBeenSet;
245  };
246 
247 } // namespace Model
248 } // namespace Connect
249 } // namespace Aws
Aws::Connect::Model::ContactFlowSummary::NameHasBeenSet
bool NameHasBeenSet() const
Definition: ContactFlowSummary.h:135
Aws::Connect::Model::ContactFlowSummary::WithContactFlowState
ContactFlowSummary & WithContactFlowState(ContactFlowState &&value)
Definition: ContactFlowSummary.h:227
Aws::Connect::Model::ContactFlowSummary::GetArn
const Aws::String & GetArn() const
Definition: ContactFlowSummary.h:89
Aws::Connect::Model::ContactFlowSummary::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: ContactFlowSummary.h:94
Aws::Connect::Model::ContactFlowSummary
Definition: ContactFlowSummary.h:37
Aws::Connect::Model::ContactFlowSummary::SetName
void SetName(const Aws::String &value)
Definition: ContactFlowSummary.h:140
Aws::Connect::Model::ContactFlowSummary::SetArn
void SetArn(const Aws::String &value)
Definition: ContactFlowSummary.h:99
Aws::Connect::Model::ContactFlowSummary::WithName
ContactFlowSummary & WithName(Aws::String &&value)
Definition: ContactFlowSummary.h:160
Aws::Connect::Model::ContactFlowSummary::SetContactFlowState
void SetContactFlowState(ContactFlowState &&value)
Definition: ContactFlowSummary.h:217
Aws::Connect::Model::ContactFlowSummary::GetId
const Aws::String & GetId() const
Definition: ContactFlowSummary.h:48
Aws::Connect::Model::ContactFlowSummary::SetId
void SetId(Aws::String &&value)
Definition: ContactFlowSummary.h:63
Aws::Connect::Model::ContactFlowSummary::SetName
void SetName(const char *value)
Definition: ContactFlowSummary.h:150
Aws::Connect::Model::ContactFlowSummary::WithId
ContactFlowSummary & WithId(const char *value)
Definition: ContactFlowSummary.h:83
Aws::Connect::Model::ContactFlowSummary::SetContactFlowState
void SetContactFlowState(const ContactFlowState &value)
Definition: ContactFlowSummary.h:212
Aws::Connect::Model::ContactFlowSummary::WithArn
ContactFlowSummary & WithArn(const Aws::String &value)
Definition: ContactFlowSummary.h:114
Aws::Connect::Model::ContactFlowSummary::SetId
void SetId(const char *value)
Definition: ContactFlowSummary.h:68
Aws::Connect::Model::ContactFlowType
ContactFlowType
Definition: ContactFlowType.h:17
ContactFlowState.h
Aws::Connect::Model::ContactFlowSummary::WithName
ContactFlowSummary & WithName(const char *value)
Definition: ContactFlowSummary.h:165
Aws::Connect::Model::ContactFlowSummary::WithId
ContactFlowSummary & WithId(const Aws::String &value)
Definition: ContactFlowSummary.h:73
Aws::Connect::Model::ContactFlowSummary::IdHasBeenSet
bool IdHasBeenSet() const
Definition: ContactFlowSummary.h:53
Aws::Connect::Model::ContactFlowSummary::SetArn
void SetArn(Aws::String &&value)
Definition: ContactFlowSummary.h:104
Aws::Connect::Model::ContactFlowSummary::SetContactFlowType
void SetContactFlowType(const ContactFlowType &value)
Definition: ContactFlowSummary.h:181
ContactFlowType.h
Aws::Connect::Model::ContactFlowSummary::WithArn
ContactFlowSummary & WithArn(const char *value)
Definition: ContactFlowSummary.h:124
Aws::Connect::Model::ContactFlowSummary::SetArn
void SetArn(const char *value)
Definition: ContactFlowSummary.h:109
Aws::Connect::Model::ContactFlowState
ContactFlowState
Definition: ContactFlowState.h:17
Aws::Connect::Model::ContactFlowSummary::GetContactFlowType
const ContactFlowType & GetContactFlowType() const
Definition: ContactFlowSummary.h:171
Aws::Connect::Model::ContactFlowSummary::ContactFlowTypeHasBeenSet
bool ContactFlowTypeHasBeenSet() const
Definition: ContactFlowSummary.h:176
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::ContactFlowSummary::operator=
ContactFlowSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::ContactFlowSummary::WithName
ContactFlowSummary & WithName(const Aws::String &value)
Definition: ContactFlowSummary.h:155
Aws::Connect::Model::ContactFlowSummary::SetName
void SetName(Aws::String &&value)
Definition: ContactFlowSummary.h:145
Aws::Connect::Model::ContactFlowSummary::SetId
void SetId(const Aws::String &value)
Definition: ContactFlowSummary.h:58
Aws::Connect::Model::ContactFlowSummary::GetName
const Aws::String & GetName() const
Definition: ContactFlowSummary.h:130
Aws::Connect::Model::ContactFlowSummary::WithId
ContactFlowSummary & WithId(Aws::String &&value)
Definition: ContactFlowSummary.h:78
Aws::Connect::Model::ContactFlowSummary::GetContactFlowState
const ContactFlowState & GetContactFlowState() const
Definition: ContactFlowSummary.h:202
Aws::Connect::Model::ContactFlowSummary::ContactFlowSummary
ContactFlowSummary()
Aws::Connect::Model::ContactFlowSummary::WithContactFlowState
ContactFlowSummary & WithContactFlowState(const ContactFlowState &value)
Definition: ContactFlowSummary.h:222
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::Connect::Model::ContactFlowSummary::WithContactFlowType
ContactFlowSummary & WithContactFlowType(const ContactFlowType &value)
Definition: ContactFlowSummary.h:191
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::ContactFlowSummary::WithArn
ContactFlowSummary & WithArn(Aws::String &&value)
Definition: ContactFlowSummary.h:119
Aws::Connect::Model::ContactFlowSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::ContactFlowSummary::WithContactFlowType
ContactFlowSummary & WithContactFlowType(ContactFlowType &&value)
Definition: ContactFlowSummary.h:196
Connect_EXPORTS.h
Aws::Connect::Model::ContactFlowSummary::ContactFlowStateHasBeenSet
bool ContactFlowStateHasBeenSet() const
Definition: ContactFlowSummary.h:207
Aws::Connect::Model::ContactFlowSummary::SetContactFlowType
void SetContactFlowType(ContactFlowType &&value)
Definition: ContactFlowSummary.h:186
Aws::Connect::Model::ContactFlowSummary::ContactFlowSummary
ContactFlowSummary(Aws::Utils::Json::JsonView jsonValue)