AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BatchGetUserAccessTasksRequest.h
1
6#pragma once
7#include <aws/appfabric/AppFabric_EXPORTS.h>
8#include <aws/appfabric/AppFabricRequest.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 AppFabric
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_APPFABRIC_API BatchGetUserAccessTasksRequest() = 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 "BatchGetUserAccessTasks"; }
32
33 AWS_APPFABRIC_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetAppBundleIdentifier() const { return m_appBundleIdentifier; }
42 inline bool AppBundleIdentifierHasBeenSet() const { return m_appBundleIdentifierHasBeenSet; }
43 template<typename AppBundleIdentifierT = Aws::String>
44 void SetAppBundleIdentifier(AppBundleIdentifierT&& value) { m_appBundleIdentifierHasBeenSet = true; m_appBundleIdentifier = std::forward<AppBundleIdentifierT>(value); }
45 template<typename AppBundleIdentifierT = Aws::String>
46 BatchGetUserAccessTasksRequest& WithAppBundleIdentifier(AppBundleIdentifierT&& value) { SetAppBundleIdentifier(std::forward<AppBundleIdentifierT>(value)); return *this;}
48
50
53 inline const Aws::Vector<Aws::String>& GetTaskIdList() const { return m_taskIdList; }
54 inline bool TaskIdListHasBeenSet() const { return m_taskIdListHasBeenSet; }
55 template<typename TaskIdListT = Aws::Vector<Aws::String>>
56 void SetTaskIdList(TaskIdListT&& value) { m_taskIdListHasBeenSet = true; m_taskIdList = std::forward<TaskIdListT>(value); }
57 template<typename TaskIdListT = Aws::Vector<Aws::String>>
58 BatchGetUserAccessTasksRequest& WithTaskIdList(TaskIdListT&& value) { SetTaskIdList(std::forward<TaskIdListT>(value)); return *this;}
59 template<typename TaskIdListT = Aws::String>
60 BatchGetUserAccessTasksRequest& AddTaskIdList(TaskIdListT&& value) { m_taskIdListHasBeenSet = true; m_taskIdList.emplace_back(std::forward<TaskIdListT>(value)); return *this; }
62 private:
63
64 Aws::String m_appBundleIdentifier;
65 bool m_appBundleIdentifierHasBeenSet = false;
66
67 Aws::Vector<Aws::String> m_taskIdList;
68 bool m_taskIdListHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace AppFabric
73} // namespace Aws
BatchGetUserAccessTasksRequest & WithTaskIdList(TaskIdListT &&value)
BatchGetUserAccessTasksRequest & AddTaskIdList(TaskIdListT &&value)
AWS_APPFABRIC_API Aws::String SerializePayload() const override
BatchGetUserAccessTasksRequest & WithAppBundleIdentifier(AppBundleIdentifierT &&value)
AWS_APPFABRIC_API BatchGetUserAccessTasksRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector