AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HookConfiguration.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/DocumentAttributeCondition.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QBusiness
23{
24namespace Model
25{
26
44 {
45 public:
46 AWS_QBUSINESS_API HookConfiguration();
47 AWS_QBUSINESS_API HookConfiguration(Aws::Utils::Json::JsonView jsonValue);
49 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
50
51
53
59 inline const DocumentAttributeCondition& GetInvocationCondition() const{ return m_invocationCondition; }
60 inline bool InvocationConditionHasBeenSet() const { return m_invocationConditionHasBeenSet; }
61 inline void SetInvocationCondition(const DocumentAttributeCondition& value) { m_invocationConditionHasBeenSet = true; m_invocationCondition = value; }
62 inline void SetInvocationCondition(DocumentAttributeCondition&& value) { m_invocationConditionHasBeenSet = true; m_invocationCondition = std::move(value); }
66
68
74 inline const Aws::String& GetLambdaArn() const{ return m_lambdaArn; }
75 inline bool LambdaArnHasBeenSet() const { return m_lambdaArnHasBeenSet; }
76 inline void SetLambdaArn(const Aws::String& value) { m_lambdaArnHasBeenSet = true; m_lambdaArn = value; }
77 inline void SetLambdaArn(Aws::String&& value) { m_lambdaArnHasBeenSet = true; m_lambdaArn = std::move(value); }
78 inline void SetLambdaArn(const char* value) { m_lambdaArnHasBeenSet = true; m_lambdaArn.assign(value); }
79 inline HookConfiguration& WithLambdaArn(const Aws::String& value) { SetLambdaArn(value); return *this;}
80 inline HookConfiguration& WithLambdaArn(Aws::String&& value) { SetLambdaArn(std::move(value)); return *this;}
81 inline HookConfiguration& WithLambdaArn(const char* value) { SetLambdaArn(value); return *this;}
83
85
91 inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; }
92 inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; }
93 inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; }
94 inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); }
95 inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); }
96 inline HookConfiguration& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;}
97 inline HookConfiguration& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;}
98 inline HookConfiguration& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;}
100
102
108 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
109 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
110 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
111 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
112 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
113 inline HookConfiguration& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
114 inline HookConfiguration& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
115 inline HookConfiguration& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
117 private:
118
119 DocumentAttributeCondition m_invocationCondition;
120 bool m_invocationConditionHasBeenSet = false;
121
122 Aws::String m_lambdaArn;
123 bool m_lambdaArnHasBeenSet = false;
124
125 Aws::String m_s3BucketName;
126 bool m_s3BucketNameHasBeenSet = false;
127
128 Aws::String m_roleArn;
129 bool m_roleArnHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace QBusiness
134} // namespace Aws
HookConfiguration & WithS3BucketName(const char *value)
HookConfiguration & WithLambdaArn(const Aws::String &value)
AWS_QBUSINESS_API HookConfiguration(Aws::Utils::Json::JsonView jsonValue)
HookConfiguration & WithRoleArn(const Aws::String &value)
HookConfiguration & WithLambdaArn(const char *value)
void SetLambdaArn(const Aws::String &value)
HookConfiguration & WithInvocationCondition(const DocumentAttributeCondition &value)
HookConfiguration & WithS3BucketName(Aws::String &&value)
void SetRoleArn(const Aws::String &value)
const Aws::String & GetS3BucketName() const
HookConfiguration & WithInvocationCondition(DocumentAttributeCondition &&value)
HookConfiguration & WithLambdaArn(Aws::String &&value)
void SetInvocationCondition(DocumentAttributeCondition &&value)
const Aws::String & GetLambdaArn() const
AWS_QBUSINESS_API HookConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
const DocumentAttributeCondition & GetInvocationCondition() const
HookConfiguration & WithRoleArn(Aws::String &&value)
void SetInvocationCondition(const DocumentAttributeCondition &value)
HookConfiguration & WithRoleArn(const char *value)
HookConfiguration & WithS3BucketName(const Aws::String &value)
void SetS3BucketName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue