AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateFormRequest.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/amplifyuibuilder/AmplifyUIBuilderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/amplifyuibuilder/model/UpdateFormData.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace AmplifyUIBuilder
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_AMPLIFYUIBUILDER_API UpdateFormRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateForm"; }
37
38 AWS_AMPLIFYUIBUILDER_API Aws::String SerializePayload() const override;
39
40 AWS_AMPLIFYUIBUILDER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
47 inline const Aws::String& GetAppId() const{ return m_appId; }
48 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
49 inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
50 inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
51 inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
52 inline UpdateFormRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
53 inline UpdateFormRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
54 inline UpdateFormRequest& WithAppId(const char* value) { SetAppId(value); return *this;}
56
58
61 inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
62 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
63 inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
64 inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
65 inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
66 inline UpdateFormRequest& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
67 inline UpdateFormRequest& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
68 inline UpdateFormRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
70
72
75 inline const Aws::String& GetId() const{ return m_id; }
76 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
77 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
78 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
79 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
80 inline UpdateFormRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
81 inline UpdateFormRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
82 inline UpdateFormRequest& WithId(const char* value) { SetId(value); return *this;}
84
86
89 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
90 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
91 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
92 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
93 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
94 inline UpdateFormRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
95 inline UpdateFormRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
96 inline UpdateFormRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
98
100
103 inline const UpdateFormData& GetUpdatedForm() const{ return m_updatedForm; }
104 inline bool UpdatedFormHasBeenSet() const { return m_updatedFormHasBeenSet; }
105 inline void SetUpdatedForm(const UpdateFormData& value) { m_updatedFormHasBeenSet = true; m_updatedForm = value; }
106 inline void SetUpdatedForm(UpdateFormData&& value) { m_updatedFormHasBeenSet = true; m_updatedForm = std::move(value); }
107 inline UpdateFormRequest& WithUpdatedForm(const UpdateFormData& value) { SetUpdatedForm(value); return *this;}
108 inline UpdateFormRequest& WithUpdatedForm(UpdateFormData&& value) { SetUpdatedForm(std::move(value)); return *this;}
110 private:
111
112 Aws::String m_appId;
113 bool m_appIdHasBeenSet = false;
114
115 Aws::String m_environmentName;
116 bool m_environmentNameHasBeenSet = false;
117
118 Aws::String m_id;
119 bool m_idHasBeenSet = false;
120
121 Aws::String m_clientToken;
122 bool m_clientTokenHasBeenSet = false;
123
124 UpdateFormData m_updatedForm;
125 bool m_updatedFormHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace AmplifyUIBuilder
130} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateFormRequest & WithEnvironmentName(const char *value)
UpdateFormRequest & WithClientToken(const char *value)
UpdateFormRequest & WithClientToken(Aws::String &&value)
UpdateFormRequest & WithId(const Aws::String &value)
void SetUpdatedForm(const UpdateFormData &value)
UpdateFormRequest & WithAppId(const char *value)
UpdateFormRequest & WithId(Aws::String &&value)
UpdateFormRequest & WithAppId(const Aws::String &value)
AWS_AMPLIFYUIBUILDER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
UpdateFormRequest & WithAppId(Aws::String &&value)
UpdateFormRequest & WithId(const char *value)
UpdateFormRequest & WithUpdatedForm(UpdateFormData &&value)
AWS_AMPLIFYUIBUILDER_API UpdateFormRequest()
UpdateFormRequest & WithEnvironmentName(const Aws::String &value)
UpdateFormRequest & WithClientToken(const Aws::String &value)
AWS_AMPLIFYUIBUILDER_API Aws::String SerializePayload() const override
void SetEnvironmentName(const Aws::String &value)
UpdateFormRequest & WithUpdatedForm(const UpdateFormData &value)
UpdateFormRequest & WithEnvironmentName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String