AWS SDK for C++  0.14.3
AWS SDK for C++
CountPendingDecisionTasksRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 #include <aws/swf/SWF_EXPORTS.h>
17 #include <aws/swf/SWFRequest.h>
19 #include <aws/swf/model/TaskList.h>
20 
21 namespace Aws
22 {
23 namespace SWF
24 {
25 namespace Model
26 {
27 
31  {
32  public:
34  Aws::String SerializePayload() const override;
35 
36  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37 
41  inline const Aws::String& GetDomain() const{ return m_domain; }
42 
46  inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
47 
51  inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = value; }
52 
56  inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
57 
61  inline CountPendingDecisionTasksRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
62 
66  inline CountPendingDecisionTasksRequest& WithDomain(Aws::String&& value) { SetDomain(value); return *this;}
67 
71  inline CountPendingDecisionTasksRequest& WithDomain(const char* value) { SetDomain(value); return *this;}
72 
76  inline const TaskList& GetTaskList() const{ return m_taskList; }
77 
81  inline void SetTaskList(const TaskList& value) { m_taskListHasBeenSet = true; m_taskList = value; }
82 
86  inline void SetTaskList(TaskList&& value) { m_taskListHasBeenSet = true; m_taskList = value; }
87 
91  inline CountPendingDecisionTasksRequest& WithTaskList(const TaskList& value) { SetTaskList(value); return *this;}
92 
96  inline CountPendingDecisionTasksRequest& WithTaskList(TaskList&& value) { SetTaskList(value); return *this;}
97 
98  private:
99  Aws::String m_domain;
100  bool m_domainHasBeenSet;
101  TaskList m_taskList;
102  bool m_taskListHasBeenSet;
103  };
104 
105 } // namespace Model
106 } // namespace SWF
107 } // namespace Aws
#define AWS_SWF_API
Definition: SWF_EXPORTS.h:37
CountPendingDecisionTasksRequest & WithDomain(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
CountPendingDecisionTasksRequest & WithDomain(const Aws::String &value)
CountPendingDecisionTasksRequest & WithTaskList(TaskList &&value)
CountPendingDecisionTasksRequest & WithTaskList(const TaskList &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
CountPendingDecisionTasksRequest & WithDomain(Aws::String &&value)
JSON (JavaScript Object Notation).