7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iam/IAMRequest.h>
9#include <aws/iam/IAM_EXPORTS.h>
10#include <aws/iam/model/DelegationPermission.h>
46 template <
typename OwnerAccountIdT = Aws::String>
48 m_ownerAccountIdHasBeenSet =
true;
49 m_ownerAccountId = std::forward<OwnerAccountIdT>(value);
51 template <
typename OwnerAccountIdT = Aws::String>
64 template <
typename DescriptionT = Aws::String>
66 m_descriptionHasBeenSet =
true;
67 m_description = std::forward<DescriptionT>(value);
69 template <
typename DescriptionT = Aws::String>
82 template <
typename PermissionsT = DelegationPermission>
84 m_permissionsHasBeenSet =
true;
85 m_permissions = std::forward<PermissionsT>(value);
87 template <
typename PermissionsT = DelegationPermission>
105 template <
typename RequestMessageT = Aws::String>
107 m_requestMessageHasBeenSet =
true;
108 m_requestMessage = std::forward<RequestMessageT>(value);
110 template <
typename RequestMessageT = Aws::String>
127 template <
typename RequestorWorkflowIdT = Aws::String>
129 m_requestorWorkflowIdHasBeenSet =
true;
130 m_requestorWorkflowId = std::forward<RequestorWorkflowIdT>(value);
132 template <
typename RequestorWorkflowIdT = Aws::String>
147 template <
typename RedirectUrlT = Aws::String>
149 m_redirectUrlHasBeenSet =
true;
150 m_redirectUrl = std::forward<RedirectUrlT>(value);
152 template <
typename RedirectUrlT = Aws::String>
170 template <
typename NotificationChannelT = Aws::String>
172 m_notificationChannelHasBeenSet =
true;
173 m_notificationChannel = std::forward<NotificationChannelT>(value);
175 template <
typename NotificationChannelT = Aws::String>
193 m_sessionDurationHasBeenSet =
true;
194 m_sessionDuration = value;
215 m_onlySendByOwnerHasBeenSet =
true;
216 m_onlySendByOwner = value;
238 int m_sessionDuration{0};
240 bool m_onlySendByOwner{
false};
241 bool m_ownerAccountIdHasBeenSet =
false;
242 bool m_descriptionHasBeenSet =
false;
243 bool m_permissionsHasBeenSet =
false;
244 bool m_requestMessageHasBeenSet =
false;
245 bool m_requestorWorkflowIdHasBeenSet =
false;
246 bool m_redirectUrlHasBeenSet =
false;
247 bool m_notificationChannelHasBeenSet =
false;
248 bool m_sessionDurationHasBeenSet =
false;
249 bool m_onlySendByOwnerHasBeenSet =
false;
int GetSessionDuration() const
bool GetOnlySendByOwner() const
bool RedirectUrlHasBeenSet() const
CreateDelegationRequestRequest & WithRequestMessage(RequestMessageT &&value)
void SetOwnerAccountId(OwnerAccountIdT &&value)
bool DescriptionHasBeenSet() const
bool NotificationChannelHasBeenSet() const
bool OnlySendByOwnerHasBeenSet() const
void SetDescription(DescriptionT &&value)
CreateDelegationRequestRequest & WithOwnerAccountId(OwnerAccountIdT &&value)
void SetPermissions(PermissionsT &&value)
CreateDelegationRequestRequest & WithSessionDuration(int value)
AWS_IAM_API CreateDelegationRequestRequest()=default
bool RequestorWorkflowIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateDelegationRequestRequest & WithDescription(DescriptionT &&value)
void SetNotificationChannel(NotificationChannelT &&value)
bool SessionDurationHasBeenSet() const
CreateDelegationRequestRequest & WithRequestorWorkflowId(RequestorWorkflowIdT &&value)
const Aws::String & GetOwnerAccountId() const
const Aws::String & GetNotificationChannel() const
const DelegationPermission & GetPermissions() const
CreateDelegationRequestRequest & WithNotificationChannel(NotificationChannelT &&value)
void SetSessionDuration(int value)
void SetRequestMessage(RequestMessageT &&value)
bool RequestMessageHasBeenSet() const
AWS_IAM_API Aws::String SerializePayload() const override
void SetRedirectUrl(RedirectUrlT &&value)
void SetOnlySendByOwner(bool value)
bool OwnerAccountIdHasBeenSet() const
const Aws::String & GetRequestMessage() const
CreateDelegationRequestRequest & WithOnlySendByOwner(bool value)
bool PermissionsHasBeenSet() const
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetRedirectUrl() const
CreateDelegationRequestRequest & WithPermissions(PermissionsT &&value)
CreateDelegationRequestRequest & WithRedirectUrl(RedirectUrlT &&value)
const Aws::String & GetDescription() const
void SetRequestorWorkflowId(RequestorWorkflowIdT &&value)
const Aws::String & GetRequestorWorkflowId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String