AWS SDK for C++  0.14.3
AWS SDK for C++
GetWorkflowExecutionHistoryRequest.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>
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 GetWorkflowExecutionHistoryRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
62 
66  inline GetWorkflowExecutionHistoryRequest& WithDomain(Aws::String&& value) { SetDomain(value); return *this;}
67 
71  inline GetWorkflowExecutionHistoryRequest& WithDomain(const char* value) { SetDomain(value); return *this;}
72 
76  inline const WorkflowExecution& GetExecution() const{ return m_execution; }
77 
81  inline void SetExecution(const WorkflowExecution& value) { m_executionHasBeenSet = true; m_execution = value; }
82 
86  inline void SetExecution(WorkflowExecution&& value) { m_executionHasBeenSet = true; m_execution = value; }
87 
91  inline GetWorkflowExecutionHistoryRequest& WithExecution(const WorkflowExecution& value) { SetExecution(value); return *this;}
92 
96  inline GetWorkflowExecutionHistoryRequest& WithExecution(WorkflowExecution&& value) { SetExecution(value); return *this;}
97 
105  inline const Aws::String& GetNextPageToken() const{ return m_nextPageToken; }
106 
114  inline void SetNextPageToken(const Aws::String& value) { m_nextPageTokenHasBeenSet = true; m_nextPageToken = value; }
115 
123  inline void SetNextPageToken(Aws::String&& value) { m_nextPageTokenHasBeenSet = true; m_nextPageToken = value; }
124 
132  inline void SetNextPageToken(const char* value) { m_nextPageTokenHasBeenSet = true; m_nextPageToken.assign(value); }
133 
141  inline GetWorkflowExecutionHistoryRequest& WithNextPageToken(const Aws::String& value) { SetNextPageToken(value); return *this;}
142 
150  inline GetWorkflowExecutionHistoryRequest& WithNextPageToken(Aws::String&& value) { SetNextPageToken(value); return *this;}
151 
159  inline GetWorkflowExecutionHistoryRequest& WithNextPageToken(const char* value) { SetNextPageToken(value); return *this;}
160 
169  inline int GetMaximumPageSize() const{ return m_maximumPageSize; }
170 
179  inline void SetMaximumPageSize(int value) { m_maximumPageSizeHasBeenSet = true; m_maximumPageSize = value; }
180 
189  inline GetWorkflowExecutionHistoryRequest& WithMaximumPageSize(int value) { SetMaximumPageSize(value); return *this;}
190 
196  inline bool GetReverseOrder() const{ return m_reverseOrder; }
197 
203  inline void SetReverseOrder(bool value) { m_reverseOrderHasBeenSet = true; m_reverseOrder = value; }
204 
210  inline GetWorkflowExecutionHistoryRequest& WithReverseOrder(bool value) { SetReverseOrder(value); return *this;}
211 
212  private:
213  Aws::String m_domain;
214  bool m_domainHasBeenSet;
215  WorkflowExecution m_execution;
216  bool m_executionHasBeenSet;
217  Aws::String m_nextPageToken;
218  bool m_nextPageTokenHasBeenSet;
219  int m_maximumPageSize;
220  bool m_maximumPageSizeHasBeenSet;
221  bool m_reverseOrder;
222  bool m_reverseOrderHasBeenSet;
223  };
224 
225 } // namespace Model
226 } // namespace SWF
227 } // namespace Aws
GetWorkflowExecutionHistoryRequest & WithExecution(WorkflowExecution &&value)
GetWorkflowExecutionHistoryRequest & WithDomain(const char *value)
#define AWS_SWF_API
Definition: SWF_EXPORTS.h:37
GetWorkflowExecutionHistoryRequest & WithDomain(const Aws::String &value)
GetWorkflowExecutionHistoryRequest & WithNextPageToken(Aws::String &&value)
GetWorkflowExecutionHistoryRequest & WithMaximumPageSize(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
GetWorkflowExecutionHistoryRequest & WithNextPageToken(const Aws::String &value)
GetWorkflowExecutionHistoryRequest & WithExecution(const WorkflowExecution &value)
GetWorkflowExecutionHistoryRequest & WithNextPageToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
GetWorkflowExecutionHistoryRequest & WithReverseOrder(bool value)
JSON (JavaScript Object Notation).
GetWorkflowExecutionHistoryRequest & WithDomain(Aws::String &&value)