AWS SDK for C++

AWS SDK for C++ Version 1.11.785

Loading...
Searching...
No Matches
ClientCredentialsGrantMetadata.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/ClientCredentialsDetails.h>
10#include <aws/quicksight/model/ClientCredentialsSource.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
32 public:
33 AWS_QUICKSIGHT_API ClientCredentialsGrantMetadata() = default;
36 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetBaseEndpoint() const { return m_baseEndpoint; }
43 inline bool BaseEndpointHasBeenSet() const { return m_baseEndpointHasBeenSet; }
44 template <typename BaseEndpointT = Aws::String>
45 void SetBaseEndpoint(BaseEndpointT&& value) {
46 m_baseEndpointHasBeenSet = true;
47 m_baseEndpoint = std::forward<BaseEndpointT>(value);
48 }
49 template <typename BaseEndpointT = Aws::String>
51 SetBaseEndpoint(std::forward<BaseEndpointT>(value));
52 return *this;
53 }
55
57
60 inline ClientCredentialsSource GetClientCredentialsSource() const { return m_clientCredentialsSource; }
61 inline bool ClientCredentialsSourceHasBeenSet() const { return m_clientCredentialsSourceHasBeenSet; }
63 m_clientCredentialsSourceHasBeenSet = true;
64 m_clientCredentialsSource = value;
65 }
68 return *this;
69 }
71
73
77 inline const ClientCredentialsDetails& GetClientCredentialsDetails() const { return m_clientCredentialsDetails; }
78 inline bool ClientCredentialsDetailsHasBeenSet() const { return m_clientCredentialsDetailsHasBeenSet; }
79 template <typename ClientCredentialsDetailsT = ClientCredentialsDetails>
80 void SetClientCredentialsDetails(ClientCredentialsDetailsT&& value) {
81 m_clientCredentialsDetailsHasBeenSet = true;
82 m_clientCredentialsDetails = std::forward<ClientCredentialsDetailsT>(value);
83 }
84 template <typename ClientCredentialsDetailsT = ClientCredentialsDetails>
86 SetClientCredentialsDetails(std::forward<ClientCredentialsDetailsT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_baseEndpoint;
92
94
95 ClientCredentialsDetails m_clientCredentialsDetails;
96 bool m_baseEndpointHasBeenSet = false;
97 bool m_clientCredentialsSourceHasBeenSet = false;
98 bool m_clientCredentialsDetailsHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace QuickSight
103} // namespace Aws
ClientCredentialsGrantMetadata & WithClientCredentialsDetails(ClientCredentialsDetailsT &&value)
ClientCredentialsGrantMetadata & WithClientCredentialsSource(ClientCredentialsSource value)
AWS_QUICKSIGHT_API ClientCredentialsGrantMetadata(Aws::Utils::Json::JsonView jsonValue)
ClientCredentialsGrantMetadata & WithBaseEndpoint(BaseEndpointT &&value)
AWS_QUICKSIGHT_API ClientCredentialsGrantMetadata()=default
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const ClientCredentialsDetails & GetClientCredentialsDetails() const
AWS_QUICKSIGHT_API ClientCredentialsGrantMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue