AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
49 inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
50 inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
51 inline AuthenticationConfiguration& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
52 inline AuthenticationConfiguration& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
53 inline AuthenticationConfiguration& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
55
57
60 inline const Connectivity& GetConnectivity() const{ return m_connectivity; }
61 inline bool ConnectivityHasBeenSet() const { return m_connectivityHasBeenSet; }
62 inline void SetConnectivity(const Connectivity& value) { m_connectivityHasBeenSet = true; m_connectivity = value; }
63 inline void SetConnectivity(Connectivity&& value) { m_connectivityHasBeenSet = true; m_connectivity = std::move(value); }
64 inline AuthenticationConfiguration& WithConnectivity(const Connectivity& value) { SetConnectivity(value); return *this;}
65 inline AuthenticationConfiguration& WithConnectivity(Connectivity&& value) { SetConnectivity(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_roleARN;
70 bool m_roleARNHasBeenSet = false;
71
72 Connectivity m_connectivity;
73 bool m_connectivityHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Firehose
78} // namespace Aws
AuthenticationConfiguration & WithRoleARN(Aws::String &&value)
AWS_FIREHOSE_API AuthenticationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AuthenticationConfiguration & WithConnectivity(Connectivity &&value)
AuthenticationConfiguration & WithConnectivity(const Connectivity &value)
AuthenticationConfiguration & WithRoleARN(const Aws::String &value)
AuthenticationConfiguration & WithRoleARN(const char *value)
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