AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateControlMappingSource.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
38 {
39 public:
40 AWS_AUDITMANAGER_API CreateControlMappingSource();
43 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetSourceName() const{ return m_sourceName; }
51 inline bool SourceNameHasBeenSet() const { return m_sourceNameHasBeenSet; }
52 inline void SetSourceName(const Aws::String& value) { m_sourceNameHasBeenSet = true; m_sourceName = value; }
53 inline void SetSourceName(Aws::String&& value) { m_sourceNameHasBeenSet = true; m_sourceName = std::move(value); }
54 inline void SetSourceName(const char* value) { m_sourceNameHasBeenSet = true; m_sourceName.assign(value); }
55 inline CreateControlMappingSource& WithSourceName(const Aws::String& value) { SetSourceName(value); return *this;}
56 inline CreateControlMappingSource& WithSourceName(Aws::String&& value) { SetSourceName(std::move(value)); return *this;}
57 inline CreateControlMappingSource& WithSourceName(const char* value) { SetSourceName(value); return *this;}
59
61
65 inline const Aws::String& GetSourceDescription() const{ return m_sourceDescription; }
66 inline bool SourceDescriptionHasBeenSet() const { return m_sourceDescriptionHasBeenSet; }
67 inline void SetSourceDescription(const Aws::String& value) { m_sourceDescriptionHasBeenSet = true; m_sourceDescription = value; }
68 inline void SetSourceDescription(Aws::String&& value) { m_sourceDescriptionHasBeenSet = true; m_sourceDescription = std::move(value); }
69 inline void SetSourceDescription(const char* value) { m_sourceDescriptionHasBeenSet = true; m_sourceDescription.assign(value); }
71 inline CreateControlMappingSource& WithSourceDescription(Aws::String&& value) { SetSourceDescription(std::move(value)); return *this;}
72 inline CreateControlMappingSource& WithSourceDescription(const char* value) { SetSourceDescription(value); return *this;}
74
76
82 inline const SourceSetUpOption& GetSourceSetUpOption() const{ return m_sourceSetUpOption; }
83 inline bool SourceSetUpOptionHasBeenSet() const { return m_sourceSetUpOptionHasBeenSet; }
84 inline void SetSourceSetUpOption(const SourceSetUpOption& value) { m_sourceSetUpOptionHasBeenSet = true; m_sourceSetUpOption = value; }
85 inline void SetSourceSetUpOption(SourceSetUpOption&& value) { m_sourceSetUpOptionHasBeenSet = true; m_sourceSetUpOption = std::move(value); }
89
91
100 inline const SourceType& GetSourceType() const{ return m_sourceType; }
101 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
102 inline void SetSourceType(const SourceType& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
103 inline void SetSourceType(SourceType&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); }
104 inline CreateControlMappingSource& WithSourceType(const SourceType& value) { SetSourceType(value); return *this;}
105 inline CreateControlMappingSource& WithSourceType(SourceType&& value) { SetSourceType(std::move(value)); return *this;}
107
109
110 inline const SourceKeyword& GetSourceKeyword() const{ return m_sourceKeyword; }
111 inline bool SourceKeywordHasBeenSet() const { return m_sourceKeywordHasBeenSet; }
112 inline void SetSourceKeyword(const SourceKeyword& value) { m_sourceKeywordHasBeenSet = true; m_sourceKeyword = value; }
113 inline void SetSourceKeyword(SourceKeyword&& value) { m_sourceKeywordHasBeenSet = true; m_sourceKeyword = std::move(value); }
114 inline CreateControlMappingSource& WithSourceKeyword(const SourceKeyword& value) { SetSourceKeyword(value); return *this;}
115 inline CreateControlMappingSource& WithSourceKeyword(SourceKeyword&& value) { SetSourceKeyword(std::move(value)); return *this;}
117
119
123 inline const SourceFrequency& GetSourceFrequency() const{ return m_sourceFrequency; }
124 inline bool SourceFrequencyHasBeenSet() const { return m_sourceFrequencyHasBeenSet; }
125 inline void SetSourceFrequency(const SourceFrequency& value) { m_sourceFrequencyHasBeenSet = true; m_sourceFrequency = value; }
126 inline void SetSourceFrequency(SourceFrequency&& value) { m_sourceFrequencyHasBeenSet = true; m_sourceFrequency = std::move(value); }
128 inline CreateControlMappingSource& WithSourceFrequency(SourceFrequency&& value) { SetSourceFrequency(std::move(value)); return *this;}
130
132
135 inline const Aws::String& GetTroubleshootingText() const{ return m_troubleshootingText; }
136 inline bool TroubleshootingTextHasBeenSet() const { return m_troubleshootingTextHasBeenSet; }
137 inline void SetTroubleshootingText(const Aws::String& value) { m_troubleshootingTextHasBeenSet = true; m_troubleshootingText = value; }
138 inline void SetTroubleshootingText(Aws::String&& value) { m_troubleshootingTextHasBeenSet = true; m_troubleshootingText = std::move(value); }
139 inline void SetTroubleshootingText(const char* value) { m_troubleshootingTextHasBeenSet = true; m_troubleshootingText.assign(value); }
142 inline CreateControlMappingSource& WithTroubleshootingText(const char* value) { SetTroubleshootingText(value); return *this;}
144 private:
145
146 Aws::String m_sourceName;
147 bool m_sourceNameHasBeenSet = false;
148
149 Aws::String m_sourceDescription;
150 bool m_sourceDescriptionHasBeenSet = false;
151
152 SourceSetUpOption m_sourceSetUpOption;
153 bool m_sourceSetUpOptionHasBeenSet = false;
154
155 SourceType m_sourceType;
156 bool m_sourceTypeHasBeenSet = false;
157
158 SourceKeyword m_sourceKeyword;
159 bool m_sourceKeywordHasBeenSet = false;
160
161 SourceFrequency m_sourceFrequency;
162 bool m_sourceFrequencyHasBeenSet = false;
163
164 Aws::String m_troubleshootingText;
165 bool m_troubleshootingTextHasBeenSet = false;
166 };
167
168} // namespace Model
169} // namespace AuditManager
170} // namespace Aws
CreateControlMappingSource & WithSourceDescription(const Aws::String &value)
CreateControlMappingSource & WithSourceKeyword(const SourceKeyword &value)
CreateControlMappingSource & WithTroubleshootingText(const Aws::String &value)
CreateControlMappingSource & WithSourceDescription(Aws::String &&value)
CreateControlMappingSource & WithSourceType(const SourceType &value)
AWS_AUDITMANAGER_API CreateControlMappingSource(Aws::Utils::Json::JsonView jsonValue)
CreateControlMappingSource & WithSourceName(const char *value)
CreateControlMappingSource & WithSourceFrequency(const SourceFrequency &value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
CreateControlMappingSource & WithSourceSetUpOption(SourceSetUpOption &&value)
CreateControlMappingSource & WithSourceName(const Aws::String &value)
CreateControlMappingSource & WithSourceKeyword(SourceKeyword &&value)
CreateControlMappingSource & WithSourceSetUpOption(const SourceSetUpOption &value)
CreateControlMappingSource & WithSourceType(SourceType &&value)
CreateControlMappingSource & WithSourceFrequency(SourceFrequency &&value)
CreateControlMappingSource & WithTroubleshootingText(const char *value)
CreateControlMappingSource & WithSourceDescription(const char *value)
CreateControlMappingSource & WithTroubleshootingText(Aws::String &&value)
CreateControlMappingSource & WithSourceName(Aws::String &&value)
AWS_AUDITMANAGER_API CreateControlMappingSource & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue