AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListKeyPoliciesResult.h
1
6#pragma once
7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace KMS
25{
26namespace Model
27{
29 {
30 public:
31 AWS_KMS_API ListKeyPoliciesResult();
34
35
37
40 inline const Aws::Vector<Aws::String>& GetPolicyNames() const{ return m_policyNames; }
41 inline void SetPolicyNames(const Aws::Vector<Aws::String>& value) { m_policyNames = value; }
42 inline void SetPolicyNames(Aws::Vector<Aws::String>&& value) { m_policyNames = std::move(value); }
44 inline ListKeyPoliciesResult& WithPolicyNames(Aws::Vector<Aws::String>&& value) { SetPolicyNames(std::move(value)); return *this;}
45 inline ListKeyPoliciesResult& AddPolicyNames(const Aws::String& value) { m_policyNames.push_back(value); return *this; }
46 inline ListKeyPoliciesResult& AddPolicyNames(Aws::String&& value) { m_policyNames.push_back(std::move(value)); return *this; }
47 inline ListKeyPoliciesResult& AddPolicyNames(const char* value) { m_policyNames.push_back(value); return *this; }
49
51
55 inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
56 inline void SetNextMarker(const Aws::String& value) { m_nextMarker = value; }
57 inline void SetNextMarker(Aws::String&& value) { m_nextMarker = std::move(value); }
58 inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); }
59 inline ListKeyPoliciesResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
60 inline ListKeyPoliciesResult& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
61 inline ListKeyPoliciesResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
63
65
71 inline bool GetTruncated() const{ return m_truncated; }
72 inline void SetTruncated(bool value) { m_truncated = value; }
73 inline ListKeyPoliciesResult& WithTruncated(bool value) { SetTruncated(value); return *this;}
75
77
78 inline const Aws::String& GetRequestId() const{ return m_requestId; }
79 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
80 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
81 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
82 inline ListKeyPoliciesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
83 inline ListKeyPoliciesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
84 inline ListKeyPoliciesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
86 private:
87
88 Aws::Vector<Aws::String> m_policyNames;
89
90 Aws::String m_nextMarker;
91
92 bool m_truncated;
93
94 Aws::String m_requestId;
95 };
96
97} // namespace Model
98} // namespace KMS
99} // namespace Aws
ListKeyPoliciesResult & WithNextMarker(const char *value)
void SetRequestId(const Aws::String &value)
ListKeyPoliciesResult & WithRequestId(const Aws::String &value)
ListKeyPoliciesResult & AddPolicyNames(const char *value)
void SetPolicyNames(const Aws::Vector< Aws::String > &value)
ListKeyPoliciesResult & WithRequestId(Aws::String &&value)
ListKeyPoliciesResult & WithPolicyNames(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetPolicyNames() const
void SetNextMarker(const Aws::String &value)
ListKeyPoliciesResult & WithNextMarker(Aws::String &&value)
ListKeyPoliciesResult & WithPolicyNames(Aws::Vector< Aws::String > &&value)
AWS_KMS_API ListKeyPoliciesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetPolicyNames(Aws::Vector< Aws::String > &&value)
ListKeyPoliciesResult & WithRequestId(const char *value)
AWS_KMS_API ListKeyPoliciesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListKeyPoliciesResult & AddPolicyNames(const Aws::String &value)
ListKeyPoliciesResult & AddPolicyNames(Aws::String &&value)
ListKeyPoliciesResult & WithTruncated(bool value)
ListKeyPoliciesResult & WithNextMarker(const Aws::String &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