AWS SDK for C++

AWS SDK for C++ Version 1.11.918

Loading...
Searching...
No Matches
ServiceAccountCredentials.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QuickSight {
20namespace Model {
21
31 public:
32 AWS_QUICKSIGHT_API ServiceAccountCredentials() = default;
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline const Aws::String& GetAdminAccountEmail() const { return m_adminAccountEmail; }
44 inline bool AdminAccountEmailHasBeenSet() const { return m_adminAccountEmailHasBeenSet; }
45 template <typename AdminAccountEmailT = Aws::String>
46 void SetAdminAccountEmail(AdminAccountEmailT&& value) {
47 m_adminAccountEmailHasBeenSet = true;
48 m_adminAccountEmail = std::forward<AdminAccountEmailT>(value);
49 }
50 template <typename AdminAccountEmailT = Aws::String>
51 ServiceAccountCredentials& WithAdminAccountEmail(AdminAccountEmailT&& value) {
52 SetAdminAccountEmail(std::forward<AdminAccountEmailT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::String& GetServiceAccountPrivateKey() const { return m_serviceAccountPrivateKey; }
63 inline bool ServiceAccountPrivateKeyHasBeenSet() const { return m_serviceAccountPrivateKeyHasBeenSet; }
64 template <typename ServiceAccountPrivateKeyT = Aws::String>
65 void SetServiceAccountPrivateKey(ServiceAccountPrivateKeyT&& value) {
66 m_serviceAccountPrivateKeyHasBeenSet = true;
67 m_serviceAccountPrivateKey = std::forward<ServiceAccountPrivateKeyT>(value);
68 }
69 template <typename ServiceAccountPrivateKeyT = Aws::String>
70 ServiceAccountCredentials& WithServiceAccountPrivateKey(ServiceAccountPrivateKeyT&& value) {
71 SetServiceAccountPrivateKey(std::forward<ServiceAccountPrivateKeyT>(value));
72 return *this;
73 }
75
77
81 inline const Aws::String& GetClientEmail() const { return m_clientEmail; }
82 inline bool ClientEmailHasBeenSet() const { return m_clientEmailHasBeenSet; }
83 template <typename ClientEmailT = Aws::String>
84 void SetClientEmail(ClientEmailT&& value) {
85 m_clientEmailHasBeenSet = true;
86 m_clientEmail = std::forward<ClientEmailT>(value);
87 }
88 template <typename ClientEmailT = Aws::String>
90 SetClientEmail(std::forward<ClientEmailT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_adminAccountEmail;
96
97 Aws::String m_serviceAccountPrivateKey;
98
99 Aws::String m_clientEmail;
100 bool m_adminAccountEmailHasBeenSet = false;
101 bool m_serviceAccountPrivateKeyHasBeenSet = false;
102 bool m_clientEmailHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace QuickSight
107} // namespace Aws
ServiceAccountCredentials & WithClientEmail(ClientEmailT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API ServiceAccountCredentials & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceAccountCredentials & WithServiceAccountPrivateKey(ServiceAccountPrivateKeyT &&value)
ServiceAccountCredentials & WithAdminAccountEmail(AdminAccountEmailT &&value)
AWS_QUICKSIGHT_API ServiceAccountCredentials(Aws::Utils::Json::JsonView jsonValue)
void SetServiceAccountPrivateKey(ServiceAccountPrivateKeyT &&value)
AWS_QUICKSIGHT_API ServiceAccountCredentials()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue