AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ControlMappingSource.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/auditmanager/model/SourceSetUpOption.h>
10#include <aws/auditmanager/model/SourceType.h>
11#include <aws/auditmanager/model/SourceKeyword.h>
12#include <aws/auditmanager/model/SourceFrequency.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace AuditManager
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_AUDITMANAGER_API ControlMappingSource();
40 AWS_AUDITMANAGER_API ControlMappingSource(Aws::Utils::Json::JsonView jsonValue);
42 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetSourceId() const{ return m_sourceId; }
50 inline bool SourceIdHasBeenSet() const { return m_sourceIdHasBeenSet; }
51 inline void SetSourceId(const Aws::String& value) { m_sourceIdHasBeenSet = true; m_sourceId = value; }
52 inline void SetSourceId(Aws::String&& value) { m_sourceIdHasBeenSet = true; m_sourceId = std::move(value); }
53 inline void SetSourceId(const char* value) { m_sourceIdHasBeenSet = true; m_sourceId.assign(value); }
54 inline ControlMappingSource& WithSourceId(const Aws::String& value) { SetSourceId(value); return *this;}
55 inline ControlMappingSource& WithSourceId(Aws::String&& value) { SetSourceId(std::move(value)); return *this;}
56 inline ControlMappingSource& WithSourceId(const char* value) { SetSourceId(value); return *this;}
58
60
63 inline const Aws::String& GetSourceName() const{ return m_sourceName; }
64 inline bool SourceNameHasBeenSet() const { return m_sourceNameHasBeenSet; }
65 inline void SetSourceName(const Aws::String& value) { m_sourceNameHasBeenSet = true; m_sourceName = value; }
66 inline void SetSourceName(Aws::String&& value) { m_sourceNameHasBeenSet = true; m_sourceName = std::move(value); }
67 inline void SetSourceName(const char* value) { m_sourceNameHasBeenSet = true; m_sourceName.assign(value); }
68 inline ControlMappingSource& WithSourceName(const Aws::String& value) { SetSourceName(value); return *this;}
69 inline ControlMappingSource& WithSourceName(Aws::String&& value) { SetSourceName(std::move(value)); return *this;}
70 inline ControlMappingSource& WithSourceName(const char* value) { SetSourceName(value); return *this;}
72
74
77 inline const Aws::String& GetSourceDescription() const{ return m_sourceDescription; }
78 inline bool SourceDescriptionHasBeenSet() const { return m_sourceDescriptionHasBeenSet; }
79 inline void SetSourceDescription(const Aws::String& value) { m_sourceDescriptionHasBeenSet = true; m_sourceDescription = value; }
80 inline void SetSourceDescription(Aws::String&& value) { m_sourceDescriptionHasBeenSet = true; m_sourceDescription = std::move(value); }
81 inline void SetSourceDescription(const char* value) { m_sourceDescriptionHasBeenSet = true; m_sourceDescription.assign(value); }
82 inline ControlMappingSource& WithSourceDescription(const Aws::String& value) { SetSourceDescription(value); return *this;}
83 inline ControlMappingSource& WithSourceDescription(Aws::String&& value) { SetSourceDescription(std::move(value)); return *this;}
84 inline ControlMappingSource& WithSourceDescription(const char* value) { SetSourceDescription(value); return *this;}
86
88
94 inline const SourceSetUpOption& GetSourceSetUpOption() const{ return m_sourceSetUpOption; }
95 inline bool SourceSetUpOptionHasBeenSet() const { return m_sourceSetUpOptionHasBeenSet; }
96 inline void SetSourceSetUpOption(const SourceSetUpOption& value) { m_sourceSetUpOptionHasBeenSet = true; m_sourceSetUpOption = value; }
97 inline void SetSourceSetUpOption(SourceSetUpOption&& value) { m_sourceSetUpOptionHasBeenSet = true; m_sourceSetUpOption = std::move(value); }
99 inline ControlMappingSource& WithSourceSetUpOption(SourceSetUpOption&& value) { SetSourceSetUpOption(std::move(value)); return *this;}
101
103
112 inline const SourceType& GetSourceType() const{ return m_sourceType; }
113 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
114 inline void SetSourceType(const SourceType& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
115 inline void SetSourceType(SourceType&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); }
116 inline ControlMappingSource& WithSourceType(const SourceType& value) { SetSourceType(value); return *this;}
117 inline ControlMappingSource& WithSourceType(SourceType&& value) { SetSourceType(std::move(value)); return *this;}
119
121
122 inline const SourceKeyword& GetSourceKeyword() const{ return m_sourceKeyword; }
123 inline bool SourceKeywordHasBeenSet() const { return m_sourceKeywordHasBeenSet; }
124 inline void SetSourceKeyword(const SourceKeyword& value) { m_sourceKeywordHasBeenSet = true; m_sourceKeyword = value; }
125 inline void SetSourceKeyword(SourceKeyword&& value) { m_sourceKeywordHasBeenSet = true; m_sourceKeyword = std::move(value); }
126 inline ControlMappingSource& WithSourceKeyword(const SourceKeyword& value) { SetSourceKeyword(value); return *this;}
127 inline ControlMappingSource& WithSourceKeyword(SourceKeyword&& value) { SetSourceKeyword(std::move(value)); return *this;}
129
131
135 inline const SourceFrequency& GetSourceFrequency() const{ return m_sourceFrequency; }
136 inline bool SourceFrequencyHasBeenSet() const { return m_sourceFrequencyHasBeenSet; }
137 inline void SetSourceFrequency(const SourceFrequency& value) { m_sourceFrequencyHasBeenSet = true; m_sourceFrequency = value; }
138 inline void SetSourceFrequency(SourceFrequency&& value) { m_sourceFrequencyHasBeenSet = true; m_sourceFrequency = std::move(value); }
139 inline ControlMappingSource& WithSourceFrequency(const SourceFrequency& value) { SetSourceFrequency(value); return *this;}
140 inline ControlMappingSource& WithSourceFrequency(SourceFrequency&& value) { SetSourceFrequency(std::move(value)); return *this;}
142
144
147 inline const Aws::String& GetTroubleshootingText() const{ return m_troubleshootingText; }
148 inline bool TroubleshootingTextHasBeenSet() const { return m_troubleshootingTextHasBeenSet; }
149 inline void SetTroubleshootingText(const Aws::String& value) { m_troubleshootingTextHasBeenSet = true; m_troubleshootingText = value; }
150 inline void SetTroubleshootingText(Aws::String&& value) { m_troubleshootingTextHasBeenSet = true; m_troubleshootingText = std::move(value); }
151 inline void SetTroubleshootingText(const char* value) { m_troubleshootingTextHasBeenSet = true; m_troubleshootingText.assign(value); }
153 inline ControlMappingSource& WithTroubleshootingText(Aws::String&& value) { SetTroubleshootingText(std::move(value)); return *this;}
154 inline ControlMappingSource& WithTroubleshootingText(const char* value) { SetTroubleshootingText(value); return *this;}
156 private:
157
158 Aws::String m_sourceId;
159 bool m_sourceIdHasBeenSet = false;
160
161 Aws::String m_sourceName;
162 bool m_sourceNameHasBeenSet = false;
163
164 Aws::String m_sourceDescription;
165 bool m_sourceDescriptionHasBeenSet = false;
166
167 SourceSetUpOption m_sourceSetUpOption;
168 bool m_sourceSetUpOptionHasBeenSet = false;
169
170 SourceType m_sourceType;
171 bool m_sourceTypeHasBeenSet = false;
172
173 SourceKeyword m_sourceKeyword;
174 bool m_sourceKeywordHasBeenSet = false;
175
176 SourceFrequency m_sourceFrequency;
177 bool m_sourceFrequencyHasBeenSet = false;
178
179 Aws::String m_troubleshootingText;
180 bool m_troubleshootingTextHasBeenSet = false;
181 };
182
183} // namespace Model
184} // namespace AuditManager
185} // namespace Aws
ControlMappingSource & WithSourceKeyword(SourceKeyword &&value)
void SetSourceFrequency(const SourceFrequency &value)
ControlMappingSource & WithSourceId(Aws::String &&value)
ControlMappingSource & WithTroubleshootingText(const char *value)
ControlMappingSource & WithSourceType(SourceType &&value)
ControlMappingSource & WithSourceSetUpOption(SourceSetUpOption &&value)
ControlMappingSource & WithSourceFrequency(const SourceFrequency &value)
void SetSourceKeyword(const SourceKeyword &value)
ControlMappingSource & WithSourceKeyword(const SourceKeyword &value)
ControlMappingSource & WithSourceId(const char *value)
void SetTroubleshootingText(const Aws::String &value)
AWS_AUDITMANAGER_API ControlMappingSource(Aws::Utils::Json::JsonView jsonValue)
const SourceSetUpOption & GetSourceSetUpOption() const
void SetSourceDescription(const Aws::String &value)
void SetSourceSetUpOption(const SourceSetUpOption &value)
ControlMappingSource & WithSourceName(const Aws::String &value)
ControlMappingSource & WithSourceDescription(const char *value)
ControlMappingSource & WithSourceDescription(Aws::String &&value)
ControlMappingSource & WithSourceName(const char *value)
ControlMappingSource & WithSourceName(Aws::String &&value)
ControlMappingSource & WithTroubleshootingText(Aws::String &&value)
void SetSourceSetUpOption(SourceSetUpOption &&value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
ControlMappingSource & WithSourceId(const Aws::String &value)
ControlMappingSource & WithSourceFrequency(SourceFrequency &&value)
ControlMappingSource & WithSourceSetUpOption(const SourceSetUpOption &value)
AWS_AUDITMANAGER_API ControlMappingSource & operator=(Aws::Utils::Json::JsonView jsonValue)
ControlMappingSource & WithSourceType(const SourceType &value)
ControlMappingSource & WithTroubleshootingText(const Aws::String &value)
ControlMappingSource & WithSourceDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue