AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetPolicyVersionResult.h
1
6#pragma once
7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/iam/model/PolicyVersion.h>
9#include <aws/iam/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace IAM
25{
26namespace Model
27{
35 {
36 public:
40
41
43
46 inline const PolicyVersion& GetPolicyVersion() const{ return m_policyVersion; }
47 inline void SetPolicyVersion(const PolicyVersion& value) { m_policyVersion = value; }
48 inline void SetPolicyVersion(PolicyVersion&& value) { m_policyVersion = std::move(value); }
49 inline GetPolicyVersionResult& WithPolicyVersion(const PolicyVersion& value) { SetPolicyVersion(value); return *this;}
50 inline GetPolicyVersionResult& WithPolicyVersion(PolicyVersion&& value) { SetPolicyVersion(std::move(value)); return *this;}
52
54
55 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
56 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
57 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
59 inline GetPolicyVersionResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
61 private:
62
63 PolicyVersion m_policyVersion;
64
65 ResponseMetadata m_responseMetadata;
66 };
67
68} // namespace Model
69} // namespace IAM
70} // namespace Aws
const PolicyVersion & GetPolicyVersion() const
void SetResponseMetadata(ResponseMetadata &&value)
void SetResponseMetadata(const ResponseMetadata &value)
GetPolicyVersionResult & WithResponseMetadata(const ResponseMetadata &value)
AWS_IAM_API GetPolicyVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetPolicyVersionResult & WithResponseMetadata(ResponseMetadata &&value)
void SetPolicyVersion(const PolicyVersion &value)
GetPolicyVersionResult & WithPolicyVersion(const PolicyVersion &value)
const ResponseMetadata & GetResponseMetadata() const
GetPolicyVersionResult & WithPolicyVersion(PolicyVersion &&value)
AWS_IAM_API GetPolicyVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Utils::Xml::XmlDocument XmlDocument