AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
ResetServiceSpecificCredentialResult.h
1
6#pragma once
7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/iam/model/ResponseMetadata.h>
9#include <aws/iam/model/ServiceSpecificCredential.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Xml {
19class XmlDocument;
20} // namespace Xml
21} // namespace Utils
22namespace IAM {
23namespace Model {
25 public:
26 AWS_IAM_API ResetServiceSpecificCredentialResult() = default;
29
31
37 inline const ServiceSpecificCredential& GetServiceSpecificCredential() const { return m_serviceSpecificCredential; }
38 template <typename ServiceSpecificCredentialT = ServiceSpecificCredential>
39 void SetServiceSpecificCredential(ServiceSpecificCredentialT&& value) {
40 m_serviceSpecificCredentialHasBeenSet = true;
41 m_serviceSpecificCredential = std::forward<ServiceSpecificCredentialT>(value);
42 }
43 template <typename ServiceSpecificCredentialT = ServiceSpecificCredential>
45 SetServiceSpecificCredential(std::forward<ServiceSpecificCredentialT>(value));
46 return *this;
47 }
49
51
52 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
53 template <typename ResponseMetadataT = ResponseMetadata>
54 void SetResponseMetadata(ResponseMetadataT&& value) {
55 m_responseMetadataHasBeenSet = true;
56 m_responseMetadata = std::forward<ResponseMetadataT>(value);
57 }
58 template <typename ResponseMetadataT = ResponseMetadata>
60 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
61 return *this;
62 }
64 private:
65 ServiceSpecificCredential m_serviceSpecificCredential;
66
67 ResponseMetadata m_responseMetadata;
68 bool m_serviceSpecificCredentialHasBeenSet = false;
69 bool m_responseMetadataHasBeenSet = false;
70};
71
72} // namespace Model
73} // namespace IAM
74} // 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