AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartApplicationRequest.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/InputConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace KinesisAnalytics
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_KINESISANALYTICS_API StartApplicationRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "StartApplication"; }
36
37 AWS_KINESISANALYTICS_API Aws::String SerializePayload() const override;
38
39 AWS_KINESISANALYTICS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
46 inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
47 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
48 inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
49 inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
50 inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
51 inline StartApplicationRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
52 inline StartApplicationRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
53 inline StartApplicationRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
55
57
63 inline const Aws::Vector<InputConfiguration>& GetInputConfigurations() const{ return m_inputConfigurations; }
64 inline bool InputConfigurationsHasBeenSet() const { return m_inputConfigurationsHasBeenSet; }
65 inline void SetInputConfigurations(const Aws::Vector<InputConfiguration>& value) { m_inputConfigurationsHasBeenSet = true; m_inputConfigurations = value; }
66 inline void SetInputConfigurations(Aws::Vector<InputConfiguration>&& value) { m_inputConfigurationsHasBeenSet = true; m_inputConfigurations = std::move(value); }
69 inline StartApplicationRequest& AddInputConfigurations(const InputConfiguration& value) { m_inputConfigurationsHasBeenSet = true; m_inputConfigurations.push_back(value); return *this; }
70 inline StartApplicationRequest& AddInputConfigurations(InputConfiguration&& value) { m_inputConfigurationsHasBeenSet = true; m_inputConfigurations.push_back(std::move(value)); return *this; }
72 private:
73
74 Aws::String m_applicationName;
75 bool m_applicationNameHasBeenSet = false;
76
77 Aws::Vector<InputConfiguration> m_inputConfigurations;
78 bool m_inputConfigurationsHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace KinesisAnalytics
83} // namespace Aws
void SetInputConfigurations(Aws::Vector< InputConfiguration > &&value)
StartApplicationRequest & WithApplicationName(const char *value)
const Aws::Vector< InputConfiguration > & GetInputConfigurations() const
StartApplicationRequest & AddInputConfigurations(const InputConfiguration &value)
AWS_KINESISANALYTICS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_KINESISANALYTICS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
StartApplicationRequest & WithApplicationName(Aws::String &&value)
StartApplicationRequest & AddInputConfigurations(InputConfiguration &&value)
StartApplicationRequest & WithInputConfigurations(const Aws::Vector< InputConfiguration > &value)
StartApplicationRequest & WithInputConfigurations(Aws::Vector< InputConfiguration > &&value)
StartApplicationRequest & WithApplicationName(const Aws::String &value)
void SetInputConfigurations(const Aws::Vector< InputConfiguration > &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