AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
UpdateCredentialProviderRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/credentialbroker-control/CredentialBrokerControlRequest.h>
9#include <aws/credentialbroker-control/CredentialBrokerControl_EXPORTS.h>
10#include <aws/credentialbroker-control/model/CredentialProviderConfigurationInput.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CredentialBrokerControl {
16namespace Model {
17
21 public:
22 AWS_CREDENTIALBROKERCONTROL_API UpdateCredentialProviderRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateCredentialProvider"; }
29
30 AWS_CREDENTIALBROKERCONTROL_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetCredentialProviderPoolIdentifier() const { return m_credentialProviderPoolIdentifier; }
38 inline bool CredentialProviderPoolIdentifierHasBeenSet() const { return m_credentialProviderPoolIdentifierHasBeenSet; }
39 template <typename CredentialProviderPoolIdentifierT = Aws::String>
40 void SetCredentialProviderPoolIdentifier(CredentialProviderPoolIdentifierT&& value) {
41 m_credentialProviderPoolIdentifierHasBeenSet = true;
42 m_credentialProviderPoolIdentifier = std::forward<CredentialProviderPoolIdentifierT>(value);
43 }
44 template <typename CredentialProviderPoolIdentifierT = Aws::String>
45 UpdateCredentialProviderRequest& WithCredentialProviderPoolIdentifier(CredentialProviderPoolIdentifierT&& value) {
46 SetCredentialProviderPoolIdentifier(std::forward<CredentialProviderPoolIdentifierT>(value));
47 return *this;
48 }
50
52
56 inline const Aws::String& GetCredentialProviderIdentifier() const { return m_credentialProviderIdentifier; }
57 inline bool CredentialProviderIdentifierHasBeenSet() const { return m_credentialProviderIdentifierHasBeenSet; }
58 template <typename CredentialProviderIdentifierT = Aws::String>
59 void SetCredentialProviderIdentifier(CredentialProviderIdentifierT&& value) {
60 m_credentialProviderIdentifierHasBeenSet = true;
61 m_credentialProviderIdentifier = std::forward<CredentialProviderIdentifierT>(value);
62 }
63 template <typename CredentialProviderIdentifierT = Aws::String>
64 UpdateCredentialProviderRequest& WithCredentialProviderIdentifier(CredentialProviderIdentifierT&& value) {
65 SetCredentialProviderIdentifier(std::forward<CredentialProviderIdentifierT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::String& GetName() const { return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 template <typename NameT = Aws::String>
78 void SetName(NameT&& value) {
79 m_nameHasBeenSet = true;
80 m_name = std::forward<NameT>(value);
81 }
82 template <typename NameT = Aws::String>
84 SetName(std::forward<NameT>(value));
85 return *this;
86 }
88
90
95 inline const CredentialProviderConfigurationInput& GetProviderConfigurationInput() const { return m_providerConfigurationInput; }
96 inline bool ProviderConfigurationInputHasBeenSet() const { return m_providerConfigurationInputHasBeenSet; }
97 template <typename ProviderConfigurationInputT = CredentialProviderConfigurationInput>
98 void SetProviderConfigurationInput(ProviderConfigurationInputT&& value) {
99 m_providerConfigurationInputHasBeenSet = true;
100 m_providerConfigurationInput = std::forward<ProviderConfigurationInputT>(value);
101 }
102 template <typename ProviderConfigurationInputT = CredentialProviderConfigurationInput>
104 SetProviderConfigurationInput(std::forward<ProviderConfigurationInputT>(value));
105 return *this;
106 }
108 private:
109 Aws::String m_credentialProviderPoolIdentifier;
110
111 Aws::String m_credentialProviderIdentifier;
112
113 Aws::String m_name;
114
115 CredentialProviderConfigurationInput m_providerConfigurationInput;
116 bool m_credentialProviderPoolIdentifierHasBeenSet = false;
117 bool m_credentialProviderIdentifierHasBeenSet = false;
118 bool m_nameHasBeenSet = false;
119 bool m_providerConfigurationInputHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace CredentialBrokerControl
124} // namespace Aws
UpdateCredentialProviderRequest & WithCredentialProviderPoolIdentifier(CredentialProviderPoolIdentifierT &&value)
AWS_CREDENTIALBROKERCONTROL_API UpdateCredentialProviderRequest()=default
UpdateCredentialProviderRequest & WithProviderConfigurationInput(ProviderConfigurationInputT &&value)
const CredentialProviderConfigurationInput & GetProviderConfigurationInput() const
AWS_CREDENTIALBROKERCONTROL_API Aws::String SerializePayload() const override
void SetCredentialProviderPoolIdentifier(CredentialProviderPoolIdentifierT &&value)
UpdateCredentialProviderRequest & WithCredentialProviderIdentifier(CredentialProviderIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String