AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JwtBearerGrant.h
1
6#pragma once
7#include <aws/sso-admin/SSOAdmin_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sso-admin/model/AuthorizedTokenIssuer.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SSOAdmin
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SSOADMIN_API JwtBearerGrant();
37 AWS_SSOADMIN_API JwtBearerGrant(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<AuthorizedTokenIssuer>& GetAuthorizedTokenIssuers() const{ return m_authorizedTokenIssuers; }
48 inline bool AuthorizedTokenIssuersHasBeenSet() const { return m_authorizedTokenIssuersHasBeenSet; }
49 inline void SetAuthorizedTokenIssuers(const Aws::Vector<AuthorizedTokenIssuer>& value) { m_authorizedTokenIssuersHasBeenSet = true; m_authorizedTokenIssuers = value; }
50 inline void SetAuthorizedTokenIssuers(Aws::Vector<AuthorizedTokenIssuer>&& value) { m_authorizedTokenIssuersHasBeenSet = true; m_authorizedTokenIssuers = std::move(value); }
53 inline JwtBearerGrant& AddAuthorizedTokenIssuers(const AuthorizedTokenIssuer& value) { m_authorizedTokenIssuersHasBeenSet = true; m_authorizedTokenIssuers.push_back(value); return *this; }
54 inline JwtBearerGrant& AddAuthorizedTokenIssuers(AuthorizedTokenIssuer&& value) { m_authorizedTokenIssuersHasBeenSet = true; m_authorizedTokenIssuers.push_back(std::move(value)); return *this; }
56 private:
57
58 Aws::Vector<AuthorizedTokenIssuer> m_authorizedTokenIssuers;
59 bool m_authorizedTokenIssuersHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace SSOAdmin
64} // namespace Aws
void SetAuthorizedTokenIssuers(Aws::Vector< AuthorizedTokenIssuer > &&value)
void SetAuthorizedTokenIssuers(const Aws::Vector< AuthorizedTokenIssuer > &value)
AWS_SSOADMIN_API JwtBearerGrant(Aws::Utils::Json::JsonView jsonValue)
AWS_SSOADMIN_API JwtBearerGrant & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
JwtBearerGrant & AddAuthorizedTokenIssuers(const AuthorizedTokenIssuer &value)
JwtBearerGrant & WithAuthorizedTokenIssuers(const Aws::Vector< AuthorizedTokenIssuer > &value)
const Aws::Vector< AuthorizedTokenIssuer > & GetAuthorizedTokenIssuers() const
JwtBearerGrant & AddAuthorizedTokenIssuers(AuthorizedTokenIssuer &&value)
JwtBearerGrant & WithAuthorizedTokenIssuers(Aws::Vector< AuthorizedTokenIssuer > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue