AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PollForActivityTaskRequest.h
1
6#pragma once
7#include <aws/swf/SWF_EXPORTS.h>
8#include <aws/swf/SWFRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/swf/model/TaskList.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SWF
16{
17namespace Model
18{
19
23 {
24 public:
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 "PollForActivityTask"; }
32
33 AWS_SWF_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetDomain() const{ return m_domain; }
43 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
44 inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
45 inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
46 inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
47 inline PollForActivityTaskRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
48 inline PollForActivityTaskRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
49 inline PollForActivityTaskRequest& WithDomain(const char* value) { SetDomain(value); return *this;}
51
53
61 inline const TaskList& GetTaskList() const{ return m_taskList; }
62 inline bool TaskListHasBeenSet() const { return m_taskListHasBeenSet; }
63 inline void SetTaskList(const TaskList& value) { m_taskListHasBeenSet = true; m_taskList = value; }
64 inline void SetTaskList(TaskList&& value) { m_taskListHasBeenSet = true; m_taskList = std::move(value); }
65 inline PollForActivityTaskRequest& WithTaskList(const TaskList& value) { SetTaskList(value); return *this;}
66 inline PollForActivityTaskRequest& WithTaskList(TaskList&& value) { SetTaskList(std::move(value)); return *this;}
68
70
76 inline const Aws::String& GetIdentity() const{ return m_identity; }
77 inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
78 inline void SetIdentity(const Aws::String& value) { m_identityHasBeenSet = true; m_identity = value; }
79 inline void SetIdentity(Aws::String&& value) { m_identityHasBeenSet = true; m_identity = std::move(value); }
80 inline void SetIdentity(const char* value) { m_identityHasBeenSet = true; m_identity.assign(value); }
81 inline PollForActivityTaskRequest& WithIdentity(const Aws::String& value) { SetIdentity(value); return *this;}
82 inline PollForActivityTaskRequest& WithIdentity(Aws::String&& value) { SetIdentity(std::move(value)); return *this;}
83 inline PollForActivityTaskRequest& WithIdentity(const char* value) { SetIdentity(value); return *this;}
85 private:
86
87 Aws::String m_domain;
88 bool m_domainHasBeenSet = false;
89
90 TaskList m_taskList;
91 bool m_taskListHasBeenSet = false;
92
93 Aws::String m_identity;
94 bool m_identityHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace SWF
99} // namespace Aws
PollForActivityTaskRequest & WithIdentity(const Aws::String &value)
PollForActivityTaskRequest & WithTaskList(TaskList &&value)
PollForActivityTaskRequest & WithIdentity(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
PollForActivityTaskRequest & WithDomain(Aws::String &&value)
PollForActivityTaskRequest & WithIdentity(const char *value)
PollForActivityTaskRequest & WithDomain(const Aws::String &value)
AWS_SWF_API Aws::String SerializePayload() const override
AWS_SWF_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PollForActivityTaskRequest & WithTaskList(const TaskList &value)
PollForActivityTaskRequest & WithDomain(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String