AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
WebhookAuthConfiguration.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CodePipeline {
20namespace Model {
21
29 public:
30 AWS_CODEPIPELINE_API WebhookAuthConfiguration() = default;
33 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline const Aws::String& GetAllowedIPRange() const { return m_allowedIPRange; }
42 inline bool AllowedIPRangeHasBeenSet() const { return m_allowedIPRangeHasBeenSet; }
43 template <typename AllowedIPRangeT = Aws::String>
44 void SetAllowedIPRange(AllowedIPRangeT&& value) {
45 m_allowedIPRangeHasBeenSet = true;
46 m_allowedIPRange = std::forward<AllowedIPRangeT>(value);
47 }
48 template <typename AllowedIPRangeT = Aws::String>
49 WebhookAuthConfiguration& WithAllowedIPRange(AllowedIPRangeT&& value) {
50 SetAllowedIPRange(std::forward<AllowedIPRangeT>(value));
51 return *this;
52 }
54
56
69 inline const Aws::String& GetSecretToken() const { return m_secretToken; }
70 inline bool SecretTokenHasBeenSet() const { return m_secretTokenHasBeenSet; }
71 template <typename SecretTokenT = Aws::String>
72 void SetSecretToken(SecretTokenT&& value) {
73 m_secretTokenHasBeenSet = true;
74 m_secretToken = std::forward<SecretTokenT>(value);
75 }
76 template <typename SecretTokenT = Aws::String>
78 SetSecretToken(std::forward<SecretTokenT>(value));
79 return *this;
80 }
82 private:
83 Aws::String m_allowedIPRange;
84
85 Aws::String m_secretToken;
86 bool m_allowedIPRangeHasBeenSet = false;
87 bool m_secretTokenHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace CodePipeline
92} // namespace Aws
AWS_CODEPIPELINE_API WebhookAuthConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
WebhookAuthConfiguration & WithSecretToken(SecretTokenT &&value)
AWS_CODEPIPELINE_API WebhookAuthConfiguration()=default
WebhookAuthConfiguration & WithAllowedIPRange(AllowedIPRangeT &&value)
AWS_CODEPIPELINE_API WebhookAuthConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue