AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GenerateCredentialReportResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iam/IAM_EXPORTS.h>
10#include <aws/iam/model/ReportStateType.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 GenerateCredentialReportResult() = default;
38
40
43 inline ReportStateType GetState() const { return m_state; }
44 inline void SetState(ReportStateType value) {
45 m_stateHasBeenSet = true;
46 m_state = value;
47 }
49 SetState(value);
50 return *this;
51 }
53
55
58 inline const Aws::String& GetDescription() const { return m_description; }
59 template <typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) {
61 m_descriptionHasBeenSet = true;
62 m_description = std::forward<DescriptionT>(value);
63 }
64 template <typename DescriptionT = Aws::String>
66 SetDescription(std::forward<DescriptionT>(value));
67 return *this;
68 }
70
72
73 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
74 template <typename ResponseMetadataT = ResponseMetadata>
75 void SetResponseMetadata(ResponseMetadataT&& value) {
76 m_responseMetadataHasBeenSet = true;
77 m_responseMetadata = std::forward<ResponseMetadataT>(value);
78 }
79 template <typename ResponseMetadataT = ResponseMetadata>
81 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
82 return *this;
83 }
85 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
86
87 private:
89
90 Aws::String m_description;
91
92 ResponseMetadata m_responseMetadata;
93 Aws::Http::HttpResponseCode m_HttpResponseCode;
94 bool m_stateHasBeenSet = false;
95 bool m_descriptionHasBeenSet = false;
96 bool m_responseMetadataHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace IAM
101} // namespace Aws
GenerateCredentialReportResult & WithState(ReportStateType value)
GenerateCredentialReportResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_IAM_API GenerateCredentialReportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_IAM_API GenerateCredentialReportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GenerateCredentialReportResult & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument