AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
CreateGroupRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/identitystore/IdentityStoreRequest.h>
9#include <aws/identitystore/IdentityStore_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace IdentityStore {
15namespace Model {
16
20 public:
21 AWS_IDENTITYSTORE_API CreateGroupRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "CreateGroup"; }
28
29 AWS_IDENTITYSTORE_API Aws::String SerializePayload() const override;
30
31 AWS_IDENTITYSTORE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
32
34
40 inline const Aws::String& GetIdentityStoreId() const { return m_identityStoreId; }
41 inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; }
42 template <typename IdentityStoreIdT = Aws::String>
43 void SetIdentityStoreId(IdentityStoreIdT&& value) {
44 m_identityStoreIdHasBeenSet = true;
45 m_identityStoreId = std::forward<IdentityStoreIdT>(value);
46 }
47 template <typename IdentityStoreIdT = Aws::String>
48 CreateGroupRequest& WithIdentityStoreId(IdentityStoreIdT&& value) {
49 SetIdentityStoreId(std::forward<IdentityStoreIdT>(value));
50 return *this;
51 }
53
55
61 inline const Aws::String& GetDisplayName() const { return m_displayName; }
62 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
63 template <typename DisplayNameT = Aws::String>
64 void SetDisplayName(DisplayNameT&& value) {
65 m_displayNameHasBeenSet = true;
66 m_displayName = std::forward<DisplayNameT>(value);
67 }
68 template <typename DisplayNameT = Aws::String>
69 CreateGroupRequest& WithDisplayName(DisplayNameT&& value) {
70 SetDisplayName(std::forward<DisplayNameT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetDescription() const { return m_description; }
80 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
81 template <typename DescriptionT = Aws::String>
82 void SetDescription(DescriptionT&& value) {
83 m_descriptionHasBeenSet = true;
84 m_description = std::forward<DescriptionT>(value);
85 }
86 template <typename DescriptionT = Aws::String>
87 CreateGroupRequest& WithDescription(DescriptionT&& value) {
88 SetDescription(std::forward<DescriptionT>(value));
89 return *this;
90 }
92 private:
93 Aws::String m_identityStoreId;
94
95 Aws::String m_displayName;
96
97 Aws::String m_description;
98 bool m_identityStoreIdHasBeenSet = false;
99 bool m_displayNameHasBeenSet = false;
100 bool m_descriptionHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace IdentityStore
105} // 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