AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
GetCredentialReportResult.h
1
6#pragma once
7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/iam/IAM_EXPORTS.h>
10#include <aws/iam/model/ReportFormatType.h>
11#include <aws/iam/model/ResponseMetadata.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Xml {
21class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace IAM {
25namespace Model {
34 public:
35 AWS_IAM_API GetCredentialReportResult() = default;
38
40
43 inline const Aws::Utils::ByteBuffer& GetContent() const { return m_content; }
44 template <typename ContentT = Aws::Utils::ByteBuffer>
45 void SetContent(ContentT&& value) {
46 m_contentHasBeenSet = true;
47 m_content = std::forward<ContentT>(value);
48 }
49 template <typename ContentT = Aws::Utils::ByteBuffer>
51 SetContent(std::forward<ContentT>(value));
52 return *this;
53 }
55
57
60 inline ReportFormatType GetReportFormat() const { return m_reportFormat; }
61 inline void SetReportFormat(ReportFormatType value) {
62 m_reportFormatHasBeenSet = true;
63 m_reportFormat = value;
64 }
66 SetReportFormat(value);
67 return *this;
68 }
70
72
76 inline const Aws::Utils::DateTime& GetGeneratedTime() const { return m_generatedTime; }
77 template <typename GeneratedTimeT = Aws::Utils::DateTime>
78 void SetGeneratedTime(GeneratedTimeT&& value) {
79 m_generatedTimeHasBeenSet = true;
80 m_generatedTime = std::forward<GeneratedTimeT>(value);
81 }
82 template <typename GeneratedTimeT = Aws::Utils::DateTime>
84 SetGeneratedTime(std::forward<GeneratedTimeT>(value));
85 return *this;
86 }
88
90
91 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
92 template <typename ResponseMetadataT = ResponseMetadata>
93 void SetResponseMetadata(ResponseMetadataT&& value) {
94 m_responseMetadataHasBeenSet = true;
95 m_responseMetadata = std::forward<ResponseMetadataT>(value);
96 }
97 template <typename ResponseMetadataT = ResponseMetadata>
98 GetCredentialReportResult& WithResponseMetadata(ResponseMetadataT&& value) {
99 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
100 return *this;
101 }
103 private:
104 Aws::Utils::ByteBuffer m_content{};
105
107
108 Aws::Utils::DateTime m_generatedTime{};
109
110 ResponseMetadata m_responseMetadata;
111 bool m_contentHasBeenSet = false;
112 bool m_reportFormatHasBeenSet = false;
113 bool m_generatedTimeHasBeenSet = false;
114 bool m_responseMetadataHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace IAM
119} // 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