AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateApplicationRequest.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/ApplicationUpdate.h>
11#include <utility>
12
13namespace Aws
14{
15namespace KinesisAnalytics
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_KINESISANALYTICS_API UpdateApplicationRequest();
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 "UpdateApplication"; }
32
33 AWS_KINESISANALYTICS_API Aws::String SerializePayload() const override;
34
35 AWS_KINESISANALYTICS_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); }
47 inline UpdateApplicationRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
48 inline UpdateApplicationRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
49 inline UpdateApplicationRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
51
53
58 inline long long GetCurrentApplicationVersionId() const{ return m_currentApplicationVersionId; }
59 inline bool CurrentApplicationVersionIdHasBeenSet() const { return m_currentApplicationVersionIdHasBeenSet; }
60 inline void SetCurrentApplicationVersionId(long long value) { m_currentApplicationVersionIdHasBeenSet = true; m_currentApplicationVersionId = value; }
63
65
68 inline const ApplicationUpdate& GetApplicationUpdate() const{ return m_applicationUpdate; }
69 inline bool ApplicationUpdateHasBeenSet() const { return m_applicationUpdateHasBeenSet; }
70 inline void SetApplicationUpdate(const ApplicationUpdate& value) { m_applicationUpdateHasBeenSet = true; m_applicationUpdate = value; }
71 inline void SetApplicationUpdate(ApplicationUpdate&& value) { m_applicationUpdateHasBeenSet = true; m_applicationUpdate = std::move(value); }
73 inline UpdateApplicationRequest& WithApplicationUpdate(ApplicationUpdate&& value) { SetApplicationUpdate(std::move(value)); return *this;}
75 private:
76
77 Aws::String m_applicationName;
78 bool m_applicationNameHasBeenSet = false;
79
80 long long m_currentApplicationVersionId;
81 bool m_currentApplicationVersionIdHasBeenSet = false;
82
83 ApplicationUpdate m_applicationUpdate;
84 bool m_applicationUpdateHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace KinesisAnalytics
89} // namespace Aws
AWS_KINESISANALYTICS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateApplicationRequest & WithApplicationUpdate(ApplicationUpdate &&value)
UpdateApplicationRequest & WithApplicationName(Aws::String &&value)
UpdateApplicationRequest & WithApplicationName(const Aws::String &value)
UpdateApplicationRequest & WithApplicationName(const char *value)
AWS_KINESISANALYTICS_API Aws::String SerializePayload() const override
UpdateApplicationRequest & WithApplicationUpdate(const ApplicationUpdate &value)
UpdateApplicationRequest & WithCurrentApplicationVersionId(long long value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String