AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
BatchSuspendUserResult.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/chime/model/UserError.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 Chime
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CHIME_API BatchSuspendUserResult() = default;
35
36
38
43 inline const Aws::Vector<UserError>& GetUserErrors() const { return m_userErrors; }
44 template<typename UserErrorsT = Aws::Vector<UserError>>
45 void SetUserErrors(UserErrorsT&& value) { m_userErrorsHasBeenSet = true; m_userErrors = std::forward<UserErrorsT>(value); }
46 template<typename UserErrorsT = Aws::Vector<UserError>>
47 BatchSuspendUserResult& WithUserErrors(UserErrorsT&& value) { SetUserErrors(std::forward<UserErrorsT>(value)); return *this;}
48 template<typename UserErrorsT = UserError>
49 BatchSuspendUserResult& AddUserErrors(UserErrorsT&& value) { m_userErrorsHasBeenSet = true; m_userErrors.emplace_back(std::forward<UserErrorsT>(value)); return *this; }
51
53
54 inline const Aws::String& GetRequestId() const { return m_requestId; }
55 template<typename RequestIdT = Aws::String>
56 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
57 template<typename RequestIdT = Aws::String>
58 BatchSuspendUserResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
60 private:
61
62 Aws::Vector<UserError> m_userErrors;
63 bool m_userErrorsHasBeenSet = false;
64
65 Aws::String m_requestId;
66 bool m_requestIdHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace Chime
71} // namespace Aws
const Aws::Vector< UserError > & GetUserErrors() const
AWS_CHIME_API BatchSuspendUserResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CHIME_API BatchSuspendUserResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchSuspendUserResult & AddUserErrors(UserErrorsT &&value)
AWS_CHIME_API BatchSuspendUserResult()=default
BatchSuspendUserResult & WithUserErrors(UserErrorsT &&value)
BatchSuspendUserResult & WithRequestId(RequestIdT &&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