AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AuthenticationConfiguration.h
1
6#pragma once
7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AppRunner
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_APPRUNNER_API AuthenticationConfiguration();
39 AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::String& GetConnectionArn() const{ return m_connectionArn; }
49 inline bool ConnectionArnHasBeenSet() const { return m_connectionArnHasBeenSet; }
50 inline void SetConnectionArn(const Aws::String& value) { m_connectionArnHasBeenSet = true; m_connectionArn = value; }
51 inline void SetConnectionArn(Aws::String&& value) { m_connectionArnHasBeenSet = true; m_connectionArn = std::move(value); }
52 inline void SetConnectionArn(const char* value) { m_connectionArnHasBeenSet = true; m_connectionArn.assign(value); }
53 inline AuthenticationConfiguration& WithConnectionArn(const Aws::String& value) { SetConnectionArn(value); return *this;}
54 inline AuthenticationConfiguration& WithConnectionArn(Aws::String&& value) { SetConnectionArn(std::move(value)); return *this;}
55 inline AuthenticationConfiguration& WithConnectionArn(const char* value) { SetConnectionArn(value); return *this;}
57
59
64 inline const Aws::String& GetAccessRoleArn() const{ return m_accessRoleArn; }
65 inline bool AccessRoleArnHasBeenSet() const { return m_accessRoleArnHasBeenSet; }
66 inline void SetAccessRoleArn(const Aws::String& value) { m_accessRoleArnHasBeenSet = true; m_accessRoleArn = value; }
67 inline void SetAccessRoleArn(Aws::String&& value) { m_accessRoleArnHasBeenSet = true; m_accessRoleArn = std::move(value); }
68 inline void SetAccessRoleArn(const char* value) { m_accessRoleArnHasBeenSet = true; m_accessRoleArn.assign(value); }
69 inline AuthenticationConfiguration& WithAccessRoleArn(const Aws::String& value) { SetAccessRoleArn(value); return *this;}
70 inline AuthenticationConfiguration& WithAccessRoleArn(Aws::String&& value) { SetAccessRoleArn(std::move(value)); return *this;}
71 inline AuthenticationConfiguration& WithAccessRoleArn(const char* value) { SetAccessRoleArn(value); return *this;}
73 private:
74
75 Aws::String m_connectionArn;
76 bool m_connectionArnHasBeenSet = false;
77
78 Aws::String m_accessRoleArn;
79 bool m_accessRoleArnHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace AppRunner
84} // namespace Aws
AuthenticationConfiguration & WithAccessRoleArn(const char *value)
AuthenticationConfiguration & WithConnectionArn(const char *value)
AWS_APPRUNNER_API AuthenticationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const
AuthenticationConfiguration & WithAccessRoleArn(Aws::String &&value)
AuthenticationConfiguration & WithAccessRoleArn(const Aws::String &value)
AuthenticationConfiguration & WithConnectionArn(const Aws::String &value)
AWS_APPRUNNER_API AuthenticationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AuthenticationConfiguration & WithConnectionArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue