AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = 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 "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 template<typename IdentityStoreIdT = Aws::String>
44 void SetIdentityStoreId(IdentityStoreIdT&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::forward<IdentityStoreIdT>(value); }
45 template<typename IdentityStoreIdT = Aws::String>
46 CreateGroupRequest& WithIdentityStoreId(IdentityStoreIdT&& value) { SetIdentityStoreId(std::forward<IdentityStoreIdT>(value)); return *this;}
48
50
56 inline const Aws::String& GetDisplayName() const { return m_displayName; }
57 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
58 template<typename DisplayNameT = Aws::String>
59 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
60 template<typename DisplayNameT = Aws::String>
61 CreateGroupRequest& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
63
65
68 inline const Aws::String& GetDescription() const { return m_description; }
69 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
70 template<typename DescriptionT = Aws::String>
71 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
72 template<typename DescriptionT = Aws::String>
73 CreateGroupRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
75 private:
76
77 Aws::String m_identityStoreId;
78 bool m_identityStoreIdHasBeenSet = false;
79
80 Aws::String m_displayName;
81 bool m_displayNameHasBeenSet = false;
82
83 Aws::String m_description;
84 bool m_descriptionHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace IdentityStore
89} // namespace Aws
CreateGroupRequest & WithDisplayName(DisplayNameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_IDENTITYSTORE_API Aws::String SerializePayload() const override
void SetIdentityStoreId(IdentityStoreIdT &&value)
CreateGroupRequest & WithDescription(DescriptionT &&value)
AWS_IDENTITYSTORE_API CreateGroupRequest()=default
AWS_IDENTITYSTORE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateGroupRequest & WithIdentityStoreId(IdentityStoreIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String