AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAccountSummaryResult.h
1
6#pragma once
7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/iam/model/ResponseMetadata.h>
10#include <aws/iam/model/SummaryKeyType.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
48 inline const Aws::Map<SummaryKeyType, int>& GetSummaryMap() const{ return m_summaryMap; }
49 inline void SetSummaryMap(const Aws::Map<SummaryKeyType, int>& value) { m_summaryMap = value; }
50 inline void SetSummaryMap(Aws::Map<SummaryKeyType, int>&& value) { m_summaryMap = std::move(value); }
52 inline GetAccountSummaryResult& WithSummaryMap(Aws::Map<SummaryKeyType, int>&& value) { SetSummaryMap(std::move(value)); return *this;}
53 inline GetAccountSummaryResult& AddSummaryMap(const SummaryKeyType& key, int value) { m_summaryMap.emplace(key, value); return *this; }
54 inline GetAccountSummaryResult& AddSummaryMap(SummaryKeyType&& key, int value) { m_summaryMap.emplace(std::move(key), value); return *this; }
56
58
59 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
60 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
61 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
63 inline GetAccountSummaryResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
65 private:
66
68
69 ResponseMetadata m_responseMetadata;
70 };
71
72} // namespace Model
73} // namespace IAM
74} // namespace Aws
GetAccountSummaryResult & WithSummaryMap(const Aws::Map< SummaryKeyType, int > &value)
const Aws::Map< SummaryKeyType, int > & GetSummaryMap() const
void SetSummaryMap(const Aws::Map< SummaryKeyType, int > &value)
void SetSummaryMap(Aws::Map< SummaryKeyType, int > &&value)
void SetResponseMetadata(const ResponseMetadata &value)
const ResponseMetadata & GetResponseMetadata() const
GetAccountSummaryResult & AddSummaryMap(const SummaryKeyType &key, int value)
GetAccountSummaryResult & WithSummaryMap(Aws::Map< SummaryKeyType, int > &&value)
GetAccountSummaryResult & WithResponseMetadata(const ResponseMetadata &value)
AWS_IAM_API GetAccountSummaryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_IAM_API GetAccountSummaryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetAccountSummaryResult & WithResponseMetadata(ResponseMetadata &&value)
GetAccountSummaryResult & AddSummaryMap(SummaryKeyType &&key, int value)
void SetResponseMetadata(ResponseMetadata &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Xml::XmlDocument XmlDocument