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/appintegrations/AppIntegrationsService_EXPORTS.h>
8#include <aws/appintegrations/AppIntegrationsServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appintegrations/model/ApplicationSourceConfig.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace AppIntegrationsService
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_APPINTEGRATIONSSERVICE_API UpdateApplicationRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateApplication"; }
33
34 AWS_APPINTEGRATIONSSERVICE_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetArn() const{ return m_arn; }
42 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
43 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
44 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
45 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
46 inline UpdateApplicationRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
47 inline UpdateApplicationRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
48 inline UpdateApplicationRequest& WithArn(const char* value) { SetArn(value); return *this;}
50
52
55 inline const Aws::String& GetName() const{ return m_name; }
56 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
57 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
58 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
59 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
60 inline UpdateApplicationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
61 inline UpdateApplicationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
62 inline UpdateApplicationRequest& WithName(const char* value) { SetName(value); return *this;}
64
66
69 inline const Aws::String& GetDescription() const{ return m_description; }
70 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
71 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
72 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
73 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
74 inline UpdateApplicationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
75 inline UpdateApplicationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
76 inline UpdateApplicationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
78
80
83 inline const ApplicationSourceConfig& GetApplicationSourceConfig() const{ return m_applicationSourceConfig; }
84 inline bool ApplicationSourceConfigHasBeenSet() const { return m_applicationSourceConfigHasBeenSet; }
85 inline void SetApplicationSourceConfig(const ApplicationSourceConfig& value) { m_applicationSourceConfigHasBeenSet = true; m_applicationSourceConfig = value; }
86 inline void SetApplicationSourceConfig(ApplicationSourceConfig&& value) { m_applicationSourceConfigHasBeenSet = true; m_applicationSourceConfig = std::move(value); }
90
92
96 inline const Aws::Vector<Aws::String>& GetPermissions() const{ return m_permissions; }
97 inline bool PermissionsHasBeenSet() const { return m_permissionsHasBeenSet; }
98 inline void SetPermissions(const Aws::Vector<Aws::String>& value) { m_permissionsHasBeenSet = true; m_permissions = value; }
99 inline void SetPermissions(Aws::Vector<Aws::String>&& value) { m_permissionsHasBeenSet = true; m_permissions = std::move(value); }
101 inline UpdateApplicationRequest& WithPermissions(Aws::Vector<Aws::String>&& value) { SetPermissions(std::move(value)); return *this;}
102 inline UpdateApplicationRequest& AddPermissions(const Aws::String& value) { m_permissionsHasBeenSet = true; m_permissions.push_back(value); return *this; }
103 inline UpdateApplicationRequest& AddPermissions(Aws::String&& value) { m_permissionsHasBeenSet = true; m_permissions.push_back(std::move(value)); return *this; }
104 inline UpdateApplicationRequest& AddPermissions(const char* value) { m_permissionsHasBeenSet = true; m_permissions.push_back(value); return *this; }
106 private:
107
108 Aws::String m_arn;
109 bool m_arnHasBeenSet = false;
110
111 Aws::String m_name;
112 bool m_nameHasBeenSet = false;
113
114 Aws::String m_description;
115 bool m_descriptionHasBeenSet = false;
116
117 ApplicationSourceConfig m_applicationSourceConfig;
118 bool m_applicationSourceConfigHasBeenSet = false;
119
120 Aws::Vector<Aws::String> m_permissions;
121 bool m_permissionsHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace AppIntegrationsService
126} // namespace Aws
UpdateApplicationRequest & WithName(const Aws::String &value)
UpdateApplicationRequest & AddPermissions(Aws::String &&value)
UpdateApplicationRequest & WithArn(Aws::String &&value)
UpdateApplicationRequest & WithApplicationSourceConfig(ApplicationSourceConfig &&value)
UpdateApplicationRequest & WithDescription(const Aws::String &value)
UpdateApplicationRequest & WithPermissions(const Aws::Vector< Aws::String > &value)
UpdateApplicationRequest & AddPermissions(const char *value)
UpdateApplicationRequest & WithApplicationSourceConfig(const ApplicationSourceConfig &value)
UpdateApplicationRequest & WithArn(const Aws::String &value)
UpdateApplicationRequest & WithDescription(Aws::String &&value)
UpdateApplicationRequest & WithName(Aws::String &&value)
void SetApplicationSourceConfig(const ApplicationSourceConfig &value)
UpdateApplicationRequest & WithDescription(const char *value)
UpdateApplicationRequest & AddPermissions(const Aws::String &value)
AWS_APPINTEGRATIONSSERVICE_API Aws::String SerializePayload() const override
void SetPermissions(const Aws::Vector< Aws::String > &value)
UpdateApplicationRequest & WithPermissions(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector