AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateViewContentRequest.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/ViewStatus.h>
11#include <aws/connect/model/ViewInputContent.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Connect
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CONNECT_API UpdateViewContentRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateViewContent"; }
33
34 AWS_CONNECT_API Aws::String SerializePayload() const override;
35
36
38
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 UpdateViewContentRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
48 inline UpdateViewContentRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
49 inline UpdateViewContentRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
51
53
57 inline const Aws::String& GetViewId() const{ return m_viewId; }
58 inline bool ViewIdHasBeenSet() const { return m_viewIdHasBeenSet; }
59 inline void SetViewId(const Aws::String& value) { m_viewIdHasBeenSet = true; m_viewId = value; }
60 inline void SetViewId(Aws::String&& value) { m_viewIdHasBeenSet = true; m_viewId = std::move(value); }
61 inline void SetViewId(const char* value) { m_viewIdHasBeenSet = true; m_viewId.assign(value); }
62 inline UpdateViewContentRequest& WithViewId(const Aws::String& value) { SetViewId(value); return *this;}
63 inline UpdateViewContentRequest& WithViewId(Aws::String&& value) { SetViewId(std::move(value)); return *this;}
64 inline UpdateViewContentRequest& WithViewId(const char* value) { SetViewId(value); return *this;}
66
68
73 inline const ViewStatus& GetStatus() const{ return m_status; }
74 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
75 inline void SetStatus(const ViewStatus& value) { m_statusHasBeenSet = true; m_status = value; }
76 inline void SetStatus(ViewStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
77 inline UpdateViewContentRequest& WithStatus(const ViewStatus& value) { SetStatus(value); return *this;}
78 inline UpdateViewContentRequest& WithStatus(ViewStatus&& value) { SetStatus(std::move(value)); return *this;}
80
82
88 inline const ViewInputContent& GetContent() const{ return m_content; }
89 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
90 inline void SetContent(const ViewInputContent& value) { m_contentHasBeenSet = true; m_content = value; }
91 inline void SetContent(ViewInputContent&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
92 inline UpdateViewContentRequest& WithContent(const ViewInputContent& value) { SetContent(value); return *this;}
93 inline UpdateViewContentRequest& WithContent(ViewInputContent&& value) { SetContent(std::move(value)); return *this;}
95 private:
96
97 Aws::String m_instanceId;
98 bool m_instanceIdHasBeenSet = false;
99
100 Aws::String m_viewId;
101 bool m_viewIdHasBeenSet = false;
102
103 ViewStatus m_status;
104 bool m_statusHasBeenSet = false;
105
106 ViewInputContent m_content;
107 bool m_contentHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace Connect
112} // namespace Aws
UpdateViewContentRequest & WithContent(const ViewInputContent &value)
UpdateViewContentRequest & WithViewId(const char *value)
UpdateViewContentRequest & WithInstanceId(const Aws::String &value)
UpdateViewContentRequest & WithStatus(const ViewStatus &value)
UpdateViewContentRequest & WithInstanceId(const char *value)
UpdateViewContentRequest & WithViewId(const Aws::String &value)
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateViewContentRequest & WithContent(ViewInputContent &&value)
UpdateViewContentRequest & WithInstanceId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateViewContentRequest & WithViewId(Aws::String &&value)
UpdateViewContentRequest & WithStatus(ViewStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String