AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DiscoverInputSchemaRequest.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/InputStartingPositionConfiguration.h>
11#include <aws/kinesisanalyticsv2/model/S3Configuration.h>
12#include <aws/kinesisanalyticsv2/model/InputProcessingConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17namespace KinesisAnalyticsV2
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_KINESISANALYTICSV2_API DiscoverInputSchemaRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "DiscoverInputSchema"; }
34
35 AWS_KINESISANALYTICSV2_API Aws::String SerializePayload() const override;
36
37 AWS_KINESISANALYTICSV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
44 inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
45 inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
46 inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
47 inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
48 inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
49 inline DiscoverInputSchemaRequest& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
50 inline DiscoverInputSchemaRequest& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
51 inline DiscoverInputSchemaRequest& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
53
55
58 inline const Aws::String& GetServiceExecutionRole() const{ return m_serviceExecutionRole; }
59 inline bool ServiceExecutionRoleHasBeenSet() const { return m_serviceExecutionRoleHasBeenSet; }
60 inline void SetServiceExecutionRole(const Aws::String& value) { m_serviceExecutionRoleHasBeenSet = true; m_serviceExecutionRole = value; }
61 inline void SetServiceExecutionRole(Aws::String&& value) { m_serviceExecutionRoleHasBeenSet = true; m_serviceExecutionRole = std::move(value); }
62 inline void SetServiceExecutionRole(const char* value) { m_serviceExecutionRoleHasBeenSet = true; m_serviceExecutionRole.assign(value); }
65 inline DiscoverInputSchemaRequest& WithServiceExecutionRole(const char* value) { SetServiceExecutionRole(value); return *this;}
67
69
73 inline const InputStartingPositionConfiguration& GetInputStartingPositionConfiguration() const{ return m_inputStartingPositionConfiguration; }
74 inline bool InputStartingPositionConfigurationHasBeenSet() const { return m_inputStartingPositionConfigurationHasBeenSet; }
75 inline void SetInputStartingPositionConfiguration(const InputStartingPositionConfiguration& value) { m_inputStartingPositionConfigurationHasBeenSet = true; m_inputStartingPositionConfiguration = value; }
76 inline void SetInputStartingPositionConfiguration(InputStartingPositionConfiguration&& value) { m_inputStartingPositionConfigurationHasBeenSet = true; m_inputStartingPositionConfiguration = std::move(value); }
80
82
86 inline const S3Configuration& GetS3Configuration() const{ return m_s3Configuration; }
87 inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; }
88 inline void SetS3Configuration(const S3Configuration& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = value; }
89 inline void SetS3Configuration(S3Configuration&& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = std::move(value); }
91 inline DiscoverInputSchemaRequest& WithS3Configuration(S3Configuration&& value) { SetS3Configuration(std::move(value)); return *this;}
93
95
99 inline const InputProcessingConfiguration& GetInputProcessingConfiguration() const{ return m_inputProcessingConfiguration; }
100 inline bool InputProcessingConfigurationHasBeenSet() const { return m_inputProcessingConfigurationHasBeenSet; }
101 inline void SetInputProcessingConfiguration(const InputProcessingConfiguration& value) { m_inputProcessingConfigurationHasBeenSet = true; m_inputProcessingConfiguration = value; }
102 inline void SetInputProcessingConfiguration(InputProcessingConfiguration&& value) { m_inputProcessingConfigurationHasBeenSet = true; m_inputProcessingConfiguration = std::move(value); }
106 private:
107
108 Aws::String m_resourceARN;
109 bool m_resourceARNHasBeenSet = false;
110
111 Aws::String m_serviceExecutionRole;
112 bool m_serviceExecutionRoleHasBeenSet = false;
113
114 InputStartingPositionConfiguration m_inputStartingPositionConfiguration;
115 bool m_inputStartingPositionConfigurationHasBeenSet = false;
116
117 S3Configuration m_s3Configuration;
118 bool m_s3ConfigurationHasBeenSet = false;
119
120 InputProcessingConfiguration m_inputProcessingConfiguration;
121 bool m_inputProcessingConfigurationHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace KinesisAnalyticsV2
126} // namespace Aws
DiscoverInputSchemaRequest & WithS3Configuration(S3Configuration &&value)
DiscoverInputSchemaRequest & WithInputProcessingConfiguration(const InputProcessingConfiguration &value)
AWS_KINESISANALYTICSV2_API Aws::String SerializePayload() const override
DiscoverInputSchemaRequest & WithServiceExecutionRole(const Aws::String &value)
DiscoverInputSchemaRequest & WithS3Configuration(const S3Configuration &value)
void SetInputStartingPositionConfiguration(const InputStartingPositionConfiguration &value)
DiscoverInputSchemaRequest & WithResourceARN(const Aws::String &value)
void SetInputStartingPositionConfiguration(InputStartingPositionConfiguration &&value)
DiscoverInputSchemaRequest & WithInputStartingPositionConfiguration(InputStartingPositionConfiguration &&value)
const InputProcessingConfiguration & GetInputProcessingConfiguration() const
DiscoverInputSchemaRequest & WithInputStartingPositionConfiguration(const InputStartingPositionConfiguration &value)
DiscoverInputSchemaRequest & WithServiceExecutionRole(const char *value)
DiscoverInputSchemaRequest & WithServiceExecutionRole(Aws::String &&value)
void SetInputProcessingConfiguration(InputProcessingConfiguration &&value)
const InputStartingPositionConfiguration & GetInputStartingPositionConfiguration() const
DiscoverInputSchemaRequest & WithResourceARN(const char *value)
DiscoverInputSchemaRequest & WithInputProcessingConfiguration(InputProcessingConfiguration &&value)
AWS_KINESISANALYTICSV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DiscoverInputSchemaRequest & WithResourceARN(Aws::String &&value)
void SetInputProcessingConfiguration(const InputProcessingConfiguration &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String