AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchSuspendUserRequest.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 BatchSuspendUserRequest();
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 "BatchSuspendUser"; }
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 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
43 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
44 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
45 inline BatchSuspendUserRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
46 inline BatchSuspendUserRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
47 inline BatchSuspendUserRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
49
51
54 inline const Aws::Vector<Aws::String>& GetUserIdList() const{ return m_userIdList; }
55 inline bool UserIdListHasBeenSet() const { return m_userIdListHasBeenSet; }
56 inline void SetUserIdList(const Aws::Vector<Aws::String>& value) { m_userIdListHasBeenSet = true; m_userIdList = value; }
57 inline void SetUserIdList(Aws::Vector<Aws::String>&& value) { m_userIdListHasBeenSet = true; m_userIdList = std::move(value); }
59 inline BatchSuspendUserRequest& WithUserIdList(Aws::Vector<Aws::String>&& value) { SetUserIdList(std::move(value)); return *this;}
60 inline BatchSuspendUserRequest& AddUserIdList(const Aws::String& value) { m_userIdListHasBeenSet = true; m_userIdList.push_back(value); return *this; }
61 inline BatchSuspendUserRequest& AddUserIdList(Aws::String&& value) { m_userIdListHasBeenSet = true; m_userIdList.push_back(std::move(value)); return *this; }
62 inline BatchSuspendUserRequest& AddUserIdList(const char* value) { m_userIdListHasBeenSet = true; m_userIdList.push_back(value); return *this; }
64 private:
65
66 Aws::String m_accountId;
67 bool m_accountIdHasBeenSet = false;
68
69 Aws::Vector<Aws::String> m_userIdList;
70 bool m_userIdListHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Chime
75} // namespace Aws
BatchSuspendUserRequest & AddUserIdList(const char *value)
void SetUserIdList(const Aws::Vector< Aws::String > &value)
virtual const char * GetServiceRequestName() const override
BatchSuspendUserRequest & AddUserIdList(const Aws::String &value)
BatchSuspendUserRequest & WithAccountId(Aws::String &&value)
AWS_CHIME_API Aws::String SerializePayload() const override
BatchSuspendUserRequest & AddUserIdList(Aws::String &&value)
BatchSuspendUserRequest & WithUserIdList(Aws::Vector< Aws::String > &&value)
BatchSuspendUserRequest & WithAccountId(const char *value)
BatchSuspendUserRequest & WithUserIdList(const Aws::Vector< Aws::String > &value)
void SetUserIdList(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetUserIdList() const
BatchSuspendUserRequest & WithAccountId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector