AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GenerateCredentialReportResult.h
1
6#pragma once
7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/iam/model/ReportStateType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iam/model/ResponseMetadata.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace IAM
26{
27namespace Model
28{
37 {
38 public:
39 AWS_IAM_API GenerateCredentialReportResult() = default;
42
43
45
48 inline ReportStateType GetState() const { return m_state; }
49 inline void SetState(ReportStateType value) { m_stateHasBeenSet = true; m_state = value; }
50 inline GenerateCredentialReportResult& WithState(ReportStateType value) { SetState(value); return *this;}
52
54
57 inline const Aws::String& GetDescription() const { return m_description; }
58 template<typename DescriptionT = Aws::String>
59 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
60 template<typename DescriptionT = Aws::String>
61 GenerateCredentialReportResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
63
65
66 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
67 template<typename ResponseMetadataT = ResponseMetadata>
68 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
69 template<typename ResponseMetadataT = ResponseMetadata>
70 GenerateCredentialReportResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
72 private:
73
75 bool m_stateHasBeenSet = false;
76
77 Aws::String m_description;
78 bool m_descriptionHasBeenSet = false;
79
80 ResponseMetadata m_responseMetadata;
81 bool m_responseMetadataHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace IAM
86} // 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