AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IncidentRecordSource.h
1
6#pragma once
7#include <aws/ssm-incidents/SSMIncidents_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 SSMIncidents
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SSMINCIDENTS_API IncidentRecordSource();
36 AWS_SSMINCIDENTS_API IncidentRecordSource(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
46 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
47 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
48 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
49 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
50 inline IncidentRecordSource& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
51 inline IncidentRecordSource& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
52 inline IncidentRecordSource& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
54
56
61 inline const Aws::String& GetInvokedBy() const{ return m_invokedBy; }
62 inline bool InvokedByHasBeenSet() const { return m_invokedByHasBeenSet; }
63 inline void SetInvokedBy(const Aws::String& value) { m_invokedByHasBeenSet = true; m_invokedBy = value; }
64 inline void SetInvokedBy(Aws::String&& value) { m_invokedByHasBeenSet = true; m_invokedBy = std::move(value); }
65 inline void SetInvokedBy(const char* value) { m_invokedByHasBeenSet = true; m_invokedBy.assign(value); }
66 inline IncidentRecordSource& WithInvokedBy(const Aws::String& value) { SetInvokedBy(value); return *this;}
67 inline IncidentRecordSource& WithInvokedBy(Aws::String&& value) { SetInvokedBy(std::move(value)); return *this;}
68 inline IncidentRecordSource& WithInvokedBy(const char* value) { SetInvokedBy(value); return *this;}
70
72
75 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
76 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
77 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
78 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
79 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
80 inline IncidentRecordSource& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
81 inline IncidentRecordSource& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
82 inline IncidentRecordSource& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
84
86
91 inline const Aws::String& GetSource() const{ return m_source; }
92 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
93 inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; }
94 inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
95 inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); }
96 inline IncidentRecordSource& WithSource(const Aws::String& value) { SetSource(value); return *this;}
97 inline IncidentRecordSource& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;}
98 inline IncidentRecordSource& WithSource(const char* value) { SetSource(value); return *this;}
100 private:
101
102 Aws::String m_createdBy;
103 bool m_createdByHasBeenSet = false;
104
105 Aws::String m_invokedBy;
106 bool m_invokedByHasBeenSet = false;
107
108 Aws::String m_resourceArn;
109 bool m_resourceArnHasBeenSet = false;
110
111 Aws::String m_source;
112 bool m_sourceHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace SSMIncidents
117} // namespace Aws
IncidentRecordSource & WithResourceArn(const Aws::String &value)
IncidentRecordSource & WithCreatedBy(const char *value)
IncidentRecordSource & WithCreatedBy(Aws::String &&value)
IncidentRecordSource & WithSource(Aws::String &&value)
IncidentRecordSource & WithInvokedBy(const Aws::String &value)
IncidentRecordSource & WithInvokedBy(Aws::String &&value)
IncidentRecordSource & WithResourceArn(const char *value)
IncidentRecordSource & WithSource(const char *value)
IncidentRecordSource & WithCreatedBy(const Aws::String &value)
AWS_SSMINCIDENTS_API IncidentRecordSource(Aws::Utils::Json::JsonView jsonValue)
AWS_SSMINCIDENTS_API IncidentRecordSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const
IncidentRecordSource & WithSource(const Aws::String &value)
IncidentRecordSource & WithResourceArn(Aws::String &&value)
IncidentRecordSource & WithInvokedBy(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue