AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
35
36
38
41 inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
42 inline void SetRevisionId(const Aws::String& value) { m_revisionId = value; }
43 inline void SetRevisionId(Aws::String&& value) { m_revisionId = std::move(value); }
44 inline void SetRevisionId(const char* value) { m_revisionId.assign(value); }
45 inline ListProfilePermissionsResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
46 inline ListProfilePermissionsResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
47 inline ListProfilePermissionsResult& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
49
51
54 inline int GetPolicySizeBytes() const{ return m_policySizeBytes; }
55 inline void SetPolicySizeBytes(int value) { m_policySizeBytes = value; }
56 inline ListProfilePermissionsResult& WithPolicySizeBytes(int value) { SetPolicySizeBytes(value); return *this;}
58
60
63 inline const Aws::Vector<Permission>& GetPermissions() const{ return m_permissions; }
64 inline void SetPermissions(const Aws::Vector<Permission>& value) { m_permissions = value; }
65 inline void SetPermissions(Aws::Vector<Permission>&& value) { m_permissions = std::move(value); }
67 inline ListProfilePermissionsResult& WithPermissions(Aws::Vector<Permission>&& value) { SetPermissions(std::move(value)); return *this;}
68 inline ListProfilePermissionsResult& AddPermissions(const Permission& value) { m_permissions.push_back(value); return *this; }
69 inline ListProfilePermissionsResult& AddPermissions(Permission&& value) { m_permissions.push_back(std::move(value)); return *this; }
71
73
76 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
77 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
78 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
79 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
80 inline ListProfilePermissionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
81 inline ListProfilePermissionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
82 inline ListProfilePermissionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
84
86
87 inline const Aws::String& GetRequestId() const{ return m_requestId; }
88 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
89 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
90 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
91 inline ListProfilePermissionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
92 inline ListProfilePermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
93 inline ListProfilePermissionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
95 private:
96
97 Aws::String m_revisionId;
98
99 int m_policySizeBytes;
100
101 Aws::Vector<Permission> m_permissions;
102
103 Aws::String m_nextToken;
104
105 Aws::String m_requestId;
106 };
107
108} // namespace Model
109} // namespace signer
110} // namespace Aws
AWS_SIGNER_API ListProfilePermissionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListProfilePermissionsResult & WithPermissions(const Aws::Vector< Permission > &value)
ListProfilePermissionsResult & WithRequestId(const char *value)
void SetPermissions(const Aws::Vector< Permission > &value)
ListProfilePermissionsResult & WithRevisionId(const char *value)
ListProfilePermissionsResult & AddPermissions(const Permission &value)
ListProfilePermissionsResult & WithNextToken(Aws::String &&value)
ListProfilePermissionsResult & WithRequestId(Aws::String &&value)
AWS_SIGNER_API ListProfilePermissionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListProfilePermissionsResult & WithNextToken(const char *value)
ListProfilePermissionsResult & WithNextToken(const Aws::String &value)
ListProfilePermissionsResult & WithRevisionId(const Aws::String &value)
const Aws::Vector< Permission > & GetPermissions() const
ListProfilePermissionsResult & AddPermissions(Permission &&value)
ListProfilePermissionsResult & WithRequestId(const Aws::String &value)
ListProfilePermissionsResult & WithPolicySizeBytes(int value)
ListProfilePermissionsResult & WithPermissions(Aws::Vector< Permission > &&value)
ListProfilePermissionsResult & WithRevisionId(Aws::String &&value)
void SetPermissions(Aws::Vector< Permission > &&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