AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateContactFlowModuleContentRequest.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 "UpdateContactFlowModuleContent"; }
31
32 AWS_CONNECT_API Aws::String SerializePayload() const override;
33
34
36
41 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
42 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
43 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
44 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
45 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
47 inline UpdateContactFlowModuleContentRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
48 inline UpdateContactFlowModuleContentRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
50
52
55 inline const Aws::String& GetContactFlowModuleId() const{ return m_contactFlowModuleId; }
56 inline bool ContactFlowModuleIdHasBeenSet() const { return m_contactFlowModuleIdHasBeenSet; }
57 inline void SetContactFlowModuleId(const Aws::String& value) { m_contactFlowModuleIdHasBeenSet = true; m_contactFlowModuleId = value; }
58 inline void SetContactFlowModuleId(Aws::String&& value) { m_contactFlowModuleIdHasBeenSet = true; m_contactFlowModuleId = std::move(value); }
59 inline void SetContactFlowModuleId(const char* value) { m_contactFlowModuleIdHasBeenSet = true; m_contactFlowModuleId.assign(value); }
64
66
72 inline const Aws::String& GetContent() const{ return m_content; }
73 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
74 inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
75 inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
76 inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
77 inline UpdateContactFlowModuleContentRequest& WithContent(const Aws::String& value) { SetContent(value); return *this;}
78 inline UpdateContactFlowModuleContentRequest& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
79 inline UpdateContactFlowModuleContentRequest& WithContent(const char* value) { SetContent(value); return *this;}
81 private:
82
83 Aws::String m_instanceId;
84 bool m_instanceIdHasBeenSet = false;
85
86 Aws::String m_contactFlowModuleId;
87 bool m_contactFlowModuleIdHasBeenSet = false;
88
89 Aws::String m_content;
90 bool m_contentHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Connect
95} // namespace Aws
UpdateContactFlowModuleContentRequest & WithInstanceId(Aws::String &&value)
UpdateContactFlowModuleContentRequest & WithInstanceId(const Aws::String &value)
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateContactFlowModuleContentRequest & WithContent(Aws::String &&value)
UpdateContactFlowModuleContentRequest & WithContent(const Aws::String &value)
UpdateContactFlowModuleContentRequest & WithContent(const char *value)
UpdateContactFlowModuleContentRequest & WithInstanceId(const char *value)
UpdateContactFlowModuleContentRequest & WithContactFlowModuleId(const char *value)
UpdateContactFlowModuleContentRequest & WithContactFlowModuleId(const Aws::String &value)
UpdateContactFlowModuleContentRequest & WithContactFlowModuleId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String