AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateGroupRequest.h
1
6#pragma once
7#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
8#include <aws/cognito-idp/CognitoIdentityProviderRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace CognitoIdentityProvider
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_COGNITOIDENTITYPROVIDER_API UpdateGroupRequest() = default;
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 "UpdateGroup"; }
31
32 AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override;
33
34 AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
41 inline const Aws::String& GetGroupName() const { return m_groupName; }
42 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
43 template<typename GroupNameT = Aws::String>
44 void SetGroupName(GroupNameT&& value) { m_groupNameHasBeenSet = true; m_groupName = std::forward<GroupNameT>(value); }
45 template<typename GroupNameT = Aws::String>
46 UpdateGroupRequest& WithGroupName(GroupNameT&& value) { SetGroupName(std::forward<GroupNameT>(value)); return *this;}
48
50
53 inline const Aws::String& GetUserPoolId() const { return m_userPoolId; }
54 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
55 template<typename UserPoolIdT = Aws::String>
56 void SetUserPoolId(UserPoolIdT&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = std::forward<UserPoolIdT>(value); }
57 template<typename UserPoolIdT = Aws::String>
58 UpdateGroupRequest& WithUserPoolId(UserPoolIdT&& value) { SetUserPoolId(std::forward<UserPoolIdT>(value)); return *this;}
60
62
65 inline const Aws::String& GetDescription() const { return m_description; }
66 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
67 template<typename DescriptionT = Aws::String>
68 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
69 template<typename DescriptionT = Aws::String>
70 UpdateGroupRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
72
74
79 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
80 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
81 template<typename RoleArnT = Aws::String>
82 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
83 template<typename RoleArnT = Aws::String>
84 UpdateGroupRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
86
88
105 inline int GetPrecedence() const { return m_precedence; }
106 inline bool PrecedenceHasBeenSet() const { return m_precedenceHasBeenSet; }
107 inline void SetPrecedence(int value) { m_precedenceHasBeenSet = true; m_precedence = value; }
108 inline UpdateGroupRequest& WithPrecedence(int value) { SetPrecedence(value); return *this;}
110 private:
111
112 Aws::String m_groupName;
113 bool m_groupNameHasBeenSet = false;
114
115 Aws::String m_userPoolId;
116 bool m_userPoolIdHasBeenSet = false;
117
118 Aws::String m_description;
119 bool m_descriptionHasBeenSet = false;
120
121 Aws::String m_roleArn;
122 bool m_roleArnHasBeenSet = false;
123
124 int m_precedence{0};
125 bool m_precedenceHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace CognitoIdentityProvider
130} // namespace Aws
UpdateGroupRequest & WithUserPoolId(UserPoolIdT &&value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
UpdateGroupRequest & WithGroupName(GroupNameT &&value)
UpdateGroupRequest & WithRoleArn(RoleArnT &&value)
UpdateGroupRequest & WithDescription(DescriptionT &&value)
virtual const char * GetServiceRequestName() const override
AWS_COGNITOIDENTITYPROVIDER_API UpdateGroupRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String