AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename ConnectionArnT = Aws::String>
51 void SetConnectionArn(ConnectionArnT&& value) { m_connectionArnHasBeenSet = true; m_connectionArn = std::forward<ConnectionArnT>(value); }
52 template<typename ConnectionArnT = Aws::String>
53 AuthenticationConfiguration& WithConnectionArn(ConnectionArnT&& value) { SetConnectionArn(std::forward<ConnectionArnT>(value)); return *this;}
55
57
62 inline const Aws::String& GetAccessRoleArn() const { return m_accessRoleArn; }
63 inline bool AccessRoleArnHasBeenSet() const { return m_accessRoleArnHasBeenSet; }
64 template<typename AccessRoleArnT = Aws::String>
65 void SetAccessRoleArn(AccessRoleArnT&& value) { m_accessRoleArnHasBeenSet = true; m_accessRoleArn = std::forward<AccessRoleArnT>(value); }
66 template<typename AccessRoleArnT = Aws::String>
67 AuthenticationConfiguration& WithAccessRoleArn(AccessRoleArnT&& value) { SetAccessRoleArn(std::forward<AccessRoleArnT>(value)); return *this;}
69 private:
70
71 Aws::String m_connectionArn;
72 bool m_connectionArnHasBeenSet = false;
73
74 Aws::String m_accessRoleArn;
75 bool m_accessRoleArnHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace AppRunner
80} // namespace Aws
AuthenticationConfiguration & WithAccessRoleArn(AccessRoleArnT &&value)
AWS_APPRUNNER_API AuthenticationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPRUNNER_API AuthenticationConfiguration()=default
AWS_APPRUNNER_API AuthenticationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AuthenticationConfiguration & WithConnectionArn(ConnectionArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue