AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateContactFlowNameRequest.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 <utility>
11
12namespace Aws
13{
14namespace Connect
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateContactFlowName"; }
31
32 AWS_CONNECT_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
40 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
41 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
42 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
43 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
44 inline UpdateContactFlowNameRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
45 inline UpdateContactFlowNameRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
46 inline UpdateContactFlowNameRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
48
50
53 inline const Aws::String& GetContactFlowId() const{ return m_contactFlowId; }
54 inline bool ContactFlowIdHasBeenSet() const { return m_contactFlowIdHasBeenSet; }
55 inline void SetContactFlowId(const Aws::String& value) { m_contactFlowIdHasBeenSet = true; m_contactFlowId = value; }
56 inline void SetContactFlowId(Aws::String&& value) { m_contactFlowIdHasBeenSet = true; m_contactFlowId = std::move(value); }
57 inline void SetContactFlowId(const char* value) { m_contactFlowIdHasBeenSet = true; m_contactFlowId.assign(value); }
58 inline UpdateContactFlowNameRequest& WithContactFlowId(const Aws::String& value) { SetContactFlowId(value); return *this;}
59 inline UpdateContactFlowNameRequest& WithContactFlowId(Aws::String&& value) { SetContactFlowId(std::move(value)); return *this;}
60 inline UpdateContactFlowNameRequest& WithContactFlowId(const char* value) { SetContactFlowId(value); return *this;}
62
64
67 inline const Aws::String& GetName() const{ return m_name; }
68 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
69 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
70 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
71 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
72 inline UpdateContactFlowNameRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
73 inline UpdateContactFlowNameRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
74 inline UpdateContactFlowNameRequest& WithName(const char* value) { SetName(value); return *this;}
76
78
81 inline const Aws::String& GetDescription() const{ return m_description; }
82 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
83 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
84 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
85 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
86 inline UpdateContactFlowNameRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
87 inline UpdateContactFlowNameRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
88 inline UpdateContactFlowNameRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
90 private:
91
92 Aws::String m_instanceId;
93 bool m_instanceIdHasBeenSet = false;
94
95 Aws::String m_contactFlowId;
96 bool m_contactFlowIdHasBeenSet = false;
97
98 Aws::String m_name;
99 bool m_nameHasBeenSet = false;
100
101 Aws::String m_description;
102 bool m_descriptionHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace Connect
107} // namespace Aws
UpdateContactFlowNameRequest & WithContactFlowId(Aws::String &&value)
UpdateContactFlowNameRequest & WithContactFlowId(const char *value)
UpdateContactFlowNameRequest & WithInstanceId(const char *value)
UpdateContactFlowNameRequest & WithName(const char *value)
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateContactFlowNameRequest & WithName(Aws::String &&value)
UpdateContactFlowNameRequest & WithDescription(const Aws::String &value)
UpdateContactFlowNameRequest & WithInstanceId(const Aws::String &value)
UpdateContactFlowNameRequest & WithContactFlowId(const Aws::String &value)
UpdateContactFlowNameRequest & WithDescription(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateContactFlowNameRequest & WithInstanceId(Aws::String &&value)
UpdateContactFlowNameRequest & WithDescription(const char *value)
UpdateContactFlowNameRequest & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String