AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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{
36 {
37 public:
41
42
44
47 inline const ReportStateType& GetState() const{ return m_state; }
48 inline void SetState(const ReportStateType& value) { m_state = value; }
49 inline void SetState(ReportStateType&& value) { m_state = std::move(value); }
50 inline GenerateCredentialReportResult& WithState(const ReportStateType& value) { SetState(value); return *this;}
51 inline GenerateCredentialReportResult& WithState(ReportStateType&& value) { SetState(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetDescription() const{ return m_description; }
59 inline void SetDescription(const Aws::String& value) { m_description = value; }
60 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
61 inline void SetDescription(const char* value) { m_description.assign(value); }
62 inline GenerateCredentialReportResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
63 inline GenerateCredentialReportResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
64 inline GenerateCredentialReportResult& WithDescription(const char* value) { SetDescription(value); return *this;}
66
68
69 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
70 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
71 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
75 private:
76
77 ReportStateType m_state;
78
79 Aws::String m_description;
80
81 ResponseMetadata m_responseMetadata;
82 };
83
84} // namespace Model
85} // namespace IAM
86} // namespace Aws
GenerateCredentialReportResult & WithState(ReportStateType &&value)
GenerateCredentialReportResult & WithState(const ReportStateType &value)
AWS_IAM_API GenerateCredentialReportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GenerateCredentialReportResult & WithDescription(const char *value)
AWS_IAM_API GenerateCredentialReportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GenerateCredentialReportResult & WithResponseMetadata(const ResponseMetadata &value)
GenerateCredentialReportResult & WithDescription(Aws::String &&value)
GenerateCredentialReportResult & WithDescription(const Aws::String &value)
GenerateCredentialReportResult & WithResponseMetadata(ResponseMetadata &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument