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 <aws/workspaces/model/IpRuleItem.h>
45 template<
typename GroupIdT = Aws::String>
46 void SetGroupId(GroupIdT&& value) { m_groupIdHasBeenSet =
true; m_groupId = std::forward<GroupIdT>(value); }
47 template<
typename GroupIdT = Aws::String>
57 template<
typename UserRulesT = Aws::Vector<IpRuleItem>>
58 void SetUserRules(UserRulesT&& value) { m_userRulesHasBeenSet =
true; m_userRules = std::forward<UserRulesT>(value); }
59 template<
typename UserRulesT = Aws::Vector<IpRuleItem>>
61 template<
typename UserRulesT = IpRuleItem>
67 bool m_groupIdHasBeenSet =
false;
70 bool m_userRulesHasBeenSet =
false;
bool GroupIdHasBeenSet() const
bool UserRulesHasBeenSet() const
AuthorizeIpRulesRequest & AddUserRules(UserRulesT &&value)
AuthorizeIpRulesRequest & WithGroupId(GroupIdT &&value)
const Aws::Vector< IpRuleItem > & GetUserRules() const
void SetGroupId(GroupIdT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetGroupId() const
void SetUserRules(UserRulesT &&value)
AWS_WORKSPACES_API Aws::String SerializePayload() const override
AWS_WORKSPACES_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_WORKSPACES_API AuthorizeIpRulesRequest()=default
AuthorizeIpRulesRequest & WithUserRules(UserRulesT &&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