AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
ReadClientCredentialsGrantMetadata.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/ClientCredentialsSource.h>
10#include <aws/quicksight/model/ReadClientCredentialsDetails.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
31 public:
32 AWS_QUICKSIGHT_API ReadClientCredentialsGrantMetadata() = default;
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetBaseEndpoint() const { return m_baseEndpoint; }
42 inline bool BaseEndpointHasBeenSet() const { return m_baseEndpointHasBeenSet; }
43 template <typename BaseEndpointT = Aws::String>
44 void SetBaseEndpoint(BaseEndpointT&& value) {
45 m_baseEndpointHasBeenSet = true;
46 m_baseEndpoint = std::forward<BaseEndpointT>(value);
47 }
48 template <typename BaseEndpointT = Aws::String>
50 SetBaseEndpoint(std::forward<BaseEndpointT>(value));
51 return *this;
52 }
54
56
59 inline const ReadClientCredentialsDetails& GetReadClientCredentialsDetails() const { return m_readClientCredentialsDetails; }
60 inline bool ReadClientCredentialsDetailsHasBeenSet() const { return m_readClientCredentialsDetailsHasBeenSet; }
61 template <typename ReadClientCredentialsDetailsT = ReadClientCredentialsDetails>
62 void SetReadClientCredentialsDetails(ReadClientCredentialsDetailsT&& value) {
63 m_readClientCredentialsDetailsHasBeenSet = true;
64 m_readClientCredentialsDetails = std::forward<ReadClientCredentialsDetailsT>(value);
65 }
66 template <typename ReadClientCredentialsDetailsT = ReadClientCredentialsDetails>
68 SetReadClientCredentialsDetails(std::forward<ReadClientCredentialsDetailsT>(value));
69 return *this;
70 }
72
74
78 inline ClientCredentialsSource GetClientCredentialsSource() const { return m_clientCredentialsSource; }
79 inline bool ClientCredentialsSourceHasBeenSet() const { return m_clientCredentialsSourceHasBeenSet; }
81 m_clientCredentialsSourceHasBeenSet = true;
82 m_clientCredentialsSource = value;
83 }
86 return *this;
87 }
89 private:
90 Aws::String m_baseEndpoint;
91
92 ReadClientCredentialsDetails m_readClientCredentialsDetails;
93
95 bool m_baseEndpointHasBeenSet = false;
96 bool m_readClientCredentialsDetailsHasBeenSet = false;
97 bool m_clientCredentialsSourceHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace QuickSight
102} // namespace Aws
AWS_QUICKSIGHT_API ReadClientCredentialsGrantMetadata(Aws::Utils::Json::JsonView jsonValue)
const ReadClientCredentialsDetails & GetReadClientCredentialsDetails() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
ReadClientCredentialsGrantMetadata & WithBaseEndpoint(BaseEndpointT &&value)
AWS_QUICKSIGHT_API ReadClientCredentialsGrantMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
ReadClientCredentialsGrantMetadata & WithClientCredentialsSource(ClientCredentialsSource value)
AWS_QUICKSIGHT_API ReadClientCredentialsGrantMetadata()=default
ReadClientCredentialsGrantMetadata & WithReadClientCredentialsDetails(ReadClientCredentialsDetailsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue