AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateTrustedTokenIssuerRequest.h
1
6#pragma once
7#include <aws/sso-admin/SSOAdmin_EXPORTS.h>
8#include <aws/sso-admin/SSOAdminRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sso-admin/model/TrustedTokenIssuerConfiguration.h>
12#include <aws/sso-admin/model/TrustedTokenIssuerType.h>
13#include <aws/sso-admin/model/Tag.h>
14#include <utility>
15#include <aws/core/utils/UUID.h>
16
17namespace Aws
18{
19namespace SSOAdmin
20{
21namespace Model
22{
23
27 {
28 public:
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateTrustedTokenIssuer"; }
36
37 AWS_SSOADMIN_API Aws::String SerializePayload() const override;
38
40
41
43
55 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
56 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
57 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
58 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
59 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
60 inline CreateTrustedTokenIssuerRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
61 inline CreateTrustedTokenIssuerRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
62 inline CreateTrustedTokenIssuerRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
64
66
70 inline const Aws::String& GetInstanceArn() const{ return m_instanceArn; }
71 inline bool InstanceArnHasBeenSet() const { return m_instanceArnHasBeenSet; }
72 inline void SetInstanceArn(const Aws::String& value) { m_instanceArnHasBeenSet = true; m_instanceArn = value; }
73 inline void SetInstanceArn(Aws::String&& value) { m_instanceArnHasBeenSet = true; m_instanceArn = std::move(value); }
74 inline void SetInstanceArn(const char* value) { m_instanceArnHasBeenSet = true; m_instanceArn.assign(value); }
75 inline CreateTrustedTokenIssuerRequest& WithInstanceArn(const Aws::String& value) { SetInstanceArn(value); return *this;}
76 inline CreateTrustedTokenIssuerRequest& WithInstanceArn(Aws::String&& value) { SetInstanceArn(std::move(value)); return *this;}
77 inline CreateTrustedTokenIssuerRequest& WithInstanceArn(const char* value) { SetInstanceArn(value); return *this;}
79
81
84 inline const Aws::String& GetName() const{ return m_name; }
85 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
86 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
87 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
88 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
89 inline CreateTrustedTokenIssuerRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
90 inline CreateTrustedTokenIssuerRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
91 inline CreateTrustedTokenIssuerRequest& WithName(const char* value) { SetName(value); return *this;}
93
95
99 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
100 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
101 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
102 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
103 inline CreateTrustedTokenIssuerRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
104 inline CreateTrustedTokenIssuerRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
105 inline CreateTrustedTokenIssuerRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
106 inline CreateTrustedTokenIssuerRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
108
110
115 inline const TrustedTokenIssuerConfiguration& GetTrustedTokenIssuerConfiguration() const{ return m_trustedTokenIssuerConfiguration; }
116 inline bool TrustedTokenIssuerConfigurationHasBeenSet() const { return m_trustedTokenIssuerConfigurationHasBeenSet; }
117 inline void SetTrustedTokenIssuerConfiguration(const TrustedTokenIssuerConfiguration& value) { m_trustedTokenIssuerConfigurationHasBeenSet = true; m_trustedTokenIssuerConfiguration = value; }
118 inline void SetTrustedTokenIssuerConfiguration(TrustedTokenIssuerConfiguration&& value) { m_trustedTokenIssuerConfigurationHasBeenSet = true; m_trustedTokenIssuerConfiguration = std::move(value); }
122
124
127 inline const TrustedTokenIssuerType& GetTrustedTokenIssuerType() const{ return m_trustedTokenIssuerType; }
128 inline bool TrustedTokenIssuerTypeHasBeenSet() const { return m_trustedTokenIssuerTypeHasBeenSet; }
129 inline void SetTrustedTokenIssuerType(const TrustedTokenIssuerType& value) { m_trustedTokenIssuerTypeHasBeenSet = true; m_trustedTokenIssuerType = value; }
130 inline void SetTrustedTokenIssuerType(TrustedTokenIssuerType&& value) { m_trustedTokenIssuerTypeHasBeenSet = true; m_trustedTokenIssuerType = std::move(value); }
134 private:
135
136 Aws::String m_clientToken;
137 bool m_clientTokenHasBeenSet = false;
138
139 Aws::String m_instanceArn;
140 bool m_instanceArnHasBeenSet = false;
141
142 Aws::String m_name;
143 bool m_nameHasBeenSet = false;
144
145 Aws::Vector<Tag> m_tags;
146 bool m_tagsHasBeenSet = false;
147
148 TrustedTokenIssuerConfiguration m_trustedTokenIssuerConfiguration;
149 bool m_trustedTokenIssuerConfigurationHasBeenSet = false;
150
151 TrustedTokenIssuerType m_trustedTokenIssuerType;
152 bool m_trustedTokenIssuerTypeHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace SSOAdmin
157} // namespace Aws
CreateTrustedTokenIssuerRequest & WithName(const Aws::String &value)
CreateTrustedTokenIssuerRequest & WithTrustedTokenIssuerConfiguration(const TrustedTokenIssuerConfiguration &value)
void SetTrustedTokenIssuerConfiguration(const TrustedTokenIssuerConfiguration &value)
const TrustedTokenIssuerConfiguration & GetTrustedTokenIssuerConfiguration() const
void SetTrustedTokenIssuerType(const TrustedTokenIssuerType &value)
CreateTrustedTokenIssuerRequest & WithInstanceArn(const char *value)
CreateTrustedTokenIssuerRequest & WithTags(const Aws::Vector< Tag > &value)
CreateTrustedTokenIssuerRequest & WithTags(Aws::Vector< Tag > &&value)
AWS_SSOADMIN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateTrustedTokenIssuerRequest & WithInstanceArn(Aws::String &&value)
CreateTrustedTokenIssuerRequest & WithTrustedTokenIssuerConfiguration(TrustedTokenIssuerConfiguration &&value)
CreateTrustedTokenIssuerRequest & WithTrustedTokenIssuerType(const TrustedTokenIssuerType &value)
CreateTrustedTokenIssuerRequest & WithTrustedTokenIssuerType(TrustedTokenIssuerType &&value)
void SetTrustedTokenIssuerConfiguration(TrustedTokenIssuerConfiguration &&value)
CreateTrustedTokenIssuerRequest & WithInstanceArn(const Aws::String &value)
CreateTrustedTokenIssuerRequest & WithClientToken(Aws::String &&value)
CreateTrustedTokenIssuerRequest & WithClientToken(const char *value)
CreateTrustedTokenIssuerRequest & WithClientToken(const Aws::String &value)
CreateTrustedTokenIssuerRequest & AddTags(const Tag &value)
AWS_SSOADMIN_API Aws::String SerializePayload() const override
CreateTrustedTokenIssuerRequest & WithName(Aws::String &&value)
CreateTrustedTokenIssuerRequest & WithName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector