AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AddApplicationVpcConfigurationRequest.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/VpcConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace KinesisAnalyticsV2
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_KINESISANALYTICSV2_API AddApplicationVpcConfigurationRequest();
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 "AddApplicationVpcConfiguration"; }
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 AddApplicationVpcConfigurationRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
51
53
62 inline long long GetCurrentApplicationVersionId() const{ return m_currentApplicationVersionId; }
63 inline bool CurrentApplicationVersionIdHasBeenSet() const { return m_currentApplicationVersionIdHasBeenSet; }
64 inline void SetCurrentApplicationVersionId(long long value) { m_currentApplicationVersionIdHasBeenSet = true; m_currentApplicationVersionId = value; }
67
69
72 inline const VpcConfiguration& GetVpcConfiguration() const{ return m_vpcConfiguration; }
73 inline bool VpcConfigurationHasBeenSet() const { return m_vpcConfigurationHasBeenSet; }
74 inline void SetVpcConfiguration(const VpcConfiguration& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = value; }
75 inline void SetVpcConfiguration(VpcConfiguration&& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = std::move(value); }
79
81
89 inline const Aws::String& GetConditionalToken() const{ return m_conditionalToken; }
90 inline bool ConditionalTokenHasBeenSet() const { return m_conditionalTokenHasBeenSet; }
91 inline void SetConditionalToken(const Aws::String& value) { m_conditionalTokenHasBeenSet = true; m_conditionalToken = value; }
92 inline void SetConditionalToken(Aws::String&& value) { m_conditionalTokenHasBeenSet = true; m_conditionalToken = std::move(value); }
93 inline void SetConditionalToken(const char* value) { m_conditionalTokenHasBeenSet = true; m_conditionalToken.assign(value); }
96 inline AddApplicationVpcConfigurationRequest& WithConditionalToken(const char* value) { SetConditionalToken(value); return *this;}
98 private:
99
100 Aws::String m_applicationName;
101 bool m_applicationNameHasBeenSet = false;
102
103 long long m_currentApplicationVersionId;
104 bool m_currentApplicationVersionIdHasBeenSet = false;
105
106 VpcConfiguration m_vpcConfiguration;
107 bool m_vpcConfigurationHasBeenSet = false;
108
109 Aws::String m_conditionalToken;
110 bool m_conditionalTokenHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace KinesisAnalyticsV2
115} // namespace Aws
AddApplicationVpcConfigurationRequest & WithConditionalToken(Aws::String &&value)
AddApplicationVpcConfigurationRequest & WithApplicationName(const char *value)
AddApplicationVpcConfigurationRequest & WithApplicationName(Aws::String &&value)
AddApplicationVpcConfigurationRequest & WithVpcConfiguration(const VpcConfiguration &value)
AWS_KINESISANALYTICSV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AddApplicationVpcConfigurationRequest & WithApplicationName(const Aws::String &value)
AWS_KINESISANALYTICSV2_API Aws::String SerializePayload() const override
AddApplicationVpcConfigurationRequest & WithVpcConfiguration(VpcConfiguration &&value)
AddApplicationVpcConfigurationRequest & WithConditionalToken(const Aws::String &value)
AddApplicationVpcConfigurationRequest & WithCurrentApplicationVersionId(long long value)
AddApplicationVpcConfigurationRequest & WithConditionalToken(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String