AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetManagedEndpointSessionCredentialsRequest.h
1
6#pragma once
7#include <aws/emr-containers/EMRContainers_EXPORTS.h>
8#include <aws/emr-containers/EMRContainersRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace EMRContainers
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetManagedEndpointSessionCredentials"; }
32
33 AWS_EMRCONTAINERS_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetEndpointIdentifier() const{ return m_endpointIdentifier; }
41 inline bool EndpointIdentifierHasBeenSet() const { return m_endpointIdentifierHasBeenSet; }
42 inline void SetEndpointIdentifier(const Aws::String& value) { m_endpointIdentifierHasBeenSet = true; m_endpointIdentifier = value; }
43 inline void SetEndpointIdentifier(Aws::String&& value) { m_endpointIdentifierHasBeenSet = true; m_endpointIdentifier = std::move(value); }
44 inline void SetEndpointIdentifier(const char* value) { m_endpointIdentifierHasBeenSet = true; m_endpointIdentifier.assign(value); }
49
51
54 inline const Aws::String& GetVirtualClusterIdentifier() const{ return m_virtualClusterIdentifier; }
55 inline bool VirtualClusterIdentifierHasBeenSet() const { return m_virtualClusterIdentifierHasBeenSet; }
56 inline void SetVirtualClusterIdentifier(const Aws::String& value) { m_virtualClusterIdentifierHasBeenSet = true; m_virtualClusterIdentifier = value; }
57 inline void SetVirtualClusterIdentifier(Aws::String&& value) { m_virtualClusterIdentifierHasBeenSet = true; m_virtualClusterIdentifier = std::move(value); }
58 inline void SetVirtualClusterIdentifier(const char* value) { m_virtualClusterIdentifierHasBeenSet = true; m_virtualClusterIdentifier.assign(value); }
63
65
68 inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; }
69 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
70 inline void SetExecutionRoleArn(const Aws::String& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = value; }
71 inline void SetExecutionRoleArn(Aws::String&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::move(value); }
72 inline void SetExecutionRoleArn(const char* value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn.assign(value); }
77
79
83 inline const Aws::String& GetCredentialType() const{ return m_credentialType; }
84 inline bool CredentialTypeHasBeenSet() const { return m_credentialTypeHasBeenSet; }
85 inline void SetCredentialType(const Aws::String& value) { m_credentialTypeHasBeenSet = true; m_credentialType = value; }
86 inline void SetCredentialType(Aws::String&& value) { m_credentialTypeHasBeenSet = true; m_credentialType = std::move(value); }
87 inline void SetCredentialType(const char* value) { m_credentialTypeHasBeenSet = true; m_credentialType.assign(value); }
90 inline GetManagedEndpointSessionCredentialsRequest& WithCredentialType(const char* value) { SetCredentialType(value); return *this;}
92
94
98 inline int GetDurationInSeconds() const{ return m_durationInSeconds; }
99 inline bool DurationInSecondsHasBeenSet() const { return m_durationInSecondsHasBeenSet; }
100 inline void SetDurationInSeconds(int value) { m_durationInSecondsHasBeenSet = true; m_durationInSeconds = value; }
103
105
109 inline const Aws::String& GetLogContext() const{ return m_logContext; }
110 inline bool LogContextHasBeenSet() const { return m_logContextHasBeenSet; }
111 inline void SetLogContext(const Aws::String& value) { m_logContextHasBeenSet = true; m_logContext = value; }
112 inline void SetLogContext(Aws::String&& value) { m_logContextHasBeenSet = true; m_logContext = std::move(value); }
113 inline void SetLogContext(const char* value) { m_logContextHasBeenSet = true; m_logContext.assign(value); }
115 inline GetManagedEndpointSessionCredentialsRequest& WithLogContext(Aws::String&& value) { SetLogContext(std::move(value)); return *this;}
116 inline GetManagedEndpointSessionCredentialsRequest& WithLogContext(const char* value) { SetLogContext(value); return *this;}
118
120
123 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
124 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
125 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
126 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
127 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
130 inline GetManagedEndpointSessionCredentialsRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
132 private:
133
134 Aws::String m_endpointIdentifier;
135 bool m_endpointIdentifierHasBeenSet = false;
136
137 Aws::String m_virtualClusterIdentifier;
138 bool m_virtualClusterIdentifierHasBeenSet = false;
139
140 Aws::String m_executionRoleArn;
141 bool m_executionRoleArnHasBeenSet = false;
142
143 Aws::String m_credentialType;
144 bool m_credentialTypeHasBeenSet = false;
145
146 int m_durationInSeconds;
147 bool m_durationInSecondsHasBeenSet = false;
148
149 Aws::String m_logContext;
150 bool m_logContextHasBeenSet = false;
151
152 Aws::String m_clientToken;
153 bool m_clientTokenHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace EMRContainers
158} // namespace Aws
GetManagedEndpointSessionCredentialsRequest & WithClientToken(const char *value)
GetManagedEndpointSessionCredentialsRequest & WithClientToken(Aws::String &&value)
GetManagedEndpointSessionCredentialsRequest & WithCredentialType(const Aws::String &value)
GetManagedEndpointSessionCredentialsRequest & WithCredentialType(Aws::String &&value)
GetManagedEndpointSessionCredentialsRequest & WithExecutionRoleArn(Aws::String &&value)
GetManagedEndpointSessionCredentialsRequest & WithExecutionRoleArn(const Aws::String &value)
AWS_EMRCONTAINERS_API Aws::String SerializePayload() const override
GetManagedEndpointSessionCredentialsRequest & WithEndpointIdentifier(const char *value)
GetManagedEndpointSessionCredentialsRequest & WithExecutionRoleArn(const char *value)
GetManagedEndpointSessionCredentialsRequest & WithVirtualClusterIdentifier(const Aws::String &value)
GetManagedEndpointSessionCredentialsRequest & WithVirtualClusterIdentifier(const char *value)
GetManagedEndpointSessionCredentialsRequest & WithLogContext(const Aws::String &value)
GetManagedEndpointSessionCredentialsRequest & WithLogContext(const char *value)
GetManagedEndpointSessionCredentialsRequest & WithLogContext(Aws::String &&value)
GetManagedEndpointSessionCredentialsRequest & WithCredentialType(const char *value)
GetManagedEndpointSessionCredentialsRequest & WithClientToken(const Aws::String &value)
GetManagedEndpointSessionCredentialsRequest & WithEndpointIdentifier(const Aws::String &value)
GetManagedEndpointSessionCredentialsRequest & WithVirtualClusterIdentifier(Aws::String &&value)
GetManagedEndpointSessionCredentialsRequest & WithEndpointIdentifier(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String