AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
AuthenticationConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/firehose/Firehose_EXPORTS.h>
9#include <aws/firehose/model/Connectivity.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Firehose {
21namespace Model {
22
30 public:
31 AWS_FIREHOSE_API AuthenticationConfiguration() = default;
34 AWS_FIREHOSE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetRoleARN() const { return m_roleARN; }
41 inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
42 template <typename RoleARNT = Aws::String>
43 void SetRoleARN(RoleARNT&& value) {
44 m_roleARNHasBeenSet = true;
45 m_roleARN = std::forward<RoleARNT>(value);
46 }
47 template <typename RoleARNT = Aws::String>
49 SetRoleARN(std::forward<RoleARNT>(value));
50 return *this;
51 }
53
55
58 inline Connectivity GetConnectivity() const { return m_connectivity; }
59 inline bool ConnectivityHasBeenSet() const { return m_connectivityHasBeenSet; }
60 inline void SetConnectivity(Connectivity value) {
61 m_connectivityHasBeenSet = true;
62 m_connectivity = value;
63 }
65 SetConnectivity(value);
66 return *this;
67 }
69 private:
70 Aws::String m_roleARN;
71
72 Connectivity m_connectivity{Connectivity::NOT_SET};
73 bool m_roleARNHasBeenSet = false;
74 bool m_connectivityHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Firehose
79} // 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