7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/greengrass/Greengrass_EXPORTS.h>
14template <
typename RESULT_TYPE>
15class AmazonWebServiceResult;
35 template <
typename AssociatedAtT = Aws::String>
37 m_associatedAtHasBeenSet =
true;
38 m_associatedAt = std::forward<AssociatedAtT>(value);
40 template <
typename AssociatedAtT = Aws::String>
52 template <
typename RoleArnT = Aws::String>
54 m_roleArnHasBeenSet =
true;
55 m_roleArn = std::forward<RoleArnT>(value);
57 template <
typename RoleArnT = Aws::String>
67 template <
typename RequestIdT = Aws::String>
69 m_requestIdHasBeenSet =
true;
70 m_requestId = std::forward<RequestIdT>(value);
72 template <
typename RequestIdT = Aws::String>
87 bool m_associatedAtHasBeenSet =
false;
88 bool m_roleArnHasBeenSet =
false;
89 bool m_requestIdHasBeenSet =
false;
void SetRoleArn(RoleArnT &&value)
GetAssociatedRoleResult & WithRoleArn(RoleArnT &&value)
AWS_GREENGRASS_API GetAssociatedRoleResult()=default
const Aws::String & GetAssociatedAt() const
GetAssociatedRoleResult & WithRequestId(RequestIdT &&value)
AWS_GREENGRASS_API GetAssociatedRoleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRoleArn() const
void SetAssociatedAt(AssociatedAtT &&value)
GetAssociatedRoleResult & WithAssociatedAt(AssociatedAtT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetRequestId() const
AWS_GREENGRASS_API GetAssociatedRoleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue