AWS SDK for C++  1.9.108
AWS SDK for C++
WebhookFilterRule.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace CodePipeline
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
48  inline const Aws::String& GetJsonPath() const{ return m_jsonPath; }
49 
57  inline bool JsonPathHasBeenSet() const { return m_jsonPathHasBeenSet; }
58 
66  inline void SetJsonPath(const Aws::String& value) { m_jsonPathHasBeenSet = true; m_jsonPath = value; }
67 
75  inline void SetJsonPath(Aws::String&& value) { m_jsonPathHasBeenSet = true; m_jsonPath = std::move(value); }
76 
84  inline void SetJsonPath(const char* value) { m_jsonPathHasBeenSet = true; m_jsonPath.assign(value); }
85 
93  inline WebhookFilterRule& WithJsonPath(const Aws::String& value) { SetJsonPath(value); return *this;}
94 
102  inline WebhookFilterRule& WithJsonPath(Aws::String&& value) { SetJsonPath(std::move(value)); return *this;}
103 
111  inline WebhookFilterRule& WithJsonPath(const char* value) { SetJsonPath(value); return *this;}
112 
113 
127  inline const Aws::String& GetMatchEquals() const{ return m_matchEquals; }
128 
142  inline bool MatchEqualsHasBeenSet() const { return m_matchEqualsHasBeenSet; }
143 
157  inline void SetMatchEquals(const Aws::String& value) { m_matchEqualsHasBeenSet = true; m_matchEquals = value; }
158 
172  inline void SetMatchEquals(Aws::String&& value) { m_matchEqualsHasBeenSet = true; m_matchEquals = std::move(value); }
173 
187  inline void SetMatchEquals(const char* value) { m_matchEqualsHasBeenSet = true; m_matchEquals.assign(value); }
188 
202  inline WebhookFilterRule& WithMatchEquals(const Aws::String& value) { SetMatchEquals(value); return *this;}
203 
217  inline WebhookFilterRule& WithMatchEquals(Aws::String&& value) { SetMatchEquals(std::move(value)); return *this;}
218 
232  inline WebhookFilterRule& WithMatchEquals(const char* value) { SetMatchEquals(value); return *this;}
233 
234  private:
235 
236  Aws::String m_jsonPath;
237  bool m_jsonPathHasBeenSet;
238 
239  Aws::String m_matchEquals;
240  bool m_matchEqualsHasBeenSet;
241  };
242 
243 } // namespace Model
244 } // namespace CodePipeline
245 } // namespace Aws
Aws::CodePipeline::Model::WebhookFilterRule::SetMatchEquals
void SetMatchEquals(Aws::String &&value)
Definition: WebhookFilterRule.h:172
AWS_CODEPIPELINE_API
#define AWS_CODEPIPELINE_API
Definition: CodePipeline_EXPORTS.h:28
Aws::CodePipeline::Model::WebhookFilterRule::WithMatchEquals
WebhookFilterRule & WithMatchEquals(const char *value)
Definition: WebhookFilterRule.h:232
Aws::CodePipeline::Model::WebhookFilterRule::MatchEqualsHasBeenSet
bool MatchEqualsHasBeenSet() const
Definition: WebhookFilterRule.h:142
CodePipeline_EXPORTS.h
Aws::CodePipeline::Model::WebhookFilterRule::WithMatchEquals
WebhookFilterRule & WithMatchEquals(Aws::String &&value)
Definition: WebhookFilterRule.h:217
Aws::CodePipeline::Model::WebhookFilterRule::WebhookFilterRule
WebhookFilterRule()
Aws::CodePipeline::Model::WebhookFilterRule::WebhookFilterRule
WebhookFilterRule(Aws::Utils::Json::JsonView jsonValue)
Aws::CodePipeline::Model::WebhookFilterRule::WithJsonPath
WebhookFilterRule & WithJsonPath(const char *value)
Definition: WebhookFilterRule.h:111
Aws::CodePipeline::Model::WebhookFilterRule::GetMatchEquals
const Aws::String & GetMatchEquals() const
Definition: WebhookFilterRule.h:127
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::CodePipeline::Model::WebhookFilterRule::WithJsonPath
WebhookFilterRule & WithJsonPath(const Aws::String &value)
Definition: WebhookFilterRule.h:93
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::CodePipeline::Model::WebhookFilterRule::SetJsonPath
void SetJsonPath(const Aws::String &value)
Definition: WebhookFilterRule.h:66
Aws
Definition: AccessManagementClient.h:15
Aws::CodePipeline::Model::WebhookFilterRule::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::CodePipeline::Model::WebhookFilterRule::GetJsonPath
const Aws::String & GetJsonPath() const
Definition: WebhookFilterRule.h:48
Aws::CodePipeline::Model::WebhookFilterRule::SetJsonPath
void SetJsonPath(Aws::String &&value)
Definition: WebhookFilterRule.h:75
Aws::CodePipeline::Model::WebhookFilterRule::SetMatchEquals
void SetMatchEquals(const char *value)
Definition: WebhookFilterRule.h:187
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodePipeline::Model::WebhookFilterRule::SetJsonPath
void SetJsonPath(const char *value)
Definition: WebhookFilterRule.h:84
Aws::CodePipeline::Model::WebhookFilterRule::JsonPathHasBeenSet
bool JsonPathHasBeenSet() const
Definition: WebhookFilterRule.h:57
Aws::CodePipeline::Model::WebhookFilterRule::operator=
WebhookFilterRule & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::CodePipeline::Model::WebhookFilterRule::SetMatchEquals
void SetMatchEquals(const Aws::String &value)
Definition: WebhookFilterRule.h:157
Aws::CodePipeline::Model::WebhookFilterRule::WithMatchEquals
WebhookFilterRule & WithMatchEquals(const Aws::String &value)
Definition: WebhookFilterRule.h:202
Aws::CodePipeline::Model::WebhookFilterRule::WithJsonPath
WebhookFilterRule & WithJsonPath(Aws::String &&value)
Definition: WebhookFilterRule.h:102
Aws::CodePipeline::Model::WebhookFilterRule
Definition: WebhookFilterRule.h:33