AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateGroupRequest.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/identitystore/model/AttributeOperation.h>
12#include <utility>
13
14namespace Aws
15{
16namespace IdentityStore
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_IDENTITYSTORE_API UpdateGroupRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateGroup"; }
33
34 AWS_IDENTITYSTORE_API Aws::String SerializePayload() const override;
35
36 AWS_IDENTITYSTORE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::String& GetIdentityStoreId() const { return m_identityStoreId; }
44 inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; }
45 template<typename IdentityStoreIdT = Aws::String>
46 void SetIdentityStoreId(IdentityStoreIdT&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::forward<IdentityStoreIdT>(value); }
47 template<typename IdentityStoreIdT = Aws::String>
48 UpdateGroupRequest& WithIdentityStoreId(IdentityStoreIdT&& value) { SetIdentityStoreId(std::forward<IdentityStoreIdT>(value)); return *this;}
50
52
55 inline const Aws::String& GetGroupId() const { return m_groupId; }
56 inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
57 template<typename GroupIdT = Aws::String>
58 void SetGroupId(GroupIdT&& value) { m_groupIdHasBeenSet = true; m_groupId = std::forward<GroupIdT>(value); }
59 template<typename GroupIdT = Aws::String>
60 UpdateGroupRequest& WithGroupId(GroupIdT&& value) { SetGroupId(std::forward<GroupIdT>(value)); return *this;}
62
64
68 inline const Aws::Vector<AttributeOperation>& GetOperations() const { return m_operations; }
69 inline bool OperationsHasBeenSet() const { return m_operationsHasBeenSet; }
70 template<typename OperationsT = Aws::Vector<AttributeOperation>>
71 void SetOperations(OperationsT&& value) { m_operationsHasBeenSet = true; m_operations = std::forward<OperationsT>(value); }
72 template<typename OperationsT = Aws::Vector<AttributeOperation>>
73 UpdateGroupRequest& WithOperations(OperationsT&& value) { SetOperations(std::forward<OperationsT>(value)); return *this;}
74 template<typename OperationsT = AttributeOperation>
75 UpdateGroupRequest& AddOperations(OperationsT&& value) { m_operationsHasBeenSet = true; m_operations.emplace_back(std::forward<OperationsT>(value)); return *this; }
77 private:
78
79 Aws::String m_identityStoreId;
80 bool m_identityStoreIdHasBeenSet = false;
81
82 Aws::String m_groupId;
83 bool m_groupIdHasBeenSet = false;
84
86 bool m_operationsHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace IdentityStore
91} // namespace Aws
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