AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
ReadClientCredentialsGrantDetails.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
29 public:
30 AWS_QUICKSIGHT_API ReadClientCredentialsGrantDetails() = default;
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetClientId() const { return m_clientId; }
40 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
41 template <typename ClientIdT = Aws::String>
42 void SetClientId(ClientIdT&& value) {
43 m_clientIdHasBeenSet = true;
44 m_clientId = std::forward<ClientIdT>(value);
45 }
46 template <typename ClientIdT = Aws::String>
48 SetClientId(std::forward<ClientIdT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetTokenEndpoint() const { return m_tokenEndpoint; }
59 inline bool TokenEndpointHasBeenSet() const { return m_tokenEndpointHasBeenSet; }
60 template <typename TokenEndpointT = Aws::String>
61 void SetTokenEndpoint(TokenEndpointT&& value) {
62 m_tokenEndpointHasBeenSet = true;
63 m_tokenEndpoint = std::forward<TokenEndpointT>(value);
64 }
65 template <typename TokenEndpointT = Aws::String>
67 SetTokenEndpoint(std::forward<TokenEndpointT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_clientId;
73
74 Aws::String m_tokenEndpoint;
75 bool m_clientIdHasBeenSet = false;
76 bool m_tokenEndpointHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace QuickSight
81} // namespace Aws
ReadClientCredentialsGrantDetails & WithClientId(ClientIdT &&value)
AWS_QUICKSIGHT_API ReadClientCredentialsGrantDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
ReadClientCredentialsGrantDetails & WithTokenEndpoint(TokenEndpointT &&value)
AWS_QUICKSIGHT_API ReadClientCredentialsGrantDetails()=default
AWS_QUICKSIGHT_API ReadClientCredentialsGrantDetails(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue