AWS SDK for C++  1.9.40
AWS SDK for C++
AddApplicationInputRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace KinesisAnalytics
16 {
17 namespace Model
18 {
19 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "AddApplicationInput"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
45  inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
46 
51  inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
52 
57  inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
58 
63  inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
64 
69  inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
70 
75  inline AddApplicationInputRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
76 
81  inline AddApplicationInputRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
82 
87  inline AddApplicationInputRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
88 
89 
96  inline long long GetCurrentApplicationVersionId() const{ return m_currentApplicationVersionId; }
97 
104  inline bool CurrentApplicationVersionIdHasBeenSet() const { return m_currentApplicationVersionIdHasBeenSet; }
105 
112  inline void SetCurrentApplicationVersionId(long long value) { m_currentApplicationVersionIdHasBeenSet = true; m_currentApplicationVersionId = value; }
113 
120  inline AddApplicationInputRequest& WithCurrentApplicationVersionId(long long value) { SetCurrentApplicationVersionId(value); return *this;}
121 
122 
128  inline const Input& GetInput() const{ return m_input; }
129 
135  inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
136 
142  inline void SetInput(const Input& value) { m_inputHasBeenSet = true; m_input = value; }
143 
149  inline void SetInput(Input&& value) { m_inputHasBeenSet = true; m_input = std::move(value); }
150 
156  inline AddApplicationInputRequest& WithInput(const Input& value) { SetInput(value); return *this;}
157 
163  inline AddApplicationInputRequest& WithInput(Input&& value) { SetInput(std::move(value)); return *this;}
164 
165  private:
166 
167  Aws::String m_applicationName;
168  bool m_applicationNameHasBeenSet;
169 
170  long long m_currentApplicationVersionId;
171  bool m_currentApplicationVersionIdHasBeenSet;
172 
173  Input m_input;
174  bool m_inputHasBeenSet;
175  };
176 
177 } // namespace Model
178 } // namespace KinesisAnalytics
179 } // namespace Aws
Aws::KinesisAnalytics::Model::AddApplicationInputRequest::AddApplicationInputRequest
AddApplicationInputRequest()
Aws::KinesisAnalytics::Model::AddApplicationInputRequest::GetCurrentApplicationVersionId
long long GetCurrentApplicationVersionId() const
Definition: AddApplicationInputRequest.h:96
Aws::KinesisAnalytics::Model::AddApplicationInputRequest::WithApplicationName
AddApplicationInputRequest & WithApplicationName(const Aws::String &value)
Definition: AddApplicationInputRequest.h:75
Aws::KinesisAnalytics::Model::AddApplicationInputRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::KinesisAnalytics::Model::AddApplicationInputRequest::WithCurrentApplicationVersionId
AddApplicationInputRequest & WithCurrentApplicationVersionId(long long value)
Definition: AddApplicationInputRequest.h:120
KinesisAnalytics_EXPORTS.h
Aws::KinesisAnalytics::KinesisAnalyticsRequest
Definition: KinesisAnalyticsRequest.h:17
AWS_KINESISANALYTICS_API
#define AWS_KINESISANALYTICS_API
Definition: KinesisAnalytics_EXPORTS.h:28
Aws::KinesisAnalytics::Model::AddApplicationInputRequest::WithInput
AddApplicationInputRequest & WithInput(const Input &value)
Definition: AddApplicationInputRequest.h:156
Aws::KinesisAnalytics::Model::AddApplicationInputRequest::GetInput
const Input & GetInput() const
Definition: AddApplicationInputRequest.h:128
Aws::KinesisAnalytics::Model::AddApplicationInputRequest::ApplicationNameHasBeenSet
bool ApplicationNameHasBeenSet() const
Definition: AddApplicationInputRequest.h:51
Aws::KinesisAnalytics::Model::AddApplicationInputRequest::WithInput
AddApplicationInputRequest & WithInput(Input &&value)
Definition: AddApplicationInputRequest.h:163
Aws::KinesisAnalytics::Model::Input
Definition: Input.h:41
Aws::KinesisAnalytics::Model::AddApplicationInputRequest::SetInput
void SetInput(Input &&value)
Definition: AddApplicationInputRequest.h:149
Aws::KinesisAnalytics::Model::AddApplicationInputRequest::SetApplicationName
void SetApplicationName(Aws::String &&value)
Definition: AddApplicationInputRequest.h:63
Aws::KinesisAnalytics::Model::AddApplicationInputRequest::SetApplicationName
void SetApplicationName(const Aws::String &value)
Definition: AddApplicationInputRequest.h:57
Aws::KinesisAnalytics::Model::AddApplicationInputRequest::InputHasBeenSet
bool InputHasBeenSet() const
Definition: AddApplicationInputRequest.h:135
AWSString.h
Aws::KinesisAnalytics::Model::AddApplicationInputRequest::SetCurrentApplicationVersionId
void SetCurrentApplicationVersionId(long long value)
Definition: AddApplicationInputRequest.h:112
KinesisAnalyticsRequest.h
Aws::KinesisAnalytics::Model::AddApplicationInputRequest::GetApplicationName
const Aws::String & GetApplicationName() const
Definition: AddApplicationInputRequest.h:45
Aws::KinesisAnalytics::Model::AddApplicationInputRequest::CurrentApplicationVersionIdHasBeenSet
bool CurrentApplicationVersionIdHasBeenSet() const
Definition: AddApplicationInputRequest.h:104
Aws::KinesisAnalytics::Model::AddApplicationInputRequest::SetApplicationName
void SetApplicationName(const char *value)
Definition: AddApplicationInputRequest.h:69
Input.h
Aws
Definition: AccessManagementClient.h:15
Aws::KinesisAnalytics::Model::AddApplicationInputRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::KinesisAnalytics::Model::AddApplicationInputRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: AddApplicationInputRequest.h:34
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::KinesisAnalytics::Model::AddApplicationInputRequest::WithApplicationName
AddApplicationInputRequest & WithApplicationName(const char *value)
Definition: AddApplicationInputRequest.h:87
Aws::KinesisAnalytics::Model::AddApplicationInputRequest
Definition: AddApplicationInputRequest.h:26
Aws::KinesisAnalytics::Model::AddApplicationInputRequest::WithApplicationName
AddApplicationInputRequest & WithApplicationName(Aws::String &&value)
Definition: AddApplicationInputRequest.h:81
Aws::KinesisAnalytics::Model::AddApplicationInputRequest::SetInput
void SetInput(const Input &value)
Definition: AddApplicationInputRequest.h:142