AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AuthorizationCodeGrant.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 AuthorizationCodeGrant();
39 AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<Aws::String>& GetRedirectUris() const{ return m_redirectUris; }
48 inline bool RedirectUrisHasBeenSet() const { return m_redirectUrisHasBeenSet; }
49 inline void SetRedirectUris(const Aws::Vector<Aws::String>& value) { m_redirectUrisHasBeenSet = true; m_redirectUris = value; }
50 inline void SetRedirectUris(Aws::Vector<Aws::String>&& value) { m_redirectUrisHasBeenSet = true; m_redirectUris = std::move(value); }
52 inline AuthorizationCodeGrant& WithRedirectUris(Aws::Vector<Aws::String>&& value) { SetRedirectUris(std::move(value)); return *this;}
53 inline AuthorizationCodeGrant& AddRedirectUris(const Aws::String& value) { m_redirectUrisHasBeenSet = true; m_redirectUris.push_back(value); return *this; }
54 inline AuthorizationCodeGrant& AddRedirectUris(Aws::String&& value) { m_redirectUrisHasBeenSet = true; m_redirectUris.push_back(std::move(value)); return *this; }
55 inline AuthorizationCodeGrant& AddRedirectUris(const char* value) { m_redirectUrisHasBeenSet = true; m_redirectUris.push_back(value); return *this; }
57 private:
58
59 Aws::Vector<Aws::String> m_redirectUris;
60 bool m_redirectUrisHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace SSOAdmin
65} // namespace Aws
void SetRedirectUris(const Aws::Vector< Aws::String > &value)
AWS_SSOADMIN_API AuthorizationCodeGrant(Aws::Utils::Json::JsonView jsonValue)
void SetRedirectUris(Aws::Vector< Aws::String > &&value)
AuthorizationCodeGrant & AddRedirectUris(const Aws::String &value)
AuthorizationCodeGrant & WithRedirectUris(const Aws::Vector< Aws::String > &value)
AuthorizationCodeGrant & WithRedirectUris(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetRedirectUris() const
AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
AuthorizationCodeGrant & AddRedirectUris(Aws::String &&value)
AWS_SSOADMIN_API AuthorizationCodeGrant & operator=(Aws::Utils::Json::JsonView jsonValue)
AuthorizationCodeGrant & AddRedirectUris(const char *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