AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisassociateIpGroupsRequest.h
1
6#pragma once
7#include <aws/workspaces/WorkSpaces_EXPORTS.h>
8#include <aws/workspaces/WorkSpacesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace WorkSpaces
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_WORKSPACES_API DisassociateIpGroupsRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DisassociateIpGroups"; }
32
33 AWS_WORKSPACES_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetDirectoryId() const{ return m_directoryId; }
43 inline bool DirectoryIdHasBeenSet() const { return m_directoryIdHasBeenSet; }
44 inline void SetDirectoryId(const Aws::String& value) { m_directoryIdHasBeenSet = true; m_directoryId = value; }
45 inline void SetDirectoryId(Aws::String&& value) { m_directoryIdHasBeenSet = true; m_directoryId = std::move(value); }
46 inline void SetDirectoryId(const char* value) { m_directoryIdHasBeenSet = true; m_directoryId.assign(value); }
47 inline DisassociateIpGroupsRequest& WithDirectoryId(const Aws::String& value) { SetDirectoryId(value); return *this;}
48 inline DisassociateIpGroupsRequest& WithDirectoryId(Aws::String&& value) { SetDirectoryId(std::move(value)); return *this;}
49 inline DisassociateIpGroupsRequest& WithDirectoryId(const char* value) { SetDirectoryId(value); return *this;}
51
53
56 inline const Aws::Vector<Aws::String>& GetGroupIds() const{ return m_groupIds; }
57 inline bool GroupIdsHasBeenSet() const { return m_groupIdsHasBeenSet; }
58 inline void SetGroupIds(const Aws::Vector<Aws::String>& value) { m_groupIdsHasBeenSet = true; m_groupIds = value; }
59 inline void SetGroupIds(Aws::Vector<Aws::String>&& value) { m_groupIdsHasBeenSet = true; m_groupIds = std::move(value); }
61 inline DisassociateIpGroupsRequest& WithGroupIds(Aws::Vector<Aws::String>&& value) { SetGroupIds(std::move(value)); return *this;}
62 inline DisassociateIpGroupsRequest& AddGroupIds(const Aws::String& value) { m_groupIdsHasBeenSet = true; m_groupIds.push_back(value); return *this; }
63 inline DisassociateIpGroupsRequest& AddGroupIds(Aws::String&& value) { m_groupIdsHasBeenSet = true; m_groupIds.push_back(std::move(value)); return *this; }
64 inline DisassociateIpGroupsRequest& AddGroupIds(const char* value) { m_groupIdsHasBeenSet = true; m_groupIds.push_back(value); return *this; }
66 private:
67
68 Aws::String m_directoryId;
69 bool m_directoryIdHasBeenSet = false;
70
71 Aws::Vector<Aws::String> m_groupIds;
72 bool m_groupIdsHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace WorkSpaces
77} // namespace Aws
DisassociateIpGroupsRequest & AddGroupIds(const Aws::String &value)
AWS_WORKSPACES_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetGroupIds() const
DisassociateIpGroupsRequest & AddGroupIds(const char *value)
DisassociateIpGroupsRequest & WithDirectoryId(const Aws::String &value)
DisassociateIpGroupsRequest & AddGroupIds(Aws::String &&value)
DisassociateIpGroupsRequest & WithGroupIds(Aws::Vector< Aws::String > &&value)
DisassociateIpGroupsRequest & WithGroupIds(const Aws::Vector< Aws::String > &value)
DisassociateIpGroupsRequest & WithDirectoryId(const char *value)
void SetGroupIds(const Aws::Vector< Aws::String > &value)
DisassociateIpGroupsRequest & WithDirectoryId(Aws::String &&value)
AWS_WORKSPACES_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() 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