AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DecisionTaskStartedEventAttributes.h
1
6#pragma once
7#include <aws/swf/SWF_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SWF
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SWF_API DecisionTaskStartedEventAttributes() = default;
39
40
42
46 inline const Aws::String& GetIdentity() const { return m_identity; }
47 inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; }
48 template<typename IdentityT = Aws::String>
49 void SetIdentity(IdentityT&& value) { m_identityHasBeenSet = true; m_identity = std::forward<IdentityT>(value); }
50 template<typename IdentityT = Aws::String>
51 DecisionTaskStartedEventAttributes& WithIdentity(IdentityT&& value) { SetIdentity(std::forward<IdentityT>(value)); return *this;}
53
55
60 inline long long GetScheduledEventId() const { return m_scheduledEventId; }
61 inline bool ScheduledEventIdHasBeenSet() const { return m_scheduledEventIdHasBeenSet; }
62 inline void SetScheduledEventId(long long value) { m_scheduledEventIdHasBeenSet = true; m_scheduledEventId = value; }
63 inline DecisionTaskStartedEventAttributes& WithScheduledEventId(long long value) { SetScheduledEventId(value); return *this;}
65 private:
66
67 Aws::String m_identity;
68 bool m_identityHasBeenSet = false;
69
70 long long m_scheduledEventId{0};
71 bool m_scheduledEventIdHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace SWF
76} // namespace Aws
AWS_SWF_API DecisionTaskStartedEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
DecisionTaskStartedEventAttributes & WithIdentity(IdentityT &&value)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SWF_API DecisionTaskStartedEventAttributes(Aws::Utils::Json::JsonView jsonValue)
DecisionTaskStartedEventAttributes & WithScheduledEventId(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue