AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AuthorizedTokenIssuer.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/core/utils/memory/stl/AWSString.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 AuthorizedTokenIssuer();
39 AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<Aws::String>& GetAuthorizedAudiences() const{ return m_authorizedAudiences; }
48 inline bool AuthorizedAudiencesHasBeenSet() const { return m_authorizedAudiencesHasBeenSet; }
49 inline void SetAuthorizedAudiences(const Aws::Vector<Aws::String>& value) { m_authorizedAudiencesHasBeenSet = true; m_authorizedAudiences = value; }
50 inline void SetAuthorizedAudiences(Aws::Vector<Aws::String>&& value) { m_authorizedAudiencesHasBeenSet = true; m_authorizedAudiences = std::move(value); }
53 inline AuthorizedTokenIssuer& AddAuthorizedAudiences(const Aws::String& value) { m_authorizedAudiencesHasBeenSet = true; m_authorizedAudiences.push_back(value); return *this; }
54 inline AuthorizedTokenIssuer& AddAuthorizedAudiences(Aws::String&& value) { m_authorizedAudiencesHasBeenSet = true; m_authorizedAudiences.push_back(std::move(value)); return *this; }
55 inline AuthorizedTokenIssuer& AddAuthorizedAudiences(const char* value) { m_authorizedAudiencesHasBeenSet = true; m_authorizedAudiences.push_back(value); return *this; }
57
59
62 inline const Aws::String& GetTrustedTokenIssuerArn() const{ return m_trustedTokenIssuerArn; }
63 inline bool TrustedTokenIssuerArnHasBeenSet() const { return m_trustedTokenIssuerArnHasBeenSet; }
64 inline void SetTrustedTokenIssuerArn(const Aws::String& value) { m_trustedTokenIssuerArnHasBeenSet = true; m_trustedTokenIssuerArn = value; }
65 inline void SetTrustedTokenIssuerArn(Aws::String&& value) { m_trustedTokenIssuerArnHasBeenSet = true; m_trustedTokenIssuerArn = std::move(value); }
66 inline void SetTrustedTokenIssuerArn(const char* value) { m_trustedTokenIssuerArnHasBeenSet = true; m_trustedTokenIssuerArn.assign(value); }
68 inline AuthorizedTokenIssuer& WithTrustedTokenIssuerArn(Aws::String&& value) { SetTrustedTokenIssuerArn(std::move(value)); return *this;}
69 inline AuthorizedTokenIssuer& WithTrustedTokenIssuerArn(const char* value) { SetTrustedTokenIssuerArn(value); return *this;}
71 private:
72
73 Aws::Vector<Aws::String> m_authorizedAudiences;
74 bool m_authorizedAudiencesHasBeenSet = false;
75
76 Aws::String m_trustedTokenIssuerArn;
77 bool m_trustedTokenIssuerArnHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace SSOAdmin
82} // namespace Aws
const Aws::Vector< Aws::String > & GetAuthorizedAudiences() const
AuthorizedTokenIssuer & WithTrustedTokenIssuerArn(Aws::String &&value)
AuthorizedTokenIssuer & WithTrustedTokenIssuerArn(const char *value)
AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAuthorizedAudiences(Aws::Vector< Aws::String > &&value)
AuthorizedTokenIssuer & AddAuthorizedAudiences(const char *value)
AuthorizedTokenIssuer & WithAuthorizedAudiences(Aws::Vector< Aws::String > &&value)
void SetAuthorizedAudiences(const Aws::Vector< Aws::String > &value)
void SetTrustedTokenIssuerArn(const Aws::String &value)
AuthorizedTokenIssuer & AddAuthorizedAudiences(const Aws::String &value)
AWS_SSOADMIN_API AuthorizedTokenIssuer & operator=(Aws::Utils::Json::JsonView jsonValue)
AuthorizedTokenIssuer & WithAuthorizedAudiences(const Aws::Vector< Aws::String > &value)
AuthorizedTokenIssuer & AddAuthorizedAudiences(Aws::String &&value)
AWS_SSOADMIN_API AuthorizedTokenIssuer(Aws::Utils::Json::JsonView jsonValue)
AuthorizedTokenIssuer & WithTrustedTokenIssuerArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue