AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
GetHumanReadableSummaryResult.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/ResponseMetadata.h>
11#include <aws/iam/model/SummaryStateType.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 {
27 public:
28 AWS_IAM_API GetHumanReadableSummaryResult() = default;
31
33
37 inline const Aws::String& GetSummaryContent() const { return m_summaryContent; }
38 template <typename SummaryContentT = Aws::String>
39 void SetSummaryContent(SummaryContentT&& value) {
40 m_summaryContentHasBeenSet = true;
41 m_summaryContent = std::forward<SummaryContentT>(value);
42 }
43 template <typename SummaryContentT = Aws::String>
45 SetSummaryContent(std::forward<SummaryContentT>(value));
46 return *this;
47 }
49
51
55 inline const Aws::String& GetLocale() const { return m_locale; }
56 template <typename LocaleT = Aws::String>
57 void SetLocale(LocaleT&& value) {
58 m_localeHasBeenSet = true;
59 m_locale = std::forward<LocaleT>(value);
60 }
61 template <typename LocaleT = Aws::String>
63 SetLocale(std::forward<LocaleT>(value));
64 return *this;
65 }
67
69
73 inline SummaryStateType GetSummaryState() const { return m_summaryState; }
74 inline void SetSummaryState(SummaryStateType value) {
75 m_summaryStateHasBeenSet = true;
76 m_summaryState = value;
77 }
79 SetSummaryState(value);
80 return *this;
81 }
83
85
86 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
87 template <typename ResponseMetadataT = ResponseMetadata>
88 void SetResponseMetadata(ResponseMetadataT&& value) {
89 m_responseMetadataHasBeenSet = true;
90 m_responseMetadata = std::forward<ResponseMetadataT>(value);
91 }
92 template <typename ResponseMetadataT = ResponseMetadata>
94 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
95 return *this;
96 }
98 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
99
100 private:
101 Aws::String m_summaryContent;
102
103 Aws::String m_locale;
104
106
107 ResponseMetadata m_responseMetadata;
108 Aws::Http::HttpResponseCode m_HttpResponseCode;
109 bool m_summaryContentHasBeenSet = false;
110 bool m_localeHasBeenSet = false;
111 bool m_summaryStateHasBeenSet = false;
112 bool m_responseMetadataHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace IAM
117} // namespace Aws
GetHumanReadableSummaryResult & WithLocale(LocaleT &&value)
GetHumanReadableSummaryResult & WithSummaryState(SummaryStateType value)
GetHumanReadableSummaryResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_IAM_API GetHumanReadableSummaryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetHumanReadableSummaryResult & WithSummaryContent(SummaryContentT &&value)
AWS_IAM_API GetHumanReadableSummaryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument