AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateContactFlowModuleMetadataRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connect/model/ContactFlowModuleState.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Connect
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateContactFlowModuleMetadata"; }
32
33 AWS_CONNECT_API Aws::String SerializePayload() const override;
34
35
37
42 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
43 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
44 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
45 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
46 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
48 inline UpdateContactFlowModuleMetadataRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
49 inline UpdateContactFlowModuleMetadataRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
51
53
56 inline const Aws::String& GetContactFlowModuleId() const{ return m_contactFlowModuleId; }
57 inline bool ContactFlowModuleIdHasBeenSet() const { return m_contactFlowModuleIdHasBeenSet; }
58 inline void SetContactFlowModuleId(const Aws::String& value) { m_contactFlowModuleIdHasBeenSet = true; m_contactFlowModuleId = value; }
59 inline void SetContactFlowModuleId(Aws::String&& value) { m_contactFlowModuleIdHasBeenSet = true; m_contactFlowModuleId = std::move(value); }
60 inline void SetContactFlowModuleId(const char* value) { m_contactFlowModuleIdHasBeenSet = true; m_contactFlowModuleId.assign(value); }
65
67
70 inline const Aws::String& GetName() const{ return m_name; }
71 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
72 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
73 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
74 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
75 inline UpdateContactFlowModuleMetadataRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
76 inline UpdateContactFlowModuleMetadataRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
77 inline UpdateContactFlowModuleMetadataRequest& WithName(const char* value) { SetName(value); return *this;}
79
81
84 inline const Aws::String& GetDescription() const{ return m_description; }
85 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
86 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
87 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
88 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
90 inline UpdateContactFlowModuleMetadataRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
91 inline UpdateContactFlowModuleMetadataRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
93
95
98 inline const ContactFlowModuleState& GetState() const{ return m_state; }
99 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
100 inline void SetState(const ContactFlowModuleState& value) { m_stateHasBeenSet = true; m_state = value; }
101 inline void SetState(ContactFlowModuleState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
103 inline UpdateContactFlowModuleMetadataRequest& WithState(ContactFlowModuleState&& value) { SetState(std::move(value)); return *this;}
105 private:
106
107 Aws::String m_instanceId;
108 bool m_instanceIdHasBeenSet = false;
109
110 Aws::String m_contactFlowModuleId;
111 bool m_contactFlowModuleIdHasBeenSet = false;
112
113 Aws::String m_name;
114 bool m_nameHasBeenSet = false;
115
116 Aws::String m_description;
117 bool m_descriptionHasBeenSet = false;
118
120 bool m_stateHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace Connect
125} // namespace Aws
UpdateContactFlowModuleMetadataRequest & WithContactFlowModuleId(const Aws::String &value)
UpdateContactFlowModuleMetadataRequest & WithState(ContactFlowModuleState &&value)
UpdateContactFlowModuleMetadataRequest & WithInstanceId(const char *value)
UpdateContactFlowModuleMetadataRequest & WithDescription(Aws::String &&value)
UpdateContactFlowModuleMetadataRequest & WithDescription(const char *value)
UpdateContactFlowModuleMetadataRequest & WithState(const ContactFlowModuleState &value)
UpdateContactFlowModuleMetadataRequest & WithName(Aws::String &&value)
UpdateContactFlowModuleMetadataRequest & WithContactFlowModuleId(const char *value)
UpdateContactFlowModuleMetadataRequest & WithName(const char *value)
UpdateContactFlowModuleMetadataRequest & WithInstanceId(Aws::String &&value)
UpdateContactFlowModuleMetadataRequest & WithDescription(const Aws::String &value)
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateContactFlowModuleMetadataRequest & WithContactFlowModuleId(Aws::String &&value)
UpdateContactFlowModuleMetadataRequest & WithName(const Aws::String &value)
UpdateContactFlowModuleMetadataRequest & WithInstanceId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String