AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SimulatePrincipalPolicyResult.h
1
6#pragma once
7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iam/model/ResponseMetadata.h>
11#include <aws/iam/model/EvaluationResult.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace IAM
27{
28namespace Model
29{
37 {
38 public:
42
43
45
48 inline const Aws::Vector<EvaluationResult>& GetEvaluationResults() const{ return m_evaluationResults; }
49 inline void SetEvaluationResults(const Aws::Vector<EvaluationResult>& value) { m_evaluationResults = value; }
50 inline void SetEvaluationResults(Aws::Vector<EvaluationResult>&& value) { m_evaluationResults = std::move(value); }
53 inline SimulatePrincipalPolicyResult& AddEvaluationResults(const EvaluationResult& value) { m_evaluationResults.push_back(value); return *this; }
54 inline SimulatePrincipalPolicyResult& AddEvaluationResults(EvaluationResult&& value) { m_evaluationResults.push_back(std::move(value)); return *this; }
56
58
67 inline bool GetIsTruncated() const{ return m_isTruncated; }
68 inline void SetIsTruncated(bool value) { m_isTruncated = value; }
69 inline SimulatePrincipalPolicyResult& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
71
73
78 inline const Aws::String& GetMarker() const{ return m_marker; }
79 inline void SetMarker(const Aws::String& value) { m_marker = value; }
80 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
81 inline void SetMarker(const char* value) { m_marker.assign(value); }
82 inline SimulatePrincipalPolicyResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
83 inline SimulatePrincipalPolicyResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
84 inline SimulatePrincipalPolicyResult& WithMarker(const char* value) { SetMarker(value); return *this;}
86
88
89 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
90 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
91 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
95 private:
96
97 Aws::Vector<EvaluationResult> m_evaluationResults;
98
99 bool m_isTruncated;
100
101 Aws::String m_marker;
102
103 ResponseMetadata m_responseMetadata;
104 };
105
106} // namespace Model
107} // namespace IAM
108} // namespace Aws
SimulatePrincipalPolicyResult & WithResponseMetadata(ResponseMetadata &&value)
SimulatePrincipalPolicyResult & WithIsTruncated(bool value)
const Aws::Vector< EvaluationResult > & GetEvaluationResults() const
SimulatePrincipalPolicyResult & WithEvaluationResults(Aws::Vector< EvaluationResult > &&value)
SimulatePrincipalPolicyResult & WithMarker(const char *value)
SimulatePrincipalPolicyResult & AddEvaluationResults(const EvaluationResult &value)
AWS_IAM_API SimulatePrincipalPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
SimulatePrincipalPolicyResult & WithMarker(const Aws::String &value)
SimulatePrincipalPolicyResult & WithEvaluationResults(const Aws::Vector< EvaluationResult > &value)
SimulatePrincipalPolicyResult & WithResponseMetadata(const ResponseMetadata &value)
void SetEvaluationResults(Aws::Vector< EvaluationResult > &&value)
SimulatePrincipalPolicyResult & AddEvaluationResults(EvaluationResult &&value)
AWS_IAM_API SimulatePrincipalPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetEvaluationResults(const Aws::Vector< EvaluationResult > &value)
SimulatePrincipalPolicyResult & WithMarker(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument