AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
44 inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
45 inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
46 inline UpdateGroupRequest& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
47 inline UpdateGroupRequest& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
48 inline UpdateGroupRequest& WithGroupName(const char* value) { SetGroupName(value); return *this;}
50
52
55 inline const Aws::String& GetUserPoolId() const{ return m_userPoolId; }
56 inline bool UserPoolIdHasBeenSet() const { return m_userPoolIdHasBeenSet; }
57 inline void SetUserPoolId(const Aws::String& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = value; }
58 inline void SetUserPoolId(Aws::String&& value) { m_userPoolIdHasBeenSet = true; m_userPoolId = std::move(value); }
59 inline void SetUserPoolId(const char* value) { m_userPoolIdHasBeenSet = true; m_userPoolId.assign(value); }
60 inline UpdateGroupRequest& WithUserPoolId(const Aws::String& value) { SetUserPoolId(value); return *this;}
61 inline UpdateGroupRequest& WithUserPoolId(Aws::String&& value) { SetUserPoolId(std::move(value)); return *this;}
62 inline UpdateGroupRequest& WithUserPoolId(const char* value) { SetUserPoolId(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 UpdateGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
75 inline UpdateGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
76 inline UpdateGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
78
80
85 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
86 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
87 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
88 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
89 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
90 inline UpdateGroupRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
91 inline UpdateGroupRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
92 inline UpdateGroupRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
94
96
101 inline int GetPrecedence() const{ return m_precedence; }
102 inline bool PrecedenceHasBeenSet() const { return m_precedenceHasBeenSet; }
103 inline void SetPrecedence(int value) { m_precedenceHasBeenSet = true; m_precedence = value; }
104 inline UpdateGroupRequest& WithPrecedence(int value) { SetPrecedence(value); return *this;}
106 private:
107
108 Aws::String m_groupName;
109 bool m_groupNameHasBeenSet = false;
110
111 Aws::String m_userPoolId;
112 bool m_userPoolIdHasBeenSet = false;
113
114 Aws::String m_description;
115 bool m_descriptionHasBeenSet = false;
116
117 Aws::String m_roleArn;
118 bool m_roleArnHasBeenSet = false;
119
120 int m_precedence;
121 bool m_precedenceHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace CognitoIdentityProvider
126} // namespace Aws
UpdateGroupRequest & WithGroupName(const Aws::String &value)
UpdateGroupRequest & WithUserPoolId(const Aws::String &value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateGroupRequest & WithDescription(const Aws::String &value)
AWS_COGNITOIDENTITYPROVIDER_API Aws::String SerializePayload() const override
UpdateGroupRequest & WithGroupName(const char *value)
UpdateGroupRequest & WithRoleArn(const char *value)
UpdateGroupRequest & WithRoleArn(const Aws::String &value)
UpdateGroupRequest & WithDescription(Aws::String &&value)
UpdateGroupRequest & WithRoleArn(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateGroupRequest & WithDescription(const char *value)
AWS_COGNITOIDENTITYPROVIDER_API UpdateGroupRequest()
UpdateGroupRequest & WithUserPoolId(Aws::String &&value)
UpdateGroupRequest & WithGroupName(Aws::String &&value)
UpdateGroupRequest & WithUserPoolId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String