AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 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); }
47 inline UpdateContactFlowMetadataRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
48 inline UpdateContactFlowMetadataRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
49 inline UpdateContactFlowMetadataRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
51
53
56 inline const Aws::String& GetContactFlowId() const{ return m_contactFlowId; }
57 inline bool ContactFlowIdHasBeenSet() const { return m_contactFlowIdHasBeenSet; }
58 inline void SetContactFlowId(const Aws::String& value) { m_contactFlowIdHasBeenSet = true; m_contactFlowId = value; }
59 inline void SetContactFlowId(Aws::String&& value) { m_contactFlowIdHasBeenSet = true; m_contactFlowId = std::move(value); }
60 inline void SetContactFlowId(const char* value) { m_contactFlowIdHasBeenSet = true; m_contactFlowId.assign(value); }
62 inline UpdateContactFlowMetadataRequest& WithContactFlowId(Aws::String&& value) { SetContactFlowId(std::move(value)); return *this;}
63 inline UpdateContactFlowMetadataRequest& WithContactFlowId(const char* value) { SetContactFlowId(value); return *this;}
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 UpdateContactFlowMetadataRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
76 inline UpdateContactFlowMetadataRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
77 inline UpdateContactFlowMetadataRequest& 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); }
89 inline UpdateContactFlowMetadataRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
90 inline UpdateContactFlowMetadataRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
91 inline UpdateContactFlowMetadataRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
93
95
98 inline const ContactFlowState& GetContactFlowState() const{ return m_contactFlowState; }
99 inline bool ContactFlowStateHasBeenSet() const { return m_contactFlowStateHasBeenSet; }
100 inline void SetContactFlowState(const ContactFlowState& value) { m_contactFlowStateHasBeenSet = true; m_contactFlowState = value; }
101 inline void SetContactFlowState(ContactFlowState&& value) { m_contactFlowStateHasBeenSet = true; m_contactFlowState = std::move(value); }
105 private:
106
107 Aws::String m_instanceId;
108 bool m_instanceIdHasBeenSet = false;
109
110 Aws::String m_contactFlowId;
111 bool m_contactFlowIdHasBeenSet = false;
112
113 Aws::String m_name;
114 bool m_nameHasBeenSet = false;
115
116 Aws::String m_description;
117 bool m_descriptionHasBeenSet = false;
118
119 ContactFlowState m_contactFlowState;
120 bool m_contactFlowStateHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace Connect
125} // namespace Aws
UpdateContactFlowMetadataRequest & WithInstanceId(Aws::String &&value)
UpdateContactFlowMetadataRequest & WithDescription(const Aws::String &value)
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateContactFlowMetadataRequest & WithContactFlowId(const char *value)
UpdateContactFlowMetadataRequest & WithContactFlowId(const Aws::String &value)
UpdateContactFlowMetadataRequest & WithDescription(const char *value)
UpdateContactFlowMetadataRequest & WithName(const Aws::String &value)
UpdateContactFlowMetadataRequest & WithName(const char *value)
UpdateContactFlowMetadataRequest & WithInstanceId(const char *value)
UpdateContactFlowMetadataRequest & WithContactFlowState(const ContactFlowState &value)
UpdateContactFlowMetadataRequest & WithContactFlowState(ContactFlowState &&value)
UpdateContactFlowMetadataRequest & WithInstanceId(const Aws::String &value)
UpdateContactFlowMetadataRequest & WithContactFlowId(Aws::String &&value)
UpdateContactFlowMetadataRequest & WithDescription(Aws::String &&value)
UpdateContactFlowMetadataRequest & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String