AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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{
37 {
38 public:
42
43
45
48 inline const Aws::Utils::ByteBuffer& GetContent() const{ return m_content; }
49 inline void SetContent(const Aws::Utils::ByteBuffer& value) { m_content = value; }
50 inline void SetContent(Aws::Utils::ByteBuffer&& value) { m_content = std::move(value); }
51 inline GetCredentialReportResult& WithContent(const Aws::Utils::ByteBuffer& value) { SetContent(value); return *this;}
52 inline GetCredentialReportResult& WithContent(Aws::Utils::ByteBuffer&& value) { SetContent(std::move(value)); return *this;}
54
56
59 inline const ReportFormatType& GetReportFormat() const{ return m_reportFormat; }
60 inline void SetReportFormat(const ReportFormatType& value) { m_reportFormat = value; }
61 inline void SetReportFormat(ReportFormatType&& value) { m_reportFormat = std::move(value); }
62 inline GetCredentialReportResult& WithReportFormat(const ReportFormatType& value) { SetReportFormat(value); return *this;}
63 inline GetCredentialReportResult& WithReportFormat(ReportFormatType&& value) { SetReportFormat(std::move(value)); return *this;}
65
67
71 inline const Aws::Utils::DateTime& GetGeneratedTime() const{ return m_generatedTime; }
72 inline void SetGeneratedTime(const Aws::Utils::DateTime& value) { m_generatedTime = value; }
73 inline void SetGeneratedTime(Aws::Utils::DateTime&& value) { m_generatedTime = std::move(value); }
75 inline GetCredentialReportResult& WithGeneratedTime(Aws::Utils::DateTime&& value) { SetGeneratedTime(std::move(value)); return *this;}
77
79
80 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
81 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
82 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
84 inline GetCredentialReportResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
86 private:
87
88 Aws::Utils::ByteBuffer m_content;
89
90 ReportFormatType m_reportFormat;
91
92 Aws::Utils::DateTime m_generatedTime;
93
94 ResponseMetadata m_responseMetadata;
95 };
96
97} // namespace Model
98} // namespace IAM
99} // namespace Aws
GetCredentialReportResult & WithResponseMetadata(ResponseMetadata &&value)
const ResponseMetadata & GetResponseMetadata() const
GetCredentialReportResult & WithContent(const Aws::Utils::ByteBuffer &value)
GetCredentialReportResult & WithResponseMetadata(const ResponseMetadata &value)
AWS_IAM_API GetCredentialReportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetGeneratedTime(Aws::Utils::DateTime &&value)
void SetResponseMetadata(const ResponseMetadata &value)
void SetGeneratedTime(const Aws::Utils::DateTime &value)
const Aws::Utils::ByteBuffer & GetContent() const
GetCredentialReportResult & WithGeneratedTime(const Aws::Utils::DateTime &value)
GetCredentialReportResult & WithContent(Aws::Utils::ByteBuffer &&value)
void SetReportFormat(const ReportFormatType &value)
GetCredentialReportResult & WithGeneratedTime(Aws::Utils::DateTime &&value)
AWS_IAM_API GetCredentialReportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetContent(const Aws::Utils::ByteBuffer &value)
const Aws::Utils::DateTime & GetGeneratedTime() const
GetCredentialReportResult & WithReportFormat(ReportFormatType &&value)
void SetContent(Aws::Utils::ByteBuffer &&value)
GetCredentialReportResult & WithReportFormat(const ReportFormatType &value)
Aws::Utils::Xml::XmlDocument XmlDocument