AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BatchUnsuspendUserRequest.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/chime/ChimeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Chime
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CHIME_API BatchUnsuspendUserRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "BatchUnsuspendUser"; }
32
33 AWS_CHIME_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetAccountId() const { return m_accountId; }
41 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
42 template<typename AccountIdT = Aws::String>
43 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
44 template<typename AccountIdT = Aws::String>
45 BatchUnsuspendUserRequest& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
47
49
52 inline const Aws::Vector<Aws::String>& GetUserIdList() const { return m_userIdList; }
53 inline bool UserIdListHasBeenSet() const { return m_userIdListHasBeenSet; }
54 template<typename UserIdListT = Aws::Vector<Aws::String>>
55 void SetUserIdList(UserIdListT&& value) { m_userIdListHasBeenSet = true; m_userIdList = std::forward<UserIdListT>(value); }
56 template<typename UserIdListT = Aws::Vector<Aws::String>>
57 BatchUnsuspendUserRequest& WithUserIdList(UserIdListT&& value) { SetUserIdList(std::forward<UserIdListT>(value)); return *this;}
58 template<typename UserIdListT = Aws::String>
59 BatchUnsuspendUserRequest& AddUserIdList(UserIdListT&& value) { m_userIdListHasBeenSet = true; m_userIdList.emplace_back(std::forward<UserIdListT>(value)); return *this; }
61 private:
62
63 Aws::String m_accountId;
64 bool m_accountIdHasBeenSet = false;
65
66 Aws::Vector<Aws::String> m_userIdList;
67 bool m_userIdListHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace Chime
72} // namespace Aws
AWS_CHIME_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetUserIdList() const
BatchUnsuspendUserRequest & WithAccountId(AccountIdT &&value)
AWS_CHIME_API BatchUnsuspendUserRequest()=default
BatchUnsuspendUserRequest & AddUserIdList(UserIdListT &&value)
BatchUnsuspendUserRequest & WithUserIdList(UserIdListT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector