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/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace Redshift
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_REDSHIFT_API AuthorizedTokenIssuer();
37 AWS_REDSHIFT_API AuthorizedTokenIssuer(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_REDSHIFT_API AuthorizedTokenIssuer& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
49 inline const Aws::String& GetTrustedTokenIssuerArn() const{ return m_trustedTokenIssuerArn; }
50 inline bool TrustedTokenIssuerArnHasBeenSet() const { return m_trustedTokenIssuerArnHasBeenSet; }
51 inline void SetTrustedTokenIssuerArn(const Aws::String& value) { m_trustedTokenIssuerArnHasBeenSet = true; m_trustedTokenIssuerArn = value; }
52 inline void SetTrustedTokenIssuerArn(Aws::String&& value) { m_trustedTokenIssuerArnHasBeenSet = true; m_trustedTokenIssuerArn = std::move(value); }
53 inline void SetTrustedTokenIssuerArn(const char* value) { m_trustedTokenIssuerArnHasBeenSet = true; m_trustedTokenIssuerArn.assign(value); }
55 inline AuthorizedTokenIssuer& WithTrustedTokenIssuerArn(Aws::String&& value) { SetTrustedTokenIssuerArn(std::move(value)); return *this;}
56 inline AuthorizedTokenIssuer& WithTrustedTokenIssuerArn(const char* value) { SetTrustedTokenIssuerArn(value); return *this;}
58
60
64 inline const Aws::Vector<Aws::String>& GetAuthorizedAudiencesList() const{ return m_authorizedAudiencesList; }
65 inline bool AuthorizedAudiencesListHasBeenSet() const { return m_authorizedAudiencesListHasBeenSet; }
66 inline void SetAuthorizedAudiencesList(const Aws::Vector<Aws::String>& value) { m_authorizedAudiencesListHasBeenSet = true; m_authorizedAudiencesList = value; }
67 inline void SetAuthorizedAudiencesList(Aws::Vector<Aws::String>&& value) { m_authorizedAudiencesListHasBeenSet = true; m_authorizedAudiencesList = std::move(value); }
70 inline AuthorizedTokenIssuer& AddAuthorizedAudiencesList(const Aws::String& value) { m_authorizedAudiencesListHasBeenSet = true; m_authorizedAudiencesList.push_back(value); return *this; }
71 inline AuthorizedTokenIssuer& AddAuthorizedAudiencesList(Aws::String&& value) { m_authorizedAudiencesListHasBeenSet = true; m_authorizedAudiencesList.push_back(std::move(value)); return *this; }
72 inline AuthorizedTokenIssuer& AddAuthorizedAudiencesList(const char* value) { m_authorizedAudiencesListHasBeenSet = true; m_authorizedAudiencesList.push_back(value); return *this; }
74 private:
75
76 Aws::String m_trustedTokenIssuerArn;
77 bool m_trustedTokenIssuerArnHasBeenSet = false;
78
79 Aws::Vector<Aws::String> m_authorizedAudiencesList;
80 bool m_authorizedAudiencesListHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace Redshift
85} // namespace Aws
const Aws::Vector< Aws::String > & GetAuthorizedAudiencesList() const
void SetAuthorizedAudiencesList(Aws::Vector< Aws::String > &&value)
void SetAuthorizedAudiencesList(const Aws::Vector< Aws::String > &value)
AWS_REDSHIFT_API AuthorizedTokenIssuer(const Aws::Utils::Xml::XmlNode &xmlNode)
AuthorizedTokenIssuer & WithAuthorizedAudiencesList(const Aws::Vector< Aws::String > &value)
AuthorizedTokenIssuer & WithTrustedTokenIssuerArn(const char *value)
AuthorizedTokenIssuer & WithAuthorizedAudiencesList(Aws::Vector< Aws::String > &&value)
AuthorizedTokenIssuer & AddAuthorizedAudiencesList(Aws::String &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AuthorizedTokenIssuer & WithTrustedTokenIssuerArn(Aws::String &&value)
AWS_REDSHIFT_API AuthorizedTokenIssuer & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTrustedTokenIssuerArn(const Aws::String &value)
AuthorizedTokenIssuer & AddAuthorizedAudiencesList(const Aws::String &value)
AuthorizedTokenIssuer & AddAuthorizedAudiencesList(const char *value)
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
std::basic_ostream< char, std::char_traits< char > > OStream