AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetCredentialReportResult.h
1
6#pragma once
7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/core/utils/Array.h>
9#include <aws/iam/model/ReportFormatType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/iam/model/ResponseMetadata.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace IAM
27{
28namespace Model
29{
38 {
39 public:
40 AWS_IAM_API GetCredentialReportResult() = default;
43
44
46
49 inline const Aws::Utils::ByteBuffer& GetContent() const { return m_content; }
50 template<typename ContentT = Aws::Utils::ByteBuffer>
51 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
52 template<typename ContentT = Aws::Utils::ByteBuffer>
53 GetCredentialReportResult& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
55
57
60 inline ReportFormatType GetReportFormat() const { return m_reportFormat; }
61 inline void SetReportFormat(ReportFormatType value) { m_reportFormatHasBeenSet = true; m_reportFormat = value; }
64
66
70 inline const Aws::Utils::DateTime& GetGeneratedTime() const { return m_generatedTime; }
71 template<typename GeneratedTimeT = Aws::Utils::DateTime>
72 void SetGeneratedTime(GeneratedTimeT&& value) { m_generatedTimeHasBeenSet = true; m_generatedTime = std::forward<GeneratedTimeT>(value); }
73 template<typename GeneratedTimeT = Aws::Utils::DateTime>
74 GetCredentialReportResult& WithGeneratedTime(GeneratedTimeT&& value) { SetGeneratedTime(std::forward<GeneratedTimeT>(value)); return *this;}
76
78
79 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
80 template<typename ResponseMetadataT = ResponseMetadata>
81 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
82 template<typename ResponseMetadataT = ResponseMetadata>
83 GetCredentialReportResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
85 private:
86
87 Aws::Utils::ByteBuffer m_content{};
88 bool m_contentHasBeenSet = false;
89
91 bool m_reportFormatHasBeenSet = false;
92
93 Aws::Utils::DateTime m_generatedTime{};
94 bool m_generatedTimeHasBeenSet = false;
95
96 ResponseMetadata m_responseMetadata;
97 bool m_responseMetadataHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace IAM
102} // namespace Aws
const ResponseMetadata & GetResponseMetadata() const
AWS_IAM_API GetCredentialReportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Utils::ByteBuffer & GetContent() const
void SetResponseMetadata(ResponseMetadataT &&value)
GetCredentialReportResult & WithGeneratedTime(GeneratedTimeT &&value)
AWS_IAM_API GetCredentialReportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetCredentialReportResult & WithContent(ContentT &&value)
const Aws::Utils::DateTime & GetGeneratedTime() const
AWS_IAM_API GetCredentialReportResult()=default
GetCredentialReportResult & WithReportFormat(ReportFormatType value)
GetCredentialReportResult & WithResponseMetadata(ResponseMetadataT &&value)
Aws::Utils::Xml::XmlDocument XmlDocument