AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
ClientCredentialsGrantDetails.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
30 public:
31 AWS_QUICKSIGHT_API ClientCredentialsGrantDetails() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetClientId() const { return m_clientId; }
42 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
43 template <typename ClientIdT = Aws::String>
44 void SetClientId(ClientIdT&& value) {
45 m_clientIdHasBeenSet = true;
46 m_clientId = std::forward<ClientIdT>(value);
47 }
48 template <typename ClientIdT = Aws::String>
50 SetClientId(std::forward<ClientIdT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetClientSecret() const { return m_clientSecret; }
61 inline bool ClientSecretHasBeenSet() const { return m_clientSecretHasBeenSet; }
62 template <typename ClientSecretT = Aws::String>
63 void SetClientSecret(ClientSecretT&& value) {
64 m_clientSecretHasBeenSet = true;
65 m_clientSecret = std::forward<ClientSecretT>(value);
66 }
67 template <typename ClientSecretT = Aws::String>
69 SetClientSecret(std::forward<ClientSecretT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::String& GetTokenEndpoint() const { return m_tokenEndpoint; }
80 inline bool TokenEndpointHasBeenSet() const { return m_tokenEndpointHasBeenSet; }
81 template <typename TokenEndpointT = Aws::String>
82 void SetTokenEndpoint(TokenEndpointT&& value) {
83 m_tokenEndpointHasBeenSet = true;
84 m_tokenEndpoint = std::forward<TokenEndpointT>(value);
85 }
86 template <typename TokenEndpointT = Aws::String>
88 SetTokenEndpoint(std::forward<TokenEndpointT>(value));
89 return *this;
90 }
92 private:
93 Aws::String m_clientId;
94
95 Aws::String m_clientSecret;
96
97 Aws::String m_tokenEndpoint;
98 bool m_clientIdHasBeenSet = false;
99 bool m_clientSecretHasBeenSet = false;
100 bool m_tokenEndpointHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace QuickSight
105} // namespace Aws
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API ClientCredentialsGrantDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API ClientCredentialsGrantDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ClientCredentialsGrantDetails & WithClientId(ClientIdT &&value)
AWS_QUICKSIGHT_API ClientCredentialsGrantDetails()=default
ClientCredentialsGrantDetails & WithTokenEndpoint(TokenEndpointT &&value)
ClientCredentialsGrantDetails & WithClientSecret(ClientSecretT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue