AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
ResetServiceSpecificCredentialResult.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:
27 AWS_IAM_API ResetServiceSpecificCredentialResult() = default;
30
32
38 inline const ServiceSpecificCredential& GetServiceSpecificCredential() const { return m_serviceSpecificCredential; }
39 template <typename ServiceSpecificCredentialT = ServiceSpecificCredential>
40 void SetServiceSpecificCredential(ServiceSpecificCredentialT&& value) {
41 m_serviceSpecificCredentialHasBeenSet = true;
42 m_serviceSpecificCredential = std::forward<ServiceSpecificCredentialT>(value);
43 }
44 template <typename ServiceSpecificCredentialT = ServiceSpecificCredential>
46 SetServiceSpecificCredential(std::forward<ServiceSpecificCredentialT>(value));
47 return *this;
48 }
50
52
53 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
54 template <typename ResponseMetadataT = ResponseMetadata>
55 void SetResponseMetadata(ResponseMetadataT&& value) {
56 m_responseMetadataHasBeenSet = true;
57 m_responseMetadata = std::forward<ResponseMetadataT>(value);
58 }
59 template <typename ResponseMetadataT = ResponseMetadata>
61 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
62 return *this;
63 }
65 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
66
67 private:
68 ServiceSpecificCredential m_serviceSpecificCredential;
69
70 ResponseMetadata m_responseMetadata;
71 Aws::Http::HttpResponseCode m_HttpResponseCode;
72 bool m_serviceSpecificCredentialHasBeenSet = false;
73 bool m_responseMetadataHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace IAM
78} // namespace Aws
AWS_IAM_API ResetServiceSpecificCredentialResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_IAM_API ResetServiceSpecificCredentialResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ResetServiceSpecificCredentialResult & WithServiceSpecificCredential(ServiceSpecificCredentialT &&value)
ResetServiceSpecificCredentialResult & WithResponseMetadata(ResponseMetadataT &&value)
Aws::Utils::Xml::XmlDocument XmlDocument