AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdatePermissionSetRequest.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 <utility>
11
12namespace Aws
13{
14namespace SSOAdmin
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_SSOADMIN_API UpdatePermissionSetRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdatePermissionSet"; }
31
32 AWS_SSOADMIN_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetDescription() const{ return m_description; }
42 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
43 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
44 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
45 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
46 inline UpdatePermissionSetRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
47 inline UpdatePermissionSetRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
48 inline UpdatePermissionSetRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
50
52
59 inline const Aws::String& GetInstanceArn() const{ return m_instanceArn; }
60 inline bool InstanceArnHasBeenSet() const { return m_instanceArnHasBeenSet; }
61 inline void SetInstanceArn(const Aws::String& value) { m_instanceArnHasBeenSet = true; m_instanceArn = value; }
62 inline void SetInstanceArn(Aws::String&& value) { m_instanceArnHasBeenSet = true; m_instanceArn = std::move(value); }
63 inline void SetInstanceArn(const char* value) { m_instanceArnHasBeenSet = true; m_instanceArn.assign(value); }
64 inline UpdatePermissionSetRequest& WithInstanceArn(const Aws::String& value) { SetInstanceArn(value); return *this;}
65 inline UpdatePermissionSetRequest& WithInstanceArn(Aws::String&& value) { SetInstanceArn(std::move(value)); return *this;}
66 inline UpdatePermissionSetRequest& WithInstanceArn(const char* value) { SetInstanceArn(value); return *this;}
68
70
73 inline const Aws::String& GetPermissionSetArn() const{ return m_permissionSetArn; }
74 inline bool PermissionSetArnHasBeenSet() const { return m_permissionSetArnHasBeenSet; }
75 inline void SetPermissionSetArn(const Aws::String& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = value; }
76 inline void SetPermissionSetArn(Aws::String&& value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn = std::move(value); }
77 inline void SetPermissionSetArn(const char* value) { m_permissionSetArnHasBeenSet = true; m_permissionSetArn.assign(value); }
79 inline UpdatePermissionSetRequest& WithPermissionSetArn(Aws::String&& value) { SetPermissionSetArn(std::move(value)); return *this;}
80 inline UpdatePermissionSetRequest& WithPermissionSetArn(const char* value) { SetPermissionSetArn(value); return *this;}
82
84
88 inline const Aws::String& GetRelayState() const{ return m_relayState; }
89 inline bool RelayStateHasBeenSet() const { return m_relayStateHasBeenSet; }
90 inline void SetRelayState(const Aws::String& value) { m_relayStateHasBeenSet = true; m_relayState = value; }
91 inline void SetRelayState(Aws::String&& value) { m_relayStateHasBeenSet = true; m_relayState = std::move(value); }
92 inline void SetRelayState(const char* value) { m_relayStateHasBeenSet = true; m_relayState.assign(value); }
93 inline UpdatePermissionSetRequest& WithRelayState(const Aws::String& value) { SetRelayState(value); return *this;}
94 inline UpdatePermissionSetRequest& WithRelayState(Aws::String&& value) { SetRelayState(std::move(value)); return *this;}
95 inline UpdatePermissionSetRequest& WithRelayState(const char* value) { SetRelayState(value); return *this;}
97
99
103 inline const Aws::String& GetSessionDuration() const{ return m_sessionDuration; }
104 inline bool SessionDurationHasBeenSet() const { return m_sessionDurationHasBeenSet; }
105 inline void SetSessionDuration(const Aws::String& value) { m_sessionDurationHasBeenSet = true; m_sessionDuration = value; }
106 inline void SetSessionDuration(Aws::String&& value) { m_sessionDurationHasBeenSet = true; m_sessionDuration = std::move(value); }
107 inline void SetSessionDuration(const char* value) { m_sessionDurationHasBeenSet = true; m_sessionDuration.assign(value); }
109 inline UpdatePermissionSetRequest& WithSessionDuration(Aws::String&& value) { SetSessionDuration(std::move(value)); return *this;}
110 inline UpdatePermissionSetRequest& WithSessionDuration(const char* value) { SetSessionDuration(value); return *this;}
112 private:
113
114 Aws::String m_description;
115 bool m_descriptionHasBeenSet = false;
116
117 Aws::String m_instanceArn;
118 bool m_instanceArnHasBeenSet = false;
119
120 Aws::String m_permissionSetArn;
121 bool m_permissionSetArnHasBeenSet = false;
122
123 Aws::String m_relayState;
124 bool m_relayStateHasBeenSet = false;
125
126 Aws::String m_sessionDuration;
127 bool m_sessionDurationHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace SSOAdmin
132} // namespace Aws
UpdatePermissionSetRequest & WithDescription(Aws::String &&value)
UpdatePermissionSetRequest & WithSessionDuration(Aws::String &&value)
UpdatePermissionSetRequest & WithPermissionSetArn(const char *value)
UpdatePermissionSetRequest & WithRelayState(Aws::String &&value)
UpdatePermissionSetRequest & WithRelayState(const char *value)
UpdatePermissionSetRequest & WithInstanceArn(Aws::String &&value)
UpdatePermissionSetRequest & WithPermissionSetArn(const Aws::String &value)
UpdatePermissionSetRequest & WithSessionDuration(const Aws::String &value)
UpdatePermissionSetRequest & WithPermissionSetArn(Aws::String &&value)
UpdatePermissionSetRequest & WithDescription(const char *value)
AWS_SSOADMIN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SSOADMIN_API Aws::String SerializePayload() const override
UpdatePermissionSetRequest & WithSessionDuration(const char *value)
UpdatePermissionSetRequest & WithInstanceArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdatePermissionSetRequest & WithInstanceArn(const char *value)
UpdatePermissionSetRequest & WithDescription(const Aws::String &value)
UpdatePermissionSetRequest & WithRelayState(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String