AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
48 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
49 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
50 inline ContactFlowModuleSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
51 inline ContactFlowModuleSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
52 inline ContactFlowModuleSummary& WithId(const char* value) { SetId(value); return *this;}
54
56
59 inline const Aws::String& GetArn() const{ return m_arn; }
60 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
61 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
62 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
63 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
64 inline ContactFlowModuleSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
65 inline ContactFlowModuleSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
66 inline ContactFlowModuleSummary& WithArn(const char* value) { SetArn(value); return *this;}
68
70
73 inline const Aws::String& GetName() const{ return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
76 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
77 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
78 inline ContactFlowModuleSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
79 inline ContactFlowModuleSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
80 inline ContactFlowModuleSummary& WithName(const char* value) { SetName(value); return *this;}
82
84
87 inline const ContactFlowModuleState& GetState() const{ return m_state; }
88 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
89 inline void SetState(const ContactFlowModuleState& value) { m_stateHasBeenSet = true; m_state = value; }
90 inline void SetState(ContactFlowModuleState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
91 inline ContactFlowModuleSummary& WithState(const ContactFlowModuleState& value) { SetState(value); return *this;}
92 inline ContactFlowModuleSummary& WithState(ContactFlowModuleState&& value) { SetState(std::move(value)); return *this;}
94 private:
95
96 Aws::String m_id;
97 bool m_idHasBeenSet = false;
98
99 Aws::String m_arn;
100 bool m_arnHasBeenSet = false;
101
102 Aws::String m_name;
103 bool m_nameHasBeenSet = false;
104
106 bool m_stateHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace Connect
111} // namespace Aws
ContactFlowModuleSummary & WithName(const char *value)
ContactFlowModuleSummary & WithState(ContactFlowModuleState &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ContactFlowModuleSummary & WithId(const Aws::String &value)
ContactFlowModuleSummary & WithId(Aws::String &&value)
ContactFlowModuleSummary & WithState(const ContactFlowModuleState &value)
ContactFlowModuleSummary & WithName(Aws::String &&value)
ContactFlowModuleSummary & WithArn(Aws::String &&value)
ContactFlowModuleSummary & WithId(const char *value)
ContactFlowModuleSummary & WithArn(const Aws::String &value)
ContactFlowModuleSummary & WithArn(const char *value)
ContactFlowModuleSummary & WithName(const Aws::String &value)
AWS_CONNECT_API ContactFlowModuleSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetState(const ContactFlowModuleState &value)
const ContactFlowModuleState & GetState() const
AWS_CONNECT_API ContactFlowModuleSummary(Aws::Utils::Json::JsonView jsonValue)
void SetState(ContactFlowModuleState &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue