AWS SDK for C++

AWS SDK for C++ Version 1.11.752

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