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/m2/MainframeModernization_EXPORTS.h>
8#include <aws/m2/MainframeModernizationRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/m2/model/Definition.h>
11#include <utility>
12
13namespace Aws
14{
15namespace MainframeModernization
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_MAINFRAMEMODERNIZATION_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_MAINFRAMEMODERNIZATION_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
41 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
42 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
43 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
44 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
45 inline UpdateApplicationRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
46 inline UpdateApplicationRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
47 inline UpdateApplicationRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
49
51
54 inline int GetCurrentApplicationVersion() const{ return m_currentApplicationVersion; }
55 inline bool CurrentApplicationVersionHasBeenSet() const { return m_currentApplicationVersionHasBeenSet; }
56 inline void SetCurrentApplicationVersion(int value) { m_currentApplicationVersionHasBeenSet = true; m_currentApplicationVersion = value; }
59
61
65 inline const Definition& GetDefinition() const{ return m_definition; }
66 inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; }
67 inline void SetDefinition(const Definition& value) { m_definitionHasBeenSet = true; m_definition = value; }
68 inline void SetDefinition(Definition&& value) { m_definitionHasBeenSet = true; m_definition = std::move(value); }
69 inline UpdateApplicationRequest& WithDefinition(const Definition& value) { SetDefinition(value); return *this;}
70 inline UpdateApplicationRequest& WithDefinition(Definition&& value) { SetDefinition(std::move(value)); return *this;}
72
74
77 inline const Aws::String& GetDescription() const{ return m_description; }
78 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
79 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
80 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
81 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
82 inline UpdateApplicationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
83 inline UpdateApplicationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
84 inline UpdateApplicationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
86 private:
87
88 Aws::String m_applicationId;
89 bool m_applicationIdHasBeenSet = false;
90
91 int m_currentApplicationVersion;
92 bool m_currentApplicationVersionHasBeenSet = false;
93
94 Definition m_definition;
95 bool m_definitionHasBeenSet = false;
96
97 Aws::String m_description;
98 bool m_descriptionHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace MainframeModernization
103} // namespace Aws
UpdateApplicationRequest & WithDescription(Aws::String &&value)
UpdateApplicationRequest & WithApplicationId(const Aws::String &value)
UpdateApplicationRequest & WithDefinition(Definition &&value)
AWS_MAINFRAMEMODERNIZATION_API Aws::String SerializePayload() const override
UpdateApplicationRequest & WithApplicationId(const char *value)
UpdateApplicationRequest & WithDescription(const Aws::String &value)
UpdateApplicationRequest & WithApplicationId(Aws::String &&value)
UpdateApplicationRequest & WithDescription(const char *value)
UpdateApplicationRequest & WithDefinition(const Definition &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String