AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
CustomAccountPoolHandler.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZone_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DataZone {
20namespace Model {
21
29 public:
30 AWS_DATAZONE_API CustomAccountPoolHandler() = default;
33 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline const Aws::String& GetLambdaExecutionRoleArn() const { return m_lambdaExecutionRoleArn; }
42 inline bool LambdaExecutionRoleArnHasBeenSet() const { return m_lambdaExecutionRoleArnHasBeenSet; }
43 template <typename LambdaExecutionRoleArnT = Aws::String>
44 void SetLambdaExecutionRoleArn(LambdaExecutionRoleArnT&& value) {
45 m_lambdaExecutionRoleArnHasBeenSet = true;
46 m_lambdaExecutionRoleArn = std::forward<LambdaExecutionRoleArnT>(value);
47 }
48 template <typename LambdaExecutionRoleArnT = Aws::String>
49 CustomAccountPoolHandler& WithLambdaExecutionRoleArn(LambdaExecutionRoleArnT&& value) {
50 SetLambdaExecutionRoleArn(std::forward<LambdaExecutionRoleArnT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetLambdaFunctionArn() const { return m_lambdaFunctionArn; }
61 inline bool LambdaFunctionArnHasBeenSet() const { return m_lambdaFunctionArnHasBeenSet; }
62 template <typename LambdaFunctionArnT = Aws::String>
63 void SetLambdaFunctionArn(LambdaFunctionArnT&& value) {
64 m_lambdaFunctionArnHasBeenSet = true;
65 m_lambdaFunctionArn = std::forward<LambdaFunctionArnT>(value);
66 }
67 template <typename LambdaFunctionArnT = Aws::String>
68 CustomAccountPoolHandler& WithLambdaFunctionArn(LambdaFunctionArnT&& value) {
69 SetLambdaFunctionArn(std::forward<LambdaFunctionArnT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_lambdaExecutionRoleArn;
75 bool m_lambdaExecutionRoleArnHasBeenSet = false;
76
77 Aws::String m_lambdaFunctionArn;
78 bool m_lambdaFunctionArnHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace DataZone
83} // namespace Aws
AWS_DATAZONE_API CustomAccountPoolHandler()=default
AWS_DATAZONE_API CustomAccountPoolHandler(Aws::Utils::Json::JsonView jsonValue)
CustomAccountPoolHandler & WithLambdaExecutionRoleArn(LambdaExecutionRoleArnT &&value)
CustomAccountPoolHandler & WithLambdaFunctionArn(LambdaFunctionArnT &&value)
AWS_DATAZONE_API CustomAccountPoolHandler & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLambdaExecutionRoleArn(LambdaExecutionRoleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue