7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/workspaces/WorkSpaces_EXPORTS.h>
11#include <aws/workspaces/model/IpRuleItem.h>
32 AWS_WORKSPACES_API
WorkspacesIpGroup(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_WORKSPACES_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
42 template <
typename GroupIdT = Aws::String>
44 m_groupIdHasBeenSet =
true;
45 m_groupId = std::forward<GroupIdT>(value);
47 template <
typename GroupIdT = Aws::String>
60 template <
typename GroupNameT = Aws::String>
62 m_groupNameHasBeenSet =
true;
63 m_groupName = std::forward<GroupNameT>(value);
65 template <
typename GroupNameT = Aws::String>
78 template <
typename GroupDescT = Aws::String>
80 m_groupDescHasBeenSet =
true;
81 m_groupDesc = std::forward<GroupDescT>(value);
83 template <
typename GroupDescT = Aws::String>
96 template <
typename UserRulesT = Aws::Vector<IpRuleItem>>
98 m_userRulesHasBeenSet =
true;
99 m_userRules = std::forward<UserRulesT>(value);
101 template <
typename UserRulesT = Aws::Vector<IpRuleItem>>
106 template <
typename UserRulesT = IpRuleItem>
108 m_userRulesHasBeenSet =
true;
109 m_userRules.emplace_back(std::forward<UserRulesT>(value));
121 bool m_groupIdHasBeenSet =
false;
122 bool m_groupNameHasBeenSet =
false;
123 bool m_groupDescHasBeenSet =
false;
124 bool m_userRulesHasBeenSet =
false;
void SetGroupId(GroupIdT &&value)
const Aws::String & GetGroupDesc() const
const Aws::Vector< IpRuleItem > & GetUserRules() const
AWS_WORKSPACES_API WorkspacesIpGroup(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_WORKSPACES_API WorkspacesIpGroup & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetGroupDesc(GroupDescT &&value)
AWS_WORKSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
WorkspacesIpGroup & WithGroupId(GroupIdT &&value)
const Aws::String & GetGroupName() const
WorkspacesIpGroup & WithGroupName(GroupNameT &&value)
bool GroupDescHasBeenSet() const
const Aws::String & GetGroupId() const
bool GroupNameHasBeenSet() const
bool UserRulesHasBeenSet() const
void SetGroupName(GroupNameT &&value)
AWS_WORKSPACES_API WorkspacesIpGroup()=default
void SetUserRules(UserRulesT &&value)
WorkspacesIpGroup & AddUserRules(UserRulesT &&value)
WorkspacesIpGroup & WithUserRules(UserRulesT &&value)
WorkspacesIpGroup & WithGroupDesc(GroupDescT &&value)
bool GroupIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector