AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
CreateServiceSpecificCredentialResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/iam/IAM_EXPORTS.h>
9#include <aws/iam/model/ResponseMetadata.h>
10#include <aws/iam/model/ServiceSpecificCredential.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Xml {
20class XmlDocument;
21} // namespace Xml
22} // namespace Utils
23namespace IAM {
24namespace Model {
26 public:
30
32
40 inline const ServiceSpecificCredential& GetServiceSpecificCredential() const { return m_serviceSpecificCredential; }
41 template <typename ServiceSpecificCredentialT = ServiceSpecificCredential>
42 void SetServiceSpecificCredential(ServiceSpecificCredentialT&& value) {
43 m_serviceSpecificCredentialHasBeenSet = true;
44 m_serviceSpecificCredential = std::forward<ServiceSpecificCredentialT>(value);
45 }
46 template <typename ServiceSpecificCredentialT = ServiceSpecificCredential>
48 SetServiceSpecificCredential(std::forward<ServiceSpecificCredentialT>(value));
49 return *this;
50 }
52
54
55 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
56 template <typename ResponseMetadataT = ResponseMetadata>
57 void SetResponseMetadata(ResponseMetadataT&& value) {
58 m_responseMetadataHasBeenSet = true;
59 m_responseMetadata = std::forward<ResponseMetadataT>(value);
60 }
61 template <typename ResponseMetadataT = ResponseMetadata>
63 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
64 return *this;
65 }
67 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
68
69 private:
70 ServiceSpecificCredential m_serviceSpecificCredential;
71
72 ResponseMetadata m_responseMetadata;
73 Aws::Http::HttpResponseCode m_HttpResponseCode;
74 bool m_serviceSpecificCredentialHasBeenSet = false;
75 bool m_responseMetadataHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace IAM
80} // namespace Aws
AWS_IAM_API CreateServiceSpecificCredentialResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateServiceSpecificCredentialResult & WithServiceSpecificCredential(ServiceSpecificCredentialT &&value)
CreateServiceSpecificCredentialResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_IAM_API CreateServiceSpecificCredentialResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Utils::Xml::XmlDocument XmlDocument