AWS SDK for C++

AWS SDK for C++ Version 1.11.555

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
UpdateContactFlowMetadataRequest.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/ContactFlowState.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Connect
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CONNECT_API UpdateContactFlowMetadataRequest() = default;
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 "UpdateContactFlowMetadata"; }
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 template<typename InstanceIdT = Aws::String>
45 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
46 template<typename InstanceIdT = Aws::String>
47 UpdateContactFlowMetadataRequest& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetContactFlowId() const { return m_contactFlowId; }
55 inline bool ContactFlowIdHasBeenSet() const { return m_contactFlowIdHasBeenSet; }
56 template<typename ContactFlowIdT = Aws::String>
57 void SetContactFlowId(ContactFlowIdT&& value) { m_contactFlowIdHasBeenSet = true; m_contactFlowId = std::forward<ContactFlowIdT>(value); }
58 template<typename ContactFlowIdT = Aws::String>
59 UpdateContactFlowMetadataRequest& WithContactFlowId(ContactFlowIdT&& value) { SetContactFlowId(std::forward<ContactFlowIdT>(value)); return *this;}
61
63
66 inline const Aws::String& GetName() const { return m_name; }
67 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
68 template<typename NameT = Aws::String>
69 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
70 template<typename NameT = Aws::String>
71 UpdateContactFlowMetadataRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
73
75
78 inline const Aws::String& GetDescription() const { return m_description; }
79 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
80 template<typename DescriptionT = Aws::String>
81 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
82 template<typename DescriptionT = Aws::String>
83 UpdateContactFlowMetadataRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
85
87
90 inline ContactFlowState GetContactFlowState() const { return m_contactFlowState; }
91 inline bool ContactFlowStateHasBeenSet() const { return m_contactFlowStateHasBeenSet; }
92 inline void SetContactFlowState(ContactFlowState value) { m_contactFlowStateHasBeenSet = true; m_contactFlowState = value; }
95 private:
96
97 Aws::String m_instanceId;
98 bool m_instanceIdHasBeenSet = false;
99
100 Aws::String m_contactFlowId;
101 bool m_contactFlowIdHasBeenSet = false;
102
103 Aws::String m_name;
104 bool m_nameHasBeenSet = false;
105
106 Aws::String m_description;
107 bool m_descriptionHasBeenSet = false;
108
110 bool m_contactFlowStateHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace Connect
115} // namespace Aws
AWS_CONNECT_API Aws::String SerializePayload() const override
AWS_CONNECT_API UpdateContactFlowMetadataRequest()=default
UpdateContactFlowMetadataRequest & WithDescription(DescriptionT &&value)
UpdateContactFlowMetadataRequest & WithContactFlowId(ContactFlowIdT &&value)
UpdateContactFlowMetadataRequest & WithName(NameT &&value)
UpdateContactFlowMetadataRequest & WithContactFlowState(ContactFlowState value)
UpdateContactFlowMetadataRequest & WithInstanceId(InstanceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String