AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartCodegenJobRequest.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/StartCodegenJobData.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 StartCodegenJobRequest();
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 "StartCodegenJob"; }
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 StartCodegenJobRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
53 inline StartCodegenJobRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
54 inline StartCodegenJobRequest& 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 StartCodegenJobRequest& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;}
67 inline StartCodegenJobRequest& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;}
68 inline StartCodegenJobRequest& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
70
72
76 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
77 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
78 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
79 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
80 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
81 inline StartCodegenJobRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
82 inline StartCodegenJobRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
83 inline StartCodegenJobRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
85
87
90 inline const StartCodegenJobData& GetCodegenJobToCreate() const{ return m_codegenJobToCreate; }
91 inline bool CodegenJobToCreateHasBeenSet() const { return m_codegenJobToCreateHasBeenSet; }
92 inline void SetCodegenJobToCreate(const StartCodegenJobData& value) { m_codegenJobToCreateHasBeenSet = true; m_codegenJobToCreate = value; }
93 inline void SetCodegenJobToCreate(StartCodegenJobData&& value) { m_codegenJobToCreateHasBeenSet = true; m_codegenJobToCreate = std::move(value); }
97 private:
98
99 Aws::String m_appId;
100 bool m_appIdHasBeenSet = false;
101
102 Aws::String m_environmentName;
103 bool m_environmentNameHasBeenSet = false;
104
105 Aws::String m_clientToken;
106 bool m_clientTokenHasBeenSet = false;
107
108 StartCodegenJobData m_codegenJobToCreate;
109 bool m_codegenJobToCreateHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace AmplifyUIBuilder
114} // namespace Aws
StartCodegenJobRequest & WithCodegenJobToCreate(StartCodegenJobData &&value)
virtual const char * GetServiceRequestName() const override
StartCodegenJobRequest & WithClientToken(const Aws::String &value)
void SetCodegenJobToCreate(const StartCodegenJobData &value)
StartCodegenJobRequest & WithAppId(const char *value)
StartCodegenJobRequest & WithClientToken(const char *value)
AWS_AMPLIFYUIBUILDER_API Aws::String SerializePayload() const override
AWS_AMPLIFYUIBUILDER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const StartCodegenJobData & GetCodegenJobToCreate() const
StartCodegenJobRequest & WithEnvironmentName(const Aws::String &value)
StartCodegenJobRequest & WithClientToken(Aws::String &&value)
StartCodegenJobRequest & WithAppId(Aws::String &&value)
StartCodegenJobRequest & WithEnvironmentName(const char *value)
StartCodegenJobRequest & WithCodegenJobToCreate(const StartCodegenJobData &value)
StartCodegenJobRequest & WithEnvironmentName(Aws::String &&value)
StartCodegenJobRequest & WithAppId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String