AWS SDK for C++

AWS SDK for C++ Version 1.11.765

Loading...
Searching...
No Matches
DescribeWorkspaceAuthenticationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/grafana/ManagedGrafana_EXPORTS.h>
10#include <aws/grafana/model/AuthenticationDescription.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace ManagedGrafana {
24namespace Model {
26 public:
27 AWS_MANAGEDGRAFANA_API DescribeWorkspaceAuthenticationResult() = default;
31
33
37 inline const AuthenticationDescription& GetAuthentication() const { return m_authentication; }
38 template <typename AuthenticationT = AuthenticationDescription>
39 void SetAuthentication(AuthenticationT&& value) {
40 m_authenticationHasBeenSet = true;
41 m_authentication = std::forward<AuthenticationT>(value);
42 }
43 template <typename AuthenticationT = AuthenticationDescription>
45 SetAuthentication(std::forward<AuthenticationT>(value));
46 return *this;
47 }
49
51
52 inline const Aws::String& GetRequestId() const { return m_requestId; }
53 template <typename RequestIdT = Aws::String>
54 void SetRequestId(RequestIdT&& value) {
55 m_requestIdHasBeenSet = true;
56 m_requestId = std::forward<RequestIdT>(value);
57 }
58 template <typename RequestIdT = Aws::String>
60 SetRequestId(std::forward<RequestIdT>(value));
61 return *this;
62 }
64 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
65
66 private:
67 AuthenticationDescription m_authentication;
68
69 Aws::String m_requestId;
70 Aws::Http::HttpResponseCode m_HttpResponseCode;
71 bool m_authenticationHasBeenSet = false;
72 bool m_requestIdHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace ManagedGrafana
77} // namespace Aws
AWS_MANAGEDGRAFANA_API DescribeWorkspaceAuthenticationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeWorkspaceAuthenticationResult & WithAuthentication(AuthenticationT &&value)
DescribeWorkspaceAuthenticationResult & WithRequestId(RequestIdT &&value)
AWS_MANAGEDGRAFANA_API DescribeWorkspaceAuthenticationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MANAGEDGRAFANA_API DescribeWorkspaceAuthenticationResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue