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/workmail/WorkMailRequest.h>
9#include <aws/workmail/WorkMail_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace WorkMail {
15namespace Model {
16
20 public:
21 AWS_WORKMAIL_API UpdateGroupRequest() = 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 "UpdateGroup"; }
28
29 AWS_WORKMAIL_API Aws::String SerializePayload() const override;
30
32
34
37 inline const Aws::String& GetOrganizationId() const { return m_organizationId; }
38 inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; }
39 template <typename OrganizationIdT = Aws::String>
40 void SetOrganizationId(OrganizationIdT&& value) {
41 m_organizationIdHasBeenSet = true;
42 m_organizationId = std::forward<OrganizationIdT>(value);
43 }
44 template <typename OrganizationIdT = Aws::String>
45 UpdateGroupRequest& WithOrganizationId(OrganizationIdT&& value) {
46 SetOrganizationId(std::forward<OrganizationIdT>(value));
47 return *this;
48 }
50
52
60 inline const Aws::String& GetGroupId() const { return m_groupId; }
61 inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
62 template <typename GroupIdT = Aws::String>
63 void SetGroupId(GroupIdT&& value) {
64 m_groupIdHasBeenSet = true;
65 m_groupId = std::forward<GroupIdT>(value);
66 }
67 template <typename GroupIdT = Aws::String>
68 UpdateGroupRequest& WithGroupId(GroupIdT&& value) {
69 SetGroupId(std::forward<GroupIdT>(value));
70 return *this;
71 }
73
75
78 inline bool GetHiddenFromGlobalAddressList() const { return m_hiddenFromGlobalAddressList; }
79 inline bool HiddenFromGlobalAddressListHasBeenSet() const { return m_hiddenFromGlobalAddressListHasBeenSet; }
80 inline void SetHiddenFromGlobalAddressList(bool value) {
81 m_hiddenFromGlobalAddressListHasBeenSet = true;
82 m_hiddenFromGlobalAddressList = value;
83 }
86 return *this;
87 }
89 private:
90 Aws::String m_organizationId;
91
92 Aws::String m_groupId;
93
94 bool m_hiddenFromGlobalAddressList{false};
95 bool m_organizationIdHasBeenSet = false;
96 bool m_groupIdHasBeenSet = false;
97 bool m_hiddenFromGlobalAddressListHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace WorkMail
102} // namespace Aws
AWS_WORKMAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_WORKMAIL_API Aws::String SerializePayload() const override
void SetOrganizationId(OrganizationIdT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetOrganizationId() const
AWS_WORKMAIL_API UpdateGroupRequest()=default
UpdateGroupRequest & WithGroupId(GroupIdT &&value)
UpdateGroupRequest & WithOrganizationId(OrganizationIdT &&value)
UpdateGroupRequest & WithHiddenFromGlobalAddressList(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String