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/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
8#include <aws/kinesisanalytics/KinesisAnalyticsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kinesisanalytics/model/InputStartingPositionConfiguration.h>
11#include <aws/kinesisanalytics/model/S3Configuration.h>
12#include <aws/kinesisanalytics/model/InputProcessingConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17namespace KinesisAnalytics
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_KINESISANALYTICS_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_KINESISANALYTICS_API Aws::String SerializePayload() const override;
36
37 AWS_KINESISANALYTICS_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
59 inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
60 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
61 inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
62 inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
63 inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
64 inline DiscoverInputSchemaRequest& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
65 inline DiscoverInputSchemaRequest& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
66 inline DiscoverInputSchemaRequest& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
68
70
74 inline const InputStartingPositionConfiguration& GetInputStartingPositionConfiguration() const{ return m_inputStartingPositionConfiguration; }
75 inline bool InputStartingPositionConfigurationHasBeenSet() const { return m_inputStartingPositionConfigurationHasBeenSet; }
76 inline void SetInputStartingPositionConfiguration(const InputStartingPositionConfiguration& value) { m_inputStartingPositionConfigurationHasBeenSet = true; m_inputStartingPositionConfiguration = value; }
77 inline void SetInputStartingPositionConfiguration(InputStartingPositionConfiguration&& value) { m_inputStartingPositionConfigurationHasBeenSet = true; m_inputStartingPositionConfiguration = std::move(value); }
81
83
87 inline const S3Configuration& GetS3Configuration() const{ return m_s3Configuration; }
88 inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; }
89 inline void SetS3Configuration(const S3Configuration& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = value; }
90 inline void SetS3Configuration(S3Configuration&& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = std::move(value); }
92 inline DiscoverInputSchemaRequest& WithS3Configuration(S3Configuration&& value) { SetS3Configuration(std::move(value)); return *this;}
94
96
102 inline const InputProcessingConfiguration& GetInputProcessingConfiguration() const{ return m_inputProcessingConfiguration; }
103 inline bool InputProcessingConfigurationHasBeenSet() const { return m_inputProcessingConfigurationHasBeenSet; }
104 inline void SetInputProcessingConfiguration(const InputProcessingConfiguration& value) { m_inputProcessingConfigurationHasBeenSet = true; m_inputProcessingConfiguration = value; }
105 inline void SetInputProcessingConfiguration(InputProcessingConfiguration&& value) { m_inputProcessingConfigurationHasBeenSet = true; m_inputProcessingConfiguration = std::move(value); }
109 private:
110
111 Aws::String m_resourceARN;
112 bool m_resourceARNHasBeenSet = false;
113
114 Aws::String m_roleARN;
115 bool m_roleARNHasBeenSet = false;
116
117 InputStartingPositionConfiguration m_inputStartingPositionConfiguration;
118 bool m_inputStartingPositionConfigurationHasBeenSet = false;
119
120 S3Configuration m_s3Configuration;
121 bool m_s3ConfigurationHasBeenSet = false;
122
123 InputProcessingConfiguration m_inputProcessingConfiguration;
124 bool m_inputProcessingConfigurationHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace KinesisAnalytics
129} // namespace Aws
DiscoverInputSchemaRequest & WithS3Configuration(S3Configuration &&value)
DiscoverInputSchemaRequest & WithInputProcessingConfiguration(InputProcessingConfiguration &&value)
DiscoverInputSchemaRequest & WithInputProcessingConfiguration(const InputProcessingConfiguration &value)
DiscoverInputSchemaRequest & WithResourceARN(Aws::String &&value)
const InputStartingPositionConfiguration & GetInputStartingPositionConfiguration() const
void SetInputStartingPositionConfiguration(const InputStartingPositionConfiguration &value)
DiscoverInputSchemaRequest & WithRoleARN(const char *value)
void SetInputStartingPositionConfiguration(InputStartingPositionConfiguration &&value)
const InputProcessingConfiguration & GetInputProcessingConfiguration() const
void SetInputProcessingConfiguration(InputProcessingConfiguration &&value)
DiscoverInputSchemaRequest & WithInputStartingPositionConfiguration(InputStartingPositionConfiguration &&value)
DiscoverInputSchemaRequest & WithS3Configuration(const S3Configuration &value)
DiscoverInputSchemaRequest & WithResourceARN(const char *value)
AWS_KINESISANALYTICS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_KINESISANALYTICS_API Aws::String SerializePayload() const override
DiscoverInputSchemaRequest & WithRoleARN(const Aws::String &value)
DiscoverInputSchemaRequest & WithInputStartingPositionConfiguration(const InputStartingPositionConfiguration &value)
DiscoverInputSchemaRequest & WithRoleARN(Aws::String &&value)
DiscoverInputSchemaRequest & WithResourceARN(const 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