AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateApplicationRequest.h
1
6#pragma once
7#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
8#include <aws/kinesisanalytics/KinesisAnalyticsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/kinesisanalytics/model/Input.h>
12#include <aws/kinesisanalytics/model/Output.h>
13#include <aws/kinesisanalytics/model/CloudWatchLoggingOption.h>
14#include <aws/kinesisanalytics/model/Tag.h>
15#include <utility>
16
17namespace Aws
18{
19namespace KinesisAnalytics
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_KINESISANALYTICS_API CreateApplicationRequest();
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "CreateApplication"; }
39
40 AWS_KINESISANALYTICS_API Aws::String SerializePayload() const override;
41
42 AWS_KINESISANALYTICS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
43
44
46
50 inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
51 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
52 inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
53 inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
54 inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
55 inline CreateApplicationRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
56 inline CreateApplicationRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
57 inline CreateApplicationRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
59
61
64 inline const Aws::String& GetApplicationDescription() const{ return m_applicationDescription; }
65 inline bool ApplicationDescriptionHasBeenSet() const { return m_applicationDescriptionHasBeenSet; }
66 inline void SetApplicationDescription(const Aws::String& value) { m_applicationDescriptionHasBeenSet = true; m_applicationDescription = value; }
67 inline void SetApplicationDescription(Aws::String&& value) { m_applicationDescriptionHasBeenSet = true; m_applicationDescription = std::move(value); }
68 inline void SetApplicationDescription(const char* value) { m_applicationDescriptionHasBeenSet = true; m_applicationDescription.assign(value); }
71 inline CreateApplicationRequest& WithApplicationDescription(const char* value) { SetApplicationDescription(value); return *this;}
73
75
89 inline const Aws::Vector<Input>& GetInputs() const{ return m_inputs; }
90 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
91 inline void SetInputs(const Aws::Vector<Input>& value) { m_inputsHasBeenSet = true; m_inputs = value; }
92 inline void SetInputs(Aws::Vector<Input>&& value) { m_inputsHasBeenSet = true; m_inputs = std::move(value); }
93 inline CreateApplicationRequest& WithInputs(const Aws::Vector<Input>& value) { SetInputs(value); return *this;}
94 inline CreateApplicationRequest& WithInputs(Aws::Vector<Input>&& value) { SetInputs(std::move(value)); return *this;}
95 inline CreateApplicationRequest& AddInputs(const Input& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
96 inline CreateApplicationRequest& AddInputs(Input&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; }
98
100
115 inline const Aws::Vector<Output>& GetOutputs() const{ return m_outputs; }
116 inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
117 inline void SetOutputs(const Aws::Vector<Output>& value) { m_outputsHasBeenSet = true; m_outputs = value; }
118 inline void SetOutputs(Aws::Vector<Output>&& value) { m_outputsHasBeenSet = true; m_outputs = std::move(value); }
119 inline CreateApplicationRequest& WithOutputs(const Aws::Vector<Output>& value) { SetOutputs(value); return *this;}
120 inline CreateApplicationRequest& WithOutputs(Aws::Vector<Output>&& value) { SetOutputs(std::move(value)); return *this;}
121 inline CreateApplicationRequest& AddOutputs(const Output& value) { m_outputsHasBeenSet = true; m_outputs.push_back(value); return *this; }
122 inline CreateApplicationRequest& AddOutputs(Output&& value) { m_outputsHasBeenSet = true; m_outputs.push_back(std::move(value)); return *this; }
124
126
132 inline const Aws::Vector<CloudWatchLoggingOption>& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; }
133 inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
134 inline void SetCloudWatchLoggingOptions(const Aws::Vector<CloudWatchLoggingOption>& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; }
135 inline void SetCloudWatchLoggingOptions(Aws::Vector<CloudWatchLoggingOption>&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); }
138 inline CreateApplicationRequest& AddCloudWatchLoggingOptions(const CloudWatchLoggingOption& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions.push_back(value); return *this; }
139 inline CreateApplicationRequest& AddCloudWatchLoggingOptions(CloudWatchLoggingOption&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions.push_back(std::move(value)); return *this; }
141
143
160 inline const Aws::String& GetApplicationCode() const{ return m_applicationCode; }
161 inline bool ApplicationCodeHasBeenSet() const { return m_applicationCodeHasBeenSet; }
162 inline void SetApplicationCode(const Aws::String& value) { m_applicationCodeHasBeenSet = true; m_applicationCode = value; }
163 inline void SetApplicationCode(Aws::String&& value) { m_applicationCodeHasBeenSet = true; m_applicationCode = std::move(value); }
164 inline void SetApplicationCode(const char* value) { m_applicationCodeHasBeenSet = true; m_applicationCode.assign(value); }
165 inline CreateApplicationRequest& WithApplicationCode(const Aws::String& value) { SetApplicationCode(value); return *this;}
166 inline CreateApplicationRequest& WithApplicationCode(Aws::String&& value) { SetApplicationCode(std::move(value)); return *this;}
167 inline CreateApplicationRequest& WithApplicationCode(const char* value) { SetApplicationCode(value); return *this;}
169
171
179 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
180 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
181 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
182 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
183 inline CreateApplicationRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
184 inline CreateApplicationRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
185 inline CreateApplicationRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
186 inline CreateApplicationRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
188 private:
189
190 Aws::String m_applicationName;
191 bool m_applicationNameHasBeenSet = false;
192
193 Aws::String m_applicationDescription;
194 bool m_applicationDescriptionHasBeenSet = false;
195
196 Aws::Vector<Input> m_inputs;
197 bool m_inputsHasBeenSet = false;
198
199 Aws::Vector<Output> m_outputs;
200 bool m_outputsHasBeenSet = false;
201
202 Aws::Vector<CloudWatchLoggingOption> m_cloudWatchLoggingOptions;
203 bool m_cloudWatchLoggingOptionsHasBeenSet = false;
204
205 Aws::String m_applicationCode;
206 bool m_applicationCodeHasBeenSet = false;
207
208 Aws::Vector<Tag> m_tags;
209 bool m_tagsHasBeenSet = false;
210 };
211
212} // namespace Model
213} // namespace KinesisAnalytics
214} // namespace Aws
CreateApplicationRequest & WithTags(Aws::Vector< Tag > &&value)
CreateApplicationRequest & WithApplicationCode(const char *value)
CreateApplicationRequest & WithOutputs(const Aws::Vector< Output > &value)
CreateApplicationRequest & WithCloudWatchLoggingOptions(const Aws::Vector< CloudWatchLoggingOption > &value)
CreateApplicationRequest & WithOutputs(Aws::Vector< Output > &&value)
void SetCloudWatchLoggingOptions(const Aws::Vector< CloudWatchLoggingOption > &value)
CreateApplicationRequest & WithApplicationName(Aws::String &&value)
CreateApplicationRequest & AddInputs(const Input &value)
AWS_KINESISANALYTICS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateApplicationRequest & AddCloudWatchLoggingOptions(const CloudWatchLoggingOption &value)
CreateApplicationRequest & WithTags(const Aws::Vector< Tag > &value)
CreateApplicationRequest & WithApplicationCode(Aws::String &&value)
CreateApplicationRequest & AddCloudWatchLoggingOptions(CloudWatchLoggingOption &&value)
CreateApplicationRequest & AddOutputs(const Output &value)
CreateApplicationRequest & AddTags(const Tag &value)
AWS_KINESISANALYTICS_API Aws::String SerializePayload() const override
CreateApplicationRequest & WithApplicationDescription(const char *value)
CreateApplicationRequest & WithInputs(Aws::Vector< Input > &&value)
CreateApplicationRequest & WithApplicationCode(const Aws::String &value)
CreateApplicationRequest & WithApplicationDescription(Aws::String &&value)
CreateApplicationRequest & WithApplicationName(const char *value)
CreateApplicationRequest & WithApplicationDescription(const Aws::String &value)
CreateApplicationRequest & WithCloudWatchLoggingOptions(Aws::Vector< CloudWatchLoggingOption > &&value)
CreateApplicationRequest & WithInputs(const Aws::Vector< Input > &value)
CreateApplicationRequest & WithApplicationName(const Aws::String &value)
void SetCloudWatchLoggingOptions(Aws::Vector< CloudWatchLoggingOption > &&value)
const Aws::Vector< CloudWatchLoggingOption > & GetCloudWatchLoggingOptions() const
CreateApplicationRequest & AddOutputs(Output &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector