AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetManagedEndpointSessionCredentialsResult.h
1
6#pragma once
7#include <aws/emr-containers/EMRContainers_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/emr-containers/model/Credentials.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace EMRContainers
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const Aws::String& GetId() const{ return m_id; }
42 inline void SetId(const Aws::String& value) { m_id = value; }
43 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
44 inline void SetId(const char* value) { m_id.assign(value); }
45 inline GetManagedEndpointSessionCredentialsResult& WithId(const Aws::String& value) { SetId(value); return *this;}
46 inline GetManagedEndpointSessionCredentialsResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
47 inline GetManagedEndpointSessionCredentialsResult& WithId(const char* value) { SetId(value); return *this;}
49
51
54 inline const Credentials& GetCredentials() const{ return m_credentials; }
55 inline void SetCredentials(const Credentials& value) { m_credentials = value; }
56 inline void SetCredentials(Credentials&& value) { m_credentials = std::move(value); }
58 inline GetManagedEndpointSessionCredentialsResult& WithCredentials(Credentials&& value) { SetCredentials(std::move(value)); return *this;}
60
62
65 inline const Aws::Utils::DateTime& GetExpiresAt() const{ return m_expiresAt; }
66 inline void SetExpiresAt(const Aws::Utils::DateTime& value) { m_expiresAt = value; }
67 inline void SetExpiresAt(Aws::Utils::DateTime&& value) { m_expiresAt = std::move(value); }
71
73
74 inline const Aws::String& GetRequestId() const{ return m_requestId; }
75 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
76 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
77 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline GetManagedEndpointSessionCredentialsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
80 inline GetManagedEndpointSessionCredentialsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
82 private:
83
84 Aws::String m_id;
85
86 Credentials m_credentials;
87
88 Aws::Utils::DateTime m_expiresAt;
89
90 Aws::String m_requestId;
91 };
92
93} // namespace Model
94} // namespace EMRContainers
95} // namespace Aws
AWS_EMRCONTAINERS_API GetManagedEndpointSessionCredentialsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetManagedEndpointSessionCredentialsResult & WithCredentials(Credentials &&value)
GetManagedEndpointSessionCredentialsResult & WithExpiresAt(Aws::Utils::DateTime &&value)
AWS_EMRCONTAINERS_API GetManagedEndpointSessionCredentialsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetManagedEndpointSessionCredentialsResult & WithId(const Aws::String &value)
GetManagedEndpointSessionCredentialsResult & WithCredentials(const Credentials &value)
GetManagedEndpointSessionCredentialsResult & WithRequestId(const Aws::String &value)
GetManagedEndpointSessionCredentialsResult & WithExpiresAt(const Aws::Utils::DateTime &value)
GetManagedEndpointSessionCredentialsResult & WithRequestId(Aws::String &&value)
GetManagedEndpointSessionCredentialsResult & WithRequestId(const char *value)
GetManagedEndpointSessionCredentialsResult & WithId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue