AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
IdcAuthConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qbusiness/QBusiness_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QBusiness {
20namespace Model {
21
29 public:
30 AWS_QBUSINESS_API IdcAuthConfiguration() = default;
33 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetIdcApplicationArn() const { return m_idcApplicationArn; }
41 inline bool IdcApplicationArnHasBeenSet() const { return m_idcApplicationArnHasBeenSet; }
42 template <typename IdcApplicationArnT = Aws::String>
44 m_idcApplicationArnHasBeenSet = true;
45 m_idcApplicationArn = std::forward<IdcApplicationArnT>(value);
46 }
47 template <typename IdcApplicationArnT = Aws::String>
49 SetIdcApplicationArn(std::forward<IdcApplicationArnT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
60 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
61 template <typename RoleArnT = Aws::String>
62 void SetRoleArn(RoleArnT&& value) {
63 m_roleArnHasBeenSet = true;
64 m_roleArn = std::forward<RoleArnT>(value);
65 }
66 template <typename RoleArnT = Aws::String>
68 SetRoleArn(std::forward<RoleArnT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_idcApplicationArn;
74
75 Aws::String m_roleArn;
76 bool m_idcApplicationArnHasBeenSet = false;
77 bool m_roleArnHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace QBusiness
82} // namespace Aws
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
IdcAuthConfiguration & WithRoleArn(RoleArnT &&value)
void SetIdcApplicationArn(IdcApplicationArnT &&value)
IdcAuthConfiguration & WithIdcApplicationArn(IdcApplicationArnT &&value)
AWS_QBUSINESS_API IdcAuthConfiguration()=default
AWS_QBUSINESS_API IdcAuthConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API IdcAuthConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue