AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListProfilePermissionsResult.h
1
6#pragma once
7#include <aws/signer/Signer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/signer/model/Permission.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace signer
26{
27namespace Model
28{
30 {
31 public:
32 AWS_SIGNER_API ListProfilePermissionsResult() = default;
35
36
38
41 inline const Aws::String& GetRevisionId() const { return m_revisionId; }
42 template<typename RevisionIdT = Aws::String>
43 void SetRevisionId(RevisionIdT&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::forward<RevisionIdT>(value); }
44 template<typename RevisionIdT = Aws::String>
45 ListProfilePermissionsResult& WithRevisionId(RevisionIdT&& value) { SetRevisionId(std::forward<RevisionIdT>(value)); return *this;}
47
49
52 inline int GetPolicySizeBytes() const { return m_policySizeBytes; }
53 inline void SetPolicySizeBytes(int value) { m_policySizeBytesHasBeenSet = true; m_policySizeBytes = value; }
54 inline ListProfilePermissionsResult& WithPolicySizeBytes(int value) { SetPolicySizeBytes(value); return *this;}
56
58
61 inline const Aws::Vector<Permission>& GetPermissions() const { return m_permissions; }
62 template<typename PermissionsT = Aws::Vector<Permission>>
63 void SetPermissions(PermissionsT&& value) { m_permissionsHasBeenSet = true; m_permissions = std::forward<PermissionsT>(value); }
64 template<typename PermissionsT = Aws::Vector<Permission>>
65 ListProfilePermissionsResult& WithPermissions(PermissionsT&& value) { SetPermissions(std::forward<PermissionsT>(value)); return *this;}
66 template<typename PermissionsT = Permission>
67 ListProfilePermissionsResult& AddPermissions(PermissionsT&& value) { m_permissionsHasBeenSet = true; m_permissions.emplace_back(std::forward<PermissionsT>(value)); return *this; }
69
71
74 inline const Aws::String& GetNextToken() const { return m_nextToken; }
75 template<typename NextTokenT = Aws::String>
76 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
77 template<typename NextTokenT = Aws::String>
78 ListProfilePermissionsResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
80
82
83 inline const Aws::String& GetRequestId() const { return m_requestId; }
84 template<typename RequestIdT = Aws::String>
85 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
86 template<typename RequestIdT = Aws::String>
87 ListProfilePermissionsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
89 private:
90
91 Aws::String m_revisionId;
92 bool m_revisionIdHasBeenSet = false;
93
94 int m_policySizeBytes{0};
95 bool m_policySizeBytesHasBeenSet = false;
96
97 Aws::Vector<Permission> m_permissions;
98 bool m_permissionsHasBeenSet = false;
99
100 Aws::String m_nextToken;
101 bool m_nextTokenHasBeenSet = false;
102
103 Aws::String m_requestId;
104 bool m_requestIdHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace signer
109} // namespace Aws
AWS_SIGNER_API ListProfilePermissionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListProfilePermissionsResult & WithRevisionId(RevisionIdT &&value)
AWS_SIGNER_API ListProfilePermissionsResult()=default
AWS_SIGNER_API ListProfilePermissionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Permission > & GetPermissions() const
ListProfilePermissionsResult & AddPermissions(PermissionsT &&value)
ListProfilePermissionsResult & WithPolicySizeBytes(int value)
ListProfilePermissionsResult & WithNextToken(NextTokenT &&value)
ListProfilePermissionsResult & WithRequestId(RequestIdT &&value)
ListProfilePermissionsResult & WithPermissions(PermissionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue