AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
UpdateGroupRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/identitystore/IdentityStoreRequest.h>
10#include <aws/identitystore/IdentityStore_EXPORTS.h>
11#include <aws/identitystore/model/AttributeOperation.h>
12
13#include <utility>
14
15namespace Aws {
16namespace IdentityStore {
17namespace Model {
18
22 public:
23 AWS_IDENTITYSTORE_API UpdateGroupRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateGroup"; }
30
31 AWS_IDENTITYSTORE_API Aws::String SerializePayload() const override;
32
33 AWS_IDENTITYSTORE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
42 inline const Aws::String& GetIdentityStoreId() const { return m_identityStoreId; }
43 inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; }
44 template <typename IdentityStoreIdT = Aws::String>
45 void SetIdentityStoreId(IdentityStoreIdT&& value) {
46 m_identityStoreIdHasBeenSet = true;
47 m_identityStoreId = std::forward<IdentityStoreIdT>(value);
48 }
49 template <typename IdentityStoreIdT = Aws::String>
50 UpdateGroupRequest& WithIdentityStoreId(IdentityStoreIdT&& value) {
51 SetIdentityStoreId(std::forward<IdentityStoreIdT>(value));
52 return *this;
53 }
55
57
63 inline const Aws::String& GetGroupId() const { return m_groupId; }
64 inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
65 template <typename GroupIdT = Aws::String>
66 void SetGroupId(GroupIdT&& value) {
67 m_groupIdHasBeenSet = true;
68 m_groupId = std::forward<GroupIdT>(value);
69 }
70 template <typename GroupIdT = Aws::String>
71 UpdateGroupRequest& WithGroupId(GroupIdT&& value) {
72 SetGroupId(std::forward<GroupIdT>(value));
73 return *this;
74 }
76
78
84 inline const Aws::Vector<AttributeOperation>& GetOperations() const { return m_operations; }
85 inline bool OperationsHasBeenSet() const { return m_operationsHasBeenSet; }
86 template <typename OperationsT = Aws::Vector<AttributeOperation>>
87 void SetOperations(OperationsT&& value) {
88 m_operationsHasBeenSet = true;
89 m_operations = std::forward<OperationsT>(value);
90 }
91 template <typename OperationsT = Aws::Vector<AttributeOperation>>
92 UpdateGroupRequest& WithOperations(OperationsT&& value) {
93 SetOperations(std::forward<OperationsT>(value));
94 return *this;
95 }
96 template <typename OperationsT = AttributeOperation>
97 UpdateGroupRequest& AddOperations(OperationsT&& value) {
98 m_operationsHasBeenSet = true;
99 m_operations.emplace_back(std::forward<OperationsT>(value));
100 return *this;
101 }
103
105
112 inline const Aws::String& GetRevision() const { return m_revision; }
113 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
114 template <typename RevisionT = Aws::String>
115 void SetRevision(RevisionT&& value) {
116 m_revisionHasBeenSet = true;
117 m_revision = std::forward<RevisionT>(value);
118 }
119 template <typename RevisionT = Aws::String>
120 UpdateGroupRequest& WithRevision(RevisionT&& value) {
121 SetRevision(std::forward<RevisionT>(value));
122 return *this;
123 }
125 private:
126 Aws::String m_identityStoreId;
127
128 Aws::String m_groupId;
129
131
132 Aws::String m_revision;
133 bool m_identityStoreIdHasBeenSet = false;
134 bool m_groupIdHasBeenSet = false;
135 bool m_operationsHasBeenSet = false;
136 bool m_revisionHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace IdentityStore
141} // namespace Aws
UpdateGroupRequest & WithRevision(RevisionT &&value)
UpdateGroupRequest & WithOperations(OperationsT &&value)
void SetIdentityStoreId(IdentityStoreIdT &&value)
UpdateGroupRequest & WithGroupId(GroupIdT &&value)
UpdateGroupRequest & AddOperations(OperationsT &&value)
const Aws::Vector< AttributeOperation > & GetOperations() const
AWS_IDENTITYSTORE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateGroupRequest & WithIdentityStoreId(IdentityStoreIdT &&value)
AWS_IDENTITYSTORE_API UpdateGroupRequest()=default
virtual const char * GetServiceRequestName() const override
AWS_IDENTITYSTORE_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector