AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AddApplicationReferenceDataSourceRequest.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/ReferenceDataSource.h>
11#include <utility>
12
13namespace Aws
14{
15namespace KinesisAnalyticsV2
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_KINESISANALYTICSV2_API AddApplicationReferenceDataSourceRequest();
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 "AddApplicationReferenceDataSource"; }
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); }
49 inline AddApplicationReferenceDataSourceRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
51
53
59 inline long long GetCurrentApplicationVersionId() const{ return m_currentApplicationVersionId; }
60 inline bool CurrentApplicationVersionIdHasBeenSet() const { return m_currentApplicationVersionIdHasBeenSet; }
61 inline void SetCurrentApplicationVersionId(long long value) { m_currentApplicationVersionIdHasBeenSet = true; m_currentApplicationVersionId = value; }
64
66
72 inline const ReferenceDataSource& GetReferenceDataSource() const{ return m_referenceDataSource; }
73 inline bool ReferenceDataSourceHasBeenSet() const { return m_referenceDataSourceHasBeenSet; }
74 inline void SetReferenceDataSource(const ReferenceDataSource& value) { m_referenceDataSourceHasBeenSet = true; m_referenceDataSource = value; }
75 inline void SetReferenceDataSource(ReferenceDataSource&& value) { m_referenceDataSourceHasBeenSet = true; m_referenceDataSource = std::move(value); }
79 private:
80
81 Aws::String m_applicationName;
82 bool m_applicationNameHasBeenSet = false;
83
84 long long m_currentApplicationVersionId;
85 bool m_currentApplicationVersionIdHasBeenSet = false;
86
87 ReferenceDataSource m_referenceDataSource;
88 bool m_referenceDataSourceHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace KinesisAnalyticsV2
93} // namespace Aws
AWS_KINESISANALYTICSV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AddApplicationReferenceDataSourceRequest & WithApplicationName(const char *value)
AddApplicationReferenceDataSourceRequest & WithApplicationName(const Aws::String &value)
AWS_KINESISANALYTICSV2_API Aws::String SerializePayload() const override
AddApplicationReferenceDataSourceRequest & WithApplicationName(Aws::String &&value)
AddApplicationReferenceDataSourceRequest & WithReferenceDataSource(const ReferenceDataSource &value)
AddApplicationReferenceDataSourceRequest & WithReferenceDataSource(ReferenceDataSource &&value)
AddApplicationReferenceDataSourceRequest & WithCurrentApplicationVersionId(long long value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String