AWS SDK for C++

AWS SDK for C++ Version 1.11.844

Loading...
Searching...
No Matches
OneDriveParameters.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/AuthType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
31 public:
32 AWS_QUICKSIGHT_API OneDriveParameters() = default;
33 AWS_QUICKSIGHT_API OneDriveParameters(Aws::Utils::Json::JsonView jsonValue);
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetTenantId() const { return m_tenantId; }
42 inline bool TenantIdHasBeenSet() const { return m_tenantIdHasBeenSet; }
43 template <typename TenantIdT = Aws::String>
44 void SetTenantId(TenantIdT&& value) {
45 m_tenantIdHasBeenSet = true;
46 m_tenantId = std::forward<TenantIdT>(value);
47 }
48 template <typename TenantIdT = Aws::String>
49 OneDriveParameters& WithTenantId(TenantIdT&& value) {
50 SetTenantId(std::forward<TenantIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetClientId() const { return m_clientId; }
60 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
61 template <typename ClientIdT = Aws::String>
62 void SetClientId(ClientIdT&& value) {
63 m_clientIdHasBeenSet = true;
64 m_clientId = std::forward<ClientIdT>(value);
65 }
66 template <typename ClientIdT = Aws::String>
67 OneDriveParameters& WithClientId(ClientIdT&& value) {
68 SetClientId(std::forward<ClientIdT>(value));
69 return *this;
70 }
72
74
81 inline AuthType GetAuthType() const { return m_authType; }
82 inline bool AuthTypeHasBeenSet() const { return m_authTypeHasBeenSet; }
83 inline void SetAuthType(AuthType value) {
84 m_authTypeHasBeenSet = true;
85 m_authType = value;
86 }
88 SetAuthType(value);
89 return *this;
90 }
92 private:
93 Aws::String m_tenantId;
94
95 Aws::String m_clientId;
96
97 AuthType m_authType{AuthType::NOT_SET};
98 bool m_tenantIdHasBeenSet = false;
99 bool m_clientIdHasBeenSet = false;
100 bool m_authTypeHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace QuickSight
105} // namespace Aws
AWS_QUICKSIGHT_API OneDriveParameters(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API OneDriveParameters()=default
OneDriveParameters & WithClientId(ClientIdT &&value)
OneDriveParameters & WithTenantId(TenantIdT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
OneDriveParameters & WithAuthType(AuthType value)
AWS_QUICKSIGHT_API OneDriveParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue