AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateUserResult.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qbusiness/model/UserAlias.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace QBusiness
26{
27namespace Model
28{
30 {
31 public:
32 AWS_QBUSINESS_API UpdateUserResult();
35
36
38
41 inline const Aws::Vector<UserAlias>& GetUserAliasesAdded() const{ return m_userAliasesAdded; }
42 inline void SetUserAliasesAdded(const Aws::Vector<UserAlias>& value) { m_userAliasesAdded = value; }
43 inline void SetUserAliasesAdded(Aws::Vector<UserAlias>&& value) { m_userAliasesAdded = std::move(value); }
45 inline UpdateUserResult& WithUserAliasesAdded(Aws::Vector<UserAlias>&& value) { SetUserAliasesAdded(std::move(value)); return *this;}
46 inline UpdateUserResult& AddUserAliasesAdded(const UserAlias& value) { m_userAliasesAdded.push_back(value); return *this; }
47 inline UpdateUserResult& AddUserAliasesAdded(UserAlias&& value) { m_userAliasesAdded.push_back(std::move(value)); return *this; }
49
51
54 inline const Aws::Vector<UserAlias>& GetUserAliasesUpdated() const{ return m_userAliasesUpdated; }
55 inline void SetUserAliasesUpdated(const Aws::Vector<UserAlias>& value) { m_userAliasesUpdated = value; }
56 inline void SetUserAliasesUpdated(Aws::Vector<UserAlias>&& value) { m_userAliasesUpdated = std::move(value); }
58 inline UpdateUserResult& WithUserAliasesUpdated(Aws::Vector<UserAlias>&& value) { SetUserAliasesUpdated(std::move(value)); return *this;}
59 inline UpdateUserResult& AddUserAliasesUpdated(const UserAlias& value) { m_userAliasesUpdated.push_back(value); return *this; }
60 inline UpdateUserResult& AddUserAliasesUpdated(UserAlias&& value) { m_userAliasesUpdated.push_back(std::move(value)); return *this; }
62
64
67 inline const Aws::Vector<UserAlias>& GetUserAliasesDeleted() const{ return m_userAliasesDeleted; }
68 inline void SetUserAliasesDeleted(const Aws::Vector<UserAlias>& value) { m_userAliasesDeleted = value; }
69 inline void SetUserAliasesDeleted(Aws::Vector<UserAlias>&& value) { m_userAliasesDeleted = std::move(value); }
71 inline UpdateUserResult& WithUserAliasesDeleted(Aws::Vector<UserAlias>&& value) { SetUserAliasesDeleted(std::move(value)); return *this;}
72 inline UpdateUserResult& AddUserAliasesDeleted(const UserAlias& value) { m_userAliasesDeleted.push_back(value); return *this; }
73 inline UpdateUserResult& AddUserAliasesDeleted(UserAlias&& value) { m_userAliasesDeleted.push_back(std::move(value)); return *this; }
75
77
78 inline const Aws::String& GetRequestId() const{ return m_requestId; }
79 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
80 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
81 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
82 inline UpdateUserResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
83 inline UpdateUserResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
84 inline UpdateUserResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
86 private:
87
88 Aws::Vector<UserAlias> m_userAliasesAdded;
89
90 Aws::Vector<UserAlias> m_userAliasesUpdated;
91
92 Aws::Vector<UserAlias> m_userAliasesDeleted;
93
94 Aws::String m_requestId;
95 };
96
97} // namespace Model
98} // namespace QBusiness
99} // namespace Aws
UpdateUserResult & WithRequestId(Aws::String &&value)
void SetUserAliasesUpdated(Aws::Vector< UserAlias > &&value)
void SetUserAliasesDeleted(Aws::Vector< UserAlias > &&value)
UpdateUserResult & WithUserAliasesUpdated(Aws::Vector< UserAlias > &&value)
UpdateUserResult & WithRequestId(const char *value)
void SetUserAliasesAdded(const Aws::Vector< UserAlias > &value)
const Aws::String & GetRequestId() const
AWS_QBUSINESS_API UpdateUserResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUserAliasesAdded(Aws::Vector< UserAlias > &&value)
void SetUserAliasesDeleted(const Aws::Vector< UserAlias > &value)
void SetUserAliasesUpdated(const Aws::Vector< UserAlias > &value)
UpdateUserResult & AddUserAliasesAdded(UserAlias &&value)
void SetRequestId(const Aws::String &value)
UpdateUserResult & WithUserAliasesAdded(const Aws::Vector< UserAlias > &value)
UpdateUserResult & WithRequestId(const Aws::String &value)
UpdateUserResult & AddUserAliasesUpdated(const UserAlias &value)
const Aws::Vector< UserAlias > & GetUserAliasesAdded() const
UpdateUserResult & AddUserAliasesDeleted(UserAlias &&value)
UpdateUserResult & WithUserAliasesDeleted(Aws::Vector< UserAlias > &&value)
UpdateUserResult & WithUserAliasesUpdated(const Aws::Vector< UserAlias > &value)
const Aws::Vector< UserAlias > & GetUserAliasesDeleted() const
UpdateUserResult & WithUserAliasesAdded(Aws::Vector< UserAlias > &&value)
UpdateUserResult & WithUserAliasesDeleted(const Aws::Vector< UserAlias > &value)
UpdateUserResult & AddUserAliasesDeleted(const UserAlias &value)
UpdateUserResult & AddUserAliasesAdded(const UserAlias &value)
const Aws::Vector< UserAlias > & GetUserAliasesUpdated() const
AWS_QBUSINESS_API UpdateUserResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateUserResult & AddUserAliasesUpdated(UserAlias &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue