AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateGroupRequest.h
1
6#pragma once
7#include <aws/identitystore/IdentityStore_EXPORTS.h>
8#include <aws/identitystore/IdentityStoreRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace IdentityStore
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_IDENTITYSTORE_API CreateGroupRequest();
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 "CreateGroup"; }
31
32 AWS_IDENTITYSTORE_API Aws::String SerializePayload() const override;
33
34 AWS_IDENTITYSTORE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
41 inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; }
42 inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; }
43 inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; }
44 inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); }
45 inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); }
46 inline CreateGroupRequest& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;}
47 inline CreateGroupRequest& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;}
48 inline CreateGroupRequest& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;}
50
52
58 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
59 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
60 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
61 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
62 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
63 inline CreateGroupRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
64 inline CreateGroupRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
65 inline CreateGroupRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
67
69
72 inline const Aws::String& GetDescription() const{ return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
75 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
76 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
77 inline CreateGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
78 inline CreateGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
79 inline CreateGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
81 private:
82
83 Aws::String m_identityStoreId;
84 bool m_identityStoreIdHasBeenSet = false;
85
86 Aws::String m_displayName;
87 bool m_displayNameHasBeenSet = false;
88
89 Aws::String m_description;
90 bool m_descriptionHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace IdentityStore
95} // namespace Aws
CreateGroupRequest & WithDescription(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateGroupRequest & WithDisplayName(const char *value)
AWS_IDENTITYSTORE_API Aws::String SerializePayload() const override
CreateGroupRequest & WithDisplayName(const Aws::String &value)
CreateGroupRequest & WithIdentityStoreId(const Aws::String &value)
CreateGroupRequest & WithIdentityStoreId(const char *value)
void SetDescription(const Aws::String &value)
void SetIdentityStoreId(const Aws::String &value)
CreateGroupRequest & WithDescription(const char *value)
AWS_IDENTITYSTORE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateGroupRequest & WithDescription(const Aws::String &value)
CreateGroupRequest & WithDisplayName(Aws::String &&value)
CreateGroupRequest & WithIdentityStoreId(Aws::String &&value)
void SetDisplayName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String