AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeWorkflowExecutionResult.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>
22 
23 namespace Aws
24 {
25 template<typename RESULT_TYPE>
26 class AmazonWebServiceResult;
27 
28 namespace Utils
29 {
30 namespace Json
31 {
32  class JsonValue;
33 } // namespace Json
34 } // namespace Utils
35 namespace SWF
36 {
37 namespace Model
38 {
43  {
44  public:
48 
52  inline const WorkflowExecutionInfo& GetExecutionInfo() const{ return m_executionInfo; }
53 
57  inline void SetExecutionInfo(const WorkflowExecutionInfo& value) { m_executionInfo = value; }
58 
62  inline void SetExecutionInfo(WorkflowExecutionInfo&& value) { m_executionInfo = value; }
63 
67  inline DescribeWorkflowExecutionResult& WithExecutionInfo(const WorkflowExecutionInfo& value) { SetExecutionInfo(value); return *this;}
68 
72  inline DescribeWorkflowExecutionResult& WithExecutionInfo(WorkflowExecutionInfo&& value) { SetExecutionInfo(value); return *this;}
73 
78  inline const WorkflowExecutionConfiguration& GetExecutionConfiguration() const{ return m_executionConfiguration; }
79 
84  inline void SetExecutionConfiguration(const WorkflowExecutionConfiguration& value) { m_executionConfiguration = value; }
85 
90  inline void SetExecutionConfiguration(WorkflowExecutionConfiguration&& value) { m_executionConfiguration = value; }
91 
96  inline DescribeWorkflowExecutionResult& WithExecutionConfiguration(const WorkflowExecutionConfiguration& value) { SetExecutionConfiguration(value); return *this;}
97 
102  inline DescribeWorkflowExecutionResult& WithExecutionConfiguration(WorkflowExecutionConfiguration&& value) { SetExecutionConfiguration(value); return *this;}
103 
108  inline const WorkflowExecutionOpenCounts& GetOpenCounts() const{ return m_openCounts; }
109 
114  inline void SetOpenCounts(const WorkflowExecutionOpenCounts& value) { m_openCounts = value; }
115 
120  inline void SetOpenCounts(WorkflowExecutionOpenCounts&& value) { m_openCounts = value; }
121 
126  inline DescribeWorkflowExecutionResult& WithOpenCounts(const WorkflowExecutionOpenCounts& value) { SetOpenCounts(value); return *this;}
127 
132  inline DescribeWorkflowExecutionResult& WithOpenCounts(WorkflowExecutionOpenCounts&& value) { SetOpenCounts(value); return *this;}
133 
140  inline const Aws::Utils::DateTime& GetLatestActivityTaskTimestamp() const{ return m_latestActivityTaskTimestamp; }
141 
148  inline void SetLatestActivityTaskTimestamp(const Aws::Utils::DateTime& value) { m_latestActivityTaskTimestamp = value; }
149 
156  inline void SetLatestActivityTaskTimestamp(Aws::Utils::DateTime&& value) { m_latestActivityTaskTimestamp = value; }
157 
164  inline DescribeWorkflowExecutionResult& WithLatestActivityTaskTimestamp(const Aws::Utils::DateTime& value) { SetLatestActivityTaskTimestamp(value); return *this;}
165 
172  inline DescribeWorkflowExecutionResult& WithLatestActivityTaskTimestamp(Aws::Utils::DateTime&& value) { SetLatestActivityTaskTimestamp(value); return *this;}
173 
179  inline const Aws::String& GetLatestExecutionContext() const{ return m_latestExecutionContext; }
180 
186  inline void SetLatestExecutionContext(const Aws::String& value) { m_latestExecutionContext = value; }
187 
193  inline void SetLatestExecutionContext(Aws::String&& value) { m_latestExecutionContext = value; }
194 
200  inline void SetLatestExecutionContext(const char* value) { m_latestExecutionContext.assign(value); }
201 
207  inline DescribeWorkflowExecutionResult& WithLatestExecutionContext(const Aws::String& value) { SetLatestExecutionContext(value); return *this;}
208 
214  inline DescribeWorkflowExecutionResult& WithLatestExecutionContext(Aws::String&& value) { SetLatestExecutionContext(value); return *this;}
215 
221  inline DescribeWorkflowExecutionResult& WithLatestExecutionContext(const char* value) { SetLatestExecutionContext(value); return *this;}
222 
223  private:
224  WorkflowExecutionInfo m_executionInfo;
225  WorkflowExecutionConfiguration m_executionConfiguration;
226  WorkflowExecutionOpenCounts m_openCounts;
227  Aws::Utils::DateTime m_latestActivityTaskTimestamp;
228  Aws::String m_latestExecutionContext;
229  };
230 
231 } // namespace Model
232 } // namespace SWF
233 } // namespace Aws
void SetLatestActivityTaskTimestamp(const Aws::Utils::DateTime &value)
void SetOpenCounts(const WorkflowExecutionOpenCounts &value)
DescribeWorkflowExecutionResult & WithExecutionInfo(const WorkflowExecutionInfo &value)
#define AWS_SWF_API
Definition: SWF_EXPORTS.h:37
DescribeWorkflowExecutionResult & WithExecutionConfiguration(const WorkflowExecutionConfiguration &value)
void SetExecutionConfiguration(const WorkflowExecutionConfiguration &value)
void SetExecutionInfo(const WorkflowExecutionInfo &value)
DescribeWorkflowExecutionResult & WithLatestExecutionContext(Aws::String &&value)
DescribeWorkflowExecutionResult & WithLatestActivityTaskTimestamp(Aws::Utils::DateTime &&value)
void SetExecutionConfiguration(WorkflowExecutionConfiguration &&value)
DescribeWorkflowExecutionResult & WithLatestExecutionContext(const char *value)
DescribeWorkflowExecutionResult & WithOpenCounts(const WorkflowExecutionOpenCounts &value)
const WorkflowExecutionConfiguration & GetExecutionConfiguration() const
DescribeWorkflowExecutionResult & WithExecutionConfiguration(WorkflowExecutionConfiguration &&value)
DescribeWorkflowExecutionResult & WithLatestExecutionContext(const Aws::String &value)
void SetOpenCounts(WorkflowExecutionOpenCounts &&value)
const WorkflowExecutionOpenCounts & GetOpenCounts() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeWorkflowExecutionResult & WithExecutionInfo(WorkflowExecutionInfo &&value)
DescribeWorkflowExecutionResult & WithLatestActivityTaskTimestamp(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLatestActivityTaskTimestamp() const
JSON (JavaScript Object Notation).
DescribeWorkflowExecutionResult & WithOpenCounts(WorkflowExecutionOpenCounts &&value)