AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AuthenticationConfiguration.h
1
6#pragma once
7#include <aws/firehose/Firehose_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/firehose/model/Connectivity.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Firehose
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_FIREHOSE_API AuthenticationConfiguration() = default;
39 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
47 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
48 template<typename RoleARNT = Aws::String>
49 void SetRoleARN(RoleARNT&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::forward<RoleARNT>(value); }
50 template<typename RoleARNT = Aws::String>
51 AuthenticationConfiguration& WithRoleARN(RoleARNT&& value) { SetRoleARN(std::forward<RoleARNT>(value)); return *this;}
53
55
58 inline Connectivity GetConnectivity() const { return m_connectivity; }
59 inline bool ConnectivityHasBeenSet() const { return m_connectivityHasBeenSet; }
60 inline void SetConnectivity(Connectivity value) { m_connectivityHasBeenSet = true; m_connectivity = value; }
63 private:
64
65 Aws::String m_roleARN;
66 bool m_roleARNHasBeenSet = false;
67
68 Connectivity m_connectivity{Connectivity::NOT_SET};
69 bool m_connectivityHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Firehose
74} // namespace Aws
AWS_FIREHOSE_API AuthenticationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AuthenticationConfiguration & WithConnectivity(Connectivity value)
AuthenticationConfiguration & WithRoleARN(RoleARNT &&value)
AWS_FIREHOSE_API AuthenticationConfiguration()=default
AWS_FIREHOSE_API AuthenticationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue