AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TriggerDetails.h
1
6#pragma once
7#include <aws/ssm-incidents/SSMIncidents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SSMIncidents
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SSMINCIDENTS_API TriggerDetails();
37 AWS_SSMINCIDENTS_API TriggerDetails(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SSMINCIDENTS_API TriggerDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetRawData() const{ return m_rawData; }
48 inline bool RawDataHasBeenSet() const { return m_rawDataHasBeenSet; }
49 inline void SetRawData(const Aws::String& value) { m_rawDataHasBeenSet = true; m_rawData = value; }
50 inline void SetRawData(Aws::String&& value) { m_rawDataHasBeenSet = true; m_rawData = std::move(value); }
51 inline void SetRawData(const char* value) { m_rawDataHasBeenSet = true; m_rawData.assign(value); }
52 inline TriggerDetails& WithRawData(const Aws::String& value) { SetRawData(value); return *this;}
53 inline TriggerDetails& WithRawData(Aws::String&& value) { SetRawData(std::move(value)); return *this;}
54 inline TriggerDetails& WithRawData(const char* value) { SetRawData(value); return *this;}
56
58
64 inline const Aws::String& GetSource() const{ return m_source; }
65 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
66 inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; }
67 inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
68 inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); }
69 inline TriggerDetails& WithSource(const Aws::String& value) { SetSource(value); return *this;}
70 inline TriggerDetails& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
71 inline TriggerDetails& WithSource(const char* value) { SetSource(value); return *this;}
73
75
78 inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; }
79 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
80 inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
81 inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); }
82 inline TriggerDetails& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;}
83 inline TriggerDetails& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;}
85
87
90 inline const Aws::String& GetTriggerArn() const{ return m_triggerArn; }
91 inline bool TriggerArnHasBeenSet() const { return m_triggerArnHasBeenSet; }
92 inline void SetTriggerArn(const Aws::String& value) { m_triggerArnHasBeenSet = true; m_triggerArn = value; }
93 inline void SetTriggerArn(Aws::String&& value) { m_triggerArnHasBeenSet = true; m_triggerArn = std::move(value); }
94 inline void SetTriggerArn(const char* value) { m_triggerArnHasBeenSet = true; m_triggerArn.assign(value); }
95 inline TriggerDetails& WithTriggerArn(const Aws::String& value) { SetTriggerArn(value); return *this;}
96 inline TriggerDetails& WithTriggerArn(Aws::String&& value) { SetTriggerArn(std::move(value)); return *this;}
97 inline TriggerDetails& WithTriggerArn(const char* value) { SetTriggerArn(value); return *this;}
99 private:
100
101 Aws::String m_rawData;
102 bool m_rawDataHasBeenSet = false;
103
104 Aws::String m_source;
105 bool m_sourceHasBeenSet = false;
106
107 Aws::Utils::DateTime m_timestamp;
108 bool m_timestampHasBeenSet = false;
109
110 Aws::String m_triggerArn;
111 bool m_triggerArnHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace SSMIncidents
116} // namespace Aws
TriggerDetails & WithTriggerArn(const char *value)
TriggerDetails & WithTimestamp(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetTimestamp() const
const Aws::String & GetRawData() const
AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const
TriggerDetails & WithRawData(const Aws::String &value)
void SetSource(const Aws::String &value)
TriggerDetails & WithSource(const char *value)
void SetTimestamp(Aws::Utils::DateTime &&value)
const Aws::String & GetSource() const
TriggerDetails & WithSource(const Aws::String &value)
void SetRawData(const Aws::String &value)
AWS_SSMINCIDENTS_API TriggerDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSMINCIDENTS_API TriggerDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTriggerArn() const
TriggerDetails & WithRawData(Aws::String &&value)
TriggerDetails & WithTriggerArn(const Aws::String &value)
void SetTriggerArn(const Aws::String &value)
TriggerDetails & WithTimestamp(const Aws::Utils::DateTime &value)
void SetTimestamp(const Aws::Utils::DateTime &value)
void SetTriggerArn(Aws::String &&value)
TriggerDetails & WithRawData(const char *value)
TriggerDetails & WithTriggerArn(Aws::String &&value)
TriggerDetails & WithSource(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue