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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
8#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kinesisanalyticsv2/model/RunConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace KinesisAnalyticsV2
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_KINESISANALYTICSV2_API StartApplicationRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "StartApplication"; }
32
33 AWS_KINESISANALYTICSV2_API Aws::String SerializePayload() const override;
34
35 AWS_KINESISANALYTICSV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
43 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
44 inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
45 inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
46 inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
47 inline StartApplicationRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
48 inline StartApplicationRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
49 inline StartApplicationRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
51
53
57 inline const RunConfiguration& GetRunConfiguration() const{ return m_runConfiguration; }
58 inline bool RunConfigurationHasBeenSet() const { return m_runConfigurationHasBeenSet; }
59 inline void SetRunConfiguration(const RunConfiguration& value) { m_runConfigurationHasBeenSet = true; m_runConfiguration = value; }
60 inline void SetRunConfiguration(RunConfiguration&& value) { m_runConfigurationHasBeenSet = true; m_runConfiguration = std::move(value); }
62 inline StartApplicationRequest& WithRunConfiguration(RunConfiguration&& value) { SetRunConfiguration(std::move(value)); return *this;}
64 private:
65
66 Aws::String m_applicationName;
67 bool m_applicationNameHasBeenSet = false;
68
69 RunConfiguration m_runConfiguration;
70 bool m_runConfigurationHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace KinesisAnalyticsV2
75} // namespace Aws
StartApplicationRequest & WithApplicationName(const Aws::String &value)
AWS_KINESISANALYTICSV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartApplicationRequest & WithRunConfiguration(RunConfiguration &&value)
AWS_KINESISANALYTICSV2_API Aws::String SerializePayload() const override
StartApplicationRequest & WithRunConfiguration(const RunConfiguration &value)
StartApplicationRequest & WithApplicationName(const char *value)
StartApplicationRequest & WithApplicationName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String