AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; }
46 inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); }
47 inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); }
48 inline UpdateGroupRequest& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;}
49 inline UpdateGroupRequest& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;}
50 inline UpdateGroupRequest& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;}
52
54
57 inline const Aws::String& GetGroupId() const{ return m_groupId; }
58 inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
59 inline void SetGroupId(const Aws::String& value) { m_groupIdHasBeenSet = true; m_groupId = value; }
60 inline void SetGroupId(Aws::String&& value) { m_groupIdHasBeenSet = true; m_groupId = std::move(value); }
61 inline void SetGroupId(const char* value) { m_groupIdHasBeenSet = true; m_groupId.assign(value); }
62 inline UpdateGroupRequest& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;}
63 inline UpdateGroupRequest& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;}
64 inline UpdateGroupRequest& WithGroupId(const char* value) { SetGroupId(value); return *this;}
66
68
72 inline const Aws::Vector<AttributeOperation>& GetOperations() const{ return m_operations; }
73 inline bool OperationsHasBeenSet() const { return m_operationsHasBeenSet; }
74 inline void SetOperations(const Aws::Vector<AttributeOperation>& value) { m_operationsHasBeenSet = true; m_operations = value; }
75 inline void SetOperations(Aws::Vector<AttributeOperation>&& value) { m_operationsHasBeenSet = true; m_operations = std::move(value); }
77 inline UpdateGroupRequest& WithOperations(Aws::Vector<AttributeOperation>&& value) { SetOperations(std::move(value)); return *this;}
78 inline UpdateGroupRequest& AddOperations(const AttributeOperation& value) { m_operationsHasBeenSet = true; m_operations.push_back(value); return *this; }
79 inline UpdateGroupRequest& AddOperations(AttributeOperation&& value) { m_operationsHasBeenSet = true; m_operations.push_back(std::move(value)); return *this; }
81 private:
82
83 Aws::String m_identityStoreId;
84 bool m_identityStoreIdHasBeenSet = false;
85
86 Aws::String m_groupId;
87 bool m_groupIdHasBeenSet = false;
88
90 bool m_operationsHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace IdentityStore
95} // namespace Aws
UpdateGroupRequest & WithIdentityStoreId(const char *value)
void SetOperations(const Aws::Vector< AttributeOperation > &value)
const Aws::Vector< AttributeOperation > & GetOperations() const
UpdateGroupRequest & AddOperations(const AttributeOperation &value)
void SetOperations(Aws::Vector< AttributeOperation > &&value)
AWS_IDENTITYSTORE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateGroupRequest & WithOperations(const Aws::Vector< AttributeOperation > &value)
UpdateGroupRequest & WithGroupId(const char *value)
UpdateGroupRequest & WithOperations(Aws::Vector< AttributeOperation > &&value)
UpdateGroupRequest & WithIdentityStoreId(const Aws::String &value)
UpdateGroupRequest & WithGroupId(const Aws::String &value)
UpdateGroupRequest & AddOperations(AttributeOperation &&value)
void SetIdentityStoreId(const Aws::String &value)
UpdateGroupRequest & WithIdentityStoreId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_IDENTITYSTORE_API Aws::String SerializePayload() const override
UpdateGroupRequest & WithGroupId(Aws::String &&value)
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