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/sso-admin/SSOAdmin_EXPORTS.h>
8#include <aws/sso-admin/SSOAdminRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sso-admin/model/UpdateApplicationPortalOptions.h>
11#include <aws/sso-admin/model/ApplicationStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace SSOAdmin
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_SSOADMIN_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_SSOADMIN_API Aws::String SerializePayload() const override;
35
37
38
40
46 inline const Aws::String& GetApplicationArn() const{ return m_applicationArn; }
47 inline bool ApplicationArnHasBeenSet() const { return m_applicationArnHasBeenSet; }
48 inline void SetApplicationArn(const Aws::String& value) { m_applicationArnHasBeenSet = true; m_applicationArn = value; }
49 inline void SetApplicationArn(Aws::String&& value) { m_applicationArnHasBeenSet = true; m_applicationArn = std::move(value); }
50 inline void SetApplicationArn(const char* value) { m_applicationArnHasBeenSet = true; m_applicationArn.assign(value); }
51 inline UpdateApplicationRequest& WithApplicationArn(const Aws::String& value) { SetApplicationArn(value); return *this;}
52 inline UpdateApplicationRequest& WithApplicationArn(Aws::String&& value) { SetApplicationArn(std::move(value)); return *this;}
53 inline UpdateApplicationRequest& WithApplicationArn(const char* value) { SetApplicationArn(value); return *this;}
55
57
60 inline const Aws::String& GetDescription() const{ return m_description; }
61 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
62 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
63 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
64 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
65 inline UpdateApplicationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
66 inline UpdateApplicationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
67 inline UpdateApplicationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
69
71
74 inline const Aws::String& GetName() const{ return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
77 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
78 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
79 inline UpdateApplicationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
80 inline UpdateApplicationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
81 inline UpdateApplicationRequest& WithName(const char* value) { SetName(value); return *this;}
83
85
89 inline const UpdateApplicationPortalOptions& GetPortalOptions() const{ return m_portalOptions; }
90 inline bool PortalOptionsHasBeenSet() const { return m_portalOptionsHasBeenSet; }
91 inline void SetPortalOptions(const UpdateApplicationPortalOptions& value) { m_portalOptionsHasBeenSet = true; m_portalOptions = value; }
92 inline void SetPortalOptions(UpdateApplicationPortalOptions&& value) { m_portalOptionsHasBeenSet = true; m_portalOptions = std::move(value); }
96
98
101 inline const ApplicationStatus& GetStatus() const{ return m_status; }
102 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
103 inline void SetStatus(const ApplicationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
104 inline void SetStatus(ApplicationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
105 inline UpdateApplicationRequest& WithStatus(const ApplicationStatus& value) { SetStatus(value); return *this;}
106 inline UpdateApplicationRequest& WithStatus(ApplicationStatus&& value) { SetStatus(std::move(value)); return *this;}
108 private:
109
110 Aws::String m_applicationArn;
111 bool m_applicationArnHasBeenSet = false;
112
113 Aws::String m_description;
114 bool m_descriptionHasBeenSet = false;
115
116 Aws::String m_name;
117 bool m_nameHasBeenSet = false;
118
119 UpdateApplicationPortalOptions m_portalOptions;
120 bool m_portalOptionsHasBeenSet = false;
121
122 ApplicationStatus m_status;
123 bool m_statusHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace SSOAdmin
128} // namespace Aws
UpdateApplicationRequest & WithName(const char *value)
UpdateApplicationRequest & WithApplicationArn(const Aws::String &value)
UpdateApplicationRequest & WithDescription(Aws::String &&value)
UpdateApplicationRequest & WithStatus(ApplicationStatus &&value)
UpdateApplicationRequest & WithPortalOptions(const UpdateApplicationPortalOptions &value)
UpdateApplicationRequest & WithName(Aws::String &&value)
UpdateApplicationRequest & WithPortalOptions(UpdateApplicationPortalOptions &&value)
UpdateApplicationRequest & WithApplicationArn(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateApplicationRequest & WithDescription(const Aws::String &value)
AWS_SSOADMIN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateApplicationRequest & WithApplicationArn(Aws::String &&value)
UpdateApplicationRequest & WithDescription(const char *value)
UpdateApplicationRequest & WithStatus(const ApplicationStatus &value)
AWS_SSOADMIN_API Aws::String SerializePayload() const override
void SetPortalOptions(UpdateApplicationPortalOptions &&value)
void SetPortalOptions(const UpdateApplicationPortalOptions &value)
UpdateApplicationRequest & WithName(const Aws::String &value)
const UpdateApplicationPortalOptions & GetPortalOptions() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String