AWS SDK for C++  1.9.160
AWS SDK for C++
ActivityTaskCancelRequestedEventAttributes.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/swf/SWF_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SWF
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
48  inline long long GetDecisionTaskCompletedEventId() const{ return m_decisionTaskCompletedEventId; }
49 
57  inline bool DecisionTaskCompletedEventIdHasBeenSet() const { return m_decisionTaskCompletedEventIdHasBeenSet; }
58 
66  inline void SetDecisionTaskCompletedEventId(long long value) { m_decisionTaskCompletedEventIdHasBeenSet = true; m_decisionTaskCompletedEventId = value; }
67 
75  inline ActivityTaskCancelRequestedEventAttributes& WithDecisionTaskCompletedEventId(long long value) { SetDecisionTaskCompletedEventId(value); return *this;}
76 
77 
81  inline const Aws::String& GetActivityId() const{ return m_activityId; }
82 
86  inline bool ActivityIdHasBeenSet() const { return m_activityIdHasBeenSet; }
87 
91  inline void SetActivityId(const Aws::String& value) { m_activityIdHasBeenSet = true; m_activityId = value; }
92 
96  inline void SetActivityId(Aws::String&& value) { m_activityIdHasBeenSet = true; m_activityId = std::move(value); }
97 
101  inline void SetActivityId(const char* value) { m_activityIdHasBeenSet = true; m_activityId.assign(value); }
102 
106  inline ActivityTaskCancelRequestedEventAttributes& WithActivityId(const Aws::String& value) { SetActivityId(value); return *this;}
107 
111  inline ActivityTaskCancelRequestedEventAttributes& WithActivityId(Aws::String&& value) { SetActivityId(std::move(value)); return *this;}
112 
116  inline ActivityTaskCancelRequestedEventAttributes& WithActivityId(const char* value) { SetActivityId(value); return *this;}
117 
118  private:
119 
120  long long m_decisionTaskCompletedEventId;
121  bool m_decisionTaskCompletedEventIdHasBeenSet;
122 
123  Aws::String m_activityId;
124  bool m_activityIdHasBeenSet;
125  };
126 
127 } // namespace Model
128 } // namespace SWF
129 } // namespace Aws
Aws::SWF::Model::ActivityTaskCancelRequestedEventAttributes::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SWF::Model::ActivityTaskCancelRequestedEventAttributes
Definition: ActivityTaskCancelRequestedEventAttributes.h:33
Aws::SWF::Model::ActivityTaskCancelRequestedEventAttributes::operator=
ActivityTaskCancelRequestedEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SWF::Model::ActivityTaskCancelRequestedEventAttributes::WithDecisionTaskCompletedEventId
ActivityTaskCancelRequestedEventAttributes & WithDecisionTaskCompletedEventId(long long value)
Definition: ActivityTaskCancelRequestedEventAttributes.h:75
Aws::SWF::Model::ActivityTaskCancelRequestedEventAttributes::SetActivityId
void SetActivityId(Aws::String &&value)
Definition: ActivityTaskCancelRequestedEventAttributes.h:96
Aws::SWF::Model::ActivityTaskCancelRequestedEventAttributes::SetDecisionTaskCompletedEventId
void SetDecisionTaskCompletedEventId(long long value)
Definition: ActivityTaskCancelRequestedEventAttributes.h:66
SWF_EXPORTS.h
Aws::DevOpsGuru::Model::ServiceName::NOT_SET
@ NOT_SET
Aws::SWF::Model::ActivityTaskCancelRequestedEventAttributes::ActivityIdHasBeenSet
bool ActivityIdHasBeenSet() const
Definition: ActivityTaskCancelRequestedEventAttributes.h:86
Aws::SWF::Model::ActivityTaskCancelRequestedEventAttributes::GetActivityId
const Aws::String & GetActivityId() const
Definition: ActivityTaskCancelRequestedEventAttributes.h:81
Aws::SWF::Model::ActivityTaskCancelRequestedEventAttributes::GetDecisionTaskCompletedEventId
long long GetDecisionTaskCompletedEventId() const
Definition: ActivityTaskCancelRequestedEventAttributes.h:48
Aws::SWF::Model::ActivityTaskCancelRequestedEventAttributes::ActivityTaskCancelRequestedEventAttributes
ActivityTaskCancelRequestedEventAttributes()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SWF::Model::ActivityTaskCancelRequestedEventAttributes::DecisionTaskCompletedEventIdHasBeenSet
bool DecisionTaskCompletedEventIdHasBeenSet() const
Definition: ActivityTaskCancelRequestedEventAttributes.h:57
Aws::SWF::Model::ActivityTaskCancelRequestedEventAttributes::WithActivityId
ActivityTaskCancelRequestedEventAttributes & WithActivityId(Aws::String &&value)
Definition: ActivityTaskCancelRequestedEventAttributes.h:111
Aws::SWF::Model::ActivityTaskCancelRequestedEventAttributes::ActivityTaskCancelRequestedEventAttributes
ActivityTaskCancelRequestedEventAttributes(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
AWS_SWF_API
#define AWS_SWF_API
Definition: SWF_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SWF::Model::ActivityTaskCancelRequestedEventAttributes::SetActivityId
void SetActivityId(const char *value)
Definition: ActivityTaskCancelRequestedEventAttributes.h:101
Aws::SWF::Model::ActivityTaskCancelRequestedEventAttributes::SetActivityId
void SetActivityId(const Aws::String &value)
Definition: ActivityTaskCancelRequestedEventAttributes.h:91
Aws::SWF::Model::ActivityTaskCancelRequestedEventAttributes::WithActivityId
ActivityTaskCancelRequestedEventAttributes & WithActivityId(const Aws::String &value)
Definition: ActivityTaskCancelRequestedEventAttributes.h:106
Aws::SWF::Model::ActivityTaskCancelRequestedEventAttributes::WithActivityId
ActivityTaskCancelRequestedEventAttributes & WithActivityId(const char *value)
Definition: ActivityTaskCancelRequestedEventAttributes.h:116