AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ContactFlowModuleSummary.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/ContactFlowModuleState.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CONNECT_API ContactFlowModuleSummary() = default;
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetId() const { return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 template<typename IdT = Aws::String>
48 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
49 template<typename IdT = Aws::String>
50 ContactFlowModuleSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetArn() const { return m_arn; }
58 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
59 template<typename ArnT = Aws::String>
60 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
61 template<typename ArnT = Aws::String>
62 ContactFlowModuleSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
64
66
69 inline const Aws::String& GetName() const { return m_name; }
70 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
71 template<typename NameT = Aws::String>
72 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
73 template<typename NameT = Aws::String>
74 ContactFlowModuleSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
76
78
81 inline ContactFlowModuleState GetState() const { return m_state; }
82 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
83 inline void SetState(ContactFlowModuleState value) { m_stateHasBeenSet = true; m_state = value; }
84 inline ContactFlowModuleSummary& WithState(ContactFlowModuleState value) { SetState(value); return *this;}
86 private:
87
88 Aws::String m_id;
89 bool m_idHasBeenSet = false;
90
91 Aws::String m_arn;
92 bool m_arnHasBeenSet = false;
93
94 Aws::String m_name;
95 bool m_nameHasBeenSet = false;
96
98 bool m_stateHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace Connect
103} // namespace Aws
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ContactFlowModuleSummary & WithArn(ArnT &&value)
AWS_CONNECT_API ContactFlowModuleSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ContactFlowModuleSummary & WithName(NameT &&value)
AWS_CONNECT_API ContactFlowModuleSummary()=default
AWS_CONNECT_API ContactFlowModuleSummary(Aws::Utils::Json::JsonView jsonValue)
ContactFlowModuleSummary & WithState(ContactFlowModuleState value)
ContactFlowModuleSummary & WithId(IdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue