AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UserGroupsUpdateStatus.h
1
6#pragma once
7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace ElastiCache
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_ELASTICACHE_API UserGroupsUpdateStatus();
36 AWS_ELASTICACHE_API UserGroupsUpdateStatus(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_ELASTICACHE_API UserGroupsUpdateStatus& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::Vector<Aws::String>& GetUserGroupIdsToAdd() const{ return m_userGroupIdsToAdd; }
48 inline bool UserGroupIdsToAddHasBeenSet() const { return m_userGroupIdsToAddHasBeenSet; }
49 inline void SetUserGroupIdsToAdd(const Aws::Vector<Aws::String>& value) { m_userGroupIdsToAddHasBeenSet = true; m_userGroupIdsToAdd = value; }
50 inline void SetUserGroupIdsToAdd(Aws::Vector<Aws::String>&& value) { m_userGroupIdsToAddHasBeenSet = true; m_userGroupIdsToAdd = std::move(value); }
53 inline UserGroupsUpdateStatus& AddUserGroupIdsToAdd(const Aws::String& value) { m_userGroupIdsToAddHasBeenSet = true; m_userGroupIdsToAdd.push_back(value); return *this; }
54 inline UserGroupsUpdateStatus& AddUserGroupIdsToAdd(Aws::String&& value) { m_userGroupIdsToAddHasBeenSet = true; m_userGroupIdsToAdd.push_back(std::move(value)); return *this; }
55 inline UserGroupsUpdateStatus& AddUserGroupIdsToAdd(const char* value) { m_userGroupIdsToAddHasBeenSet = true; m_userGroupIdsToAdd.push_back(value); return *this; }
57
59
62 inline const Aws::Vector<Aws::String>& GetUserGroupIdsToRemove() const{ return m_userGroupIdsToRemove; }
63 inline bool UserGroupIdsToRemoveHasBeenSet() const { return m_userGroupIdsToRemoveHasBeenSet; }
64 inline void SetUserGroupIdsToRemove(const Aws::Vector<Aws::String>& value) { m_userGroupIdsToRemoveHasBeenSet = true; m_userGroupIdsToRemove = value; }
65 inline void SetUserGroupIdsToRemove(Aws::Vector<Aws::String>&& value) { m_userGroupIdsToRemoveHasBeenSet = true; m_userGroupIdsToRemove = std::move(value); }
68 inline UserGroupsUpdateStatus& AddUserGroupIdsToRemove(const Aws::String& value) { m_userGroupIdsToRemoveHasBeenSet = true; m_userGroupIdsToRemove.push_back(value); return *this; }
69 inline UserGroupsUpdateStatus& AddUserGroupIdsToRemove(Aws::String&& value) { m_userGroupIdsToRemoveHasBeenSet = true; m_userGroupIdsToRemove.push_back(std::move(value)); return *this; }
70 inline UserGroupsUpdateStatus& AddUserGroupIdsToRemove(const char* value) { m_userGroupIdsToRemoveHasBeenSet = true; m_userGroupIdsToRemove.push_back(value); return *this; }
72 private:
73
74 Aws::Vector<Aws::String> m_userGroupIdsToAdd;
75 bool m_userGroupIdsToAddHasBeenSet = false;
76
77 Aws::Vector<Aws::String> m_userGroupIdsToRemove;
78 bool m_userGroupIdsToRemoveHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace ElastiCache
83} // namespace Aws
UserGroupsUpdateStatus & AddUserGroupIdsToRemove(const Aws::String &value)
UserGroupsUpdateStatus & WithUserGroupIdsToRemove(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetUserGroupIdsToRemove() const
UserGroupsUpdateStatus & WithUserGroupIdsToRemove(Aws::Vector< Aws::String > &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
UserGroupsUpdateStatus & AddUserGroupIdsToAdd(const char *value)
const Aws::Vector< Aws::String > & GetUserGroupIdsToAdd() const
AWS_ELASTICACHE_API UserGroupsUpdateStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
UserGroupsUpdateStatus & AddUserGroupIdsToRemove(const char *value)
UserGroupsUpdateStatus & WithUserGroupIdsToAdd(Aws::Vector< Aws::String > &&value)
void SetUserGroupIdsToRemove(const Aws::Vector< Aws::String > &value)
void SetUserGroupIdsToRemove(Aws::Vector< Aws::String > &&value)
void SetUserGroupIdsToAdd(Aws::Vector< Aws::String > &&value)
UserGroupsUpdateStatus & AddUserGroupIdsToAdd(Aws::String &&value)
UserGroupsUpdateStatus & AddUserGroupIdsToRemove(Aws::String &&value)
AWS_ELASTICACHE_API UserGroupsUpdateStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
UserGroupsUpdateStatus & AddUserGroupIdsToAdd(const Aws::String &value)
void SetUserGroupIdsToAdd(const Aws::Vector< Aws::String > &value)
UserGroupsUpdateStatus & WithUserGroupIdsToAdd(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream