AWS SDK for C++

AWS SDK for C++ Version 1.11.870

Loading...
Searching...
No Matches
GetAccountPropertiesResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iam/IAM_EXPORTS.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 {
27 public:
28 AWS_IAM_API GetAccountPropertiesResult() = default;
31
33
37 inline const Aws::Map<Aws::String, Aws::String>& GetProperties() const { return m_properties; }
38 template <typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
39 void SetProperties(PropertiesT&& value) {
40 m_propertiesHasBeenSet = true;
41 m_properties = std::forward<PropertiesT>(value);
42 }
43 template <typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
45 SetProperties(std::forward<PropertiesT>(value));
46 return *this;
47 }
48 template <typename PropertiesKeyT = Aws::String, typename PropertiesValueT = Aws::String>
49 GetAccountPropertiesResult& AddProperties(PropertiesKeyT&& key, PropertiesValueT&& value) {
50 m_propertiesHasBeenSet = true;
51 m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value));
52 return *this;
53 }
55
57
58 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
59 template <typename ResponseMetadataT = ResponseMetadata>
60 void SetResponseMetadata(ResponseMetadataT&& value) {
61 m_responseMetadataHasBeenSet = true;
62 m_responseMetadata = std::forward<ResponseMetadataT>(value);
63 }
64 template <typename ResponseMetadataT = ResponseMetadata>
66 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
67 return *this;
68 }
70 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
71
72 private:
74
75 ResponseMetadata m_responseMetadata;
76 Aws::Http::HttpResponseCode m_HttpResponseCode;
77 bool m_propertiesHasBeenSet = false;
78 bool m_responseMetadataHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace IAM
83} // namespace Aws
GetAccountPropertiesResult & WithProperties(PropertiesT &&value)
AWS_IAM_API GetAccountPropertiesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_IAM_API GetAccountPropertiesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_IAM_API GetAccountPropertiesResult()=default
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetAccountPropertiesResult & WithResponseMetadata(ResponseMetadataT &&value)
GetAccountPropertiesResult & AddProperties(PropertiesKeyT &&key, PropertiesValueT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Xml::XmlDocument XmlDocument