AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AppRunner {
20namespace Model {
21
30 public:
31 AWS_APPRUNNER_API AuthenticationConfiguration() = default;
34 AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline const Aws::String& GetConnectionArn() const { return m_connectionArn; }
43 inline bool ConnectionArnHasBeenSet() const { return m_connectionArnHasBeenSet; }
44 template <typename ConnectionArnT = Aws::String>
45 void SetConnectionArn(ConnectionArnT&& value) {
46 m_connectionArnHasBeenSet = true;
47 m_connectionArn = std::forward<ConnectionArnT>(value);
48 }
49 template <typename ConnectionArnT = Aws::String>
51 SetConnectionArn(std::forward<ConnectionArnT>(value));
52 return *this;
53 }
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) {
66 m_accessRoleArnHasBeenSet = true;
67 m_accessRoleArn = std::forward<AccessRoleArnT>(value);
68 }
69 template <typename AccessRoleArnT = Aws::String>
71 SetAccessRoleArn(std::forward<AccessRoleArnT>(value));
72 return *this;
73 }
75 private:
76 Aws::String m_connectionArn;
77
78 Aws::String m_accessRoleArn;
79 bool m_connectionArnHasBeenSet = false;
80 bool m_accessRoleArnHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace AppRunner
85} // 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