AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSchemaResult.h
1
6#pragma once
7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.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 VerifiedPermissions
26{
27namespace Model
28{
30 {
31 public:
32 AWS_VERIFIEDPERMISSIONS_API GetSchemaResult();
35
36
38
41 inline const Aws::String& GetPolicyStoreId() const{ return m_policyStoreId; }
42 inline void SetPolicyStoreId(const Aws::String& value) { m_policyStoreId = value; }
43 inline void SetPolicyStoreId(Aws::String&& value) { m_policyStoreId = std::move(value); }
44 inline void SetPolicyStoreId(const char* value) { m_policyStoreId.assign(value); }
45 inline GetSchemaResult& WithPolicyStoreId(const Aws::String& value) { SetPolicyStoreId(value); return *this;}
46 inline GetSchemaResult& WithPolicyStoreId(Aws::String&& value) { SetPolicyStoreId(std::move(value)); return *this;}
47 inline GetSchemaResult& WithPolicyStoreId(const char* value) { SetPolicyStoreId(value); return *this;}
49
51
54 inline const Aws::String& GetSchema() const{ return m_schema; }
55 inline void SetSchema(const Aws::String& value) { m_schema = value; }
56 inline void SetSchema(Aws::String&& value) { m_schema = std::move(value); }
57 inline void SetSchema(const char* value) { m_schema.assign(value); }
58 inline GetSchemaResult& WithSchema(const Aws::String& value) { SetSchema(value); return *this;}
59 inline GetSchemaResult& WithSchema(Aws::String&& value) { SetSchema(std::move(value)); return *this;}
60 inline GetSchemaResult& WithSchema(const char* value) { SetSchema(value); return *this;}
62
64
67 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
68 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDate = value; }
69 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDate = std::move(value); }
70 inline GetSchemaResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
71 inline GetSchemaResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
73
75
78 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const{ return m_lastUpdatedDate; }
79 inline void SetLastUpdatedDate(const Aws::Utils::DateTime& value) { m_lastUpdatedDate = value; }
80 inline void SetLastUpdatedDate(Aws::Utils::DateTime&& value) { m_lastUpdatedDate = std::move(value); }
81 inline GetSchemaResult& WithLastUpdatedDate(const Aws::Utils::DateTime& value) { SetLastUpdatedDate(value); return *this;}
82 inline GetSchemaResult& WithLastUpdatedDate(Aws::Utils::DateTime&& value) { SetLastUpdatedDate(std::move(value)); return *this;}
84
86
89 inline const Aws::Vector<Aws::String>& GetNamespaces() const{ return m_namespaces; }
90 inline void SetNamespaces(const Aws::Vector<Aws::String>& value) { m_namespaces = value; }
91 inline void SetNamespaces(Aws::Vector<Aws::String>&& value) { m_namespaces = std::move(value); }
92 inline GetSchemaResult& WithNamespaces(const Aws::Vector<Aws::String>& value) { SetNamespaces(value); return *this;}
93 inline GetSchemaResult& WithNamespaces(Aws::Vector<Aws::String>&& value) { SetNamespaces(std::move(value)); return *this;}
94 inline GetSchemaResult& AddNamespaces(const Aws::String& value) { m_namespaces.push_back(value); return *this; }
95 inline GetSchemaResult& AddNamespaces(Aws::String&& value) { m_namespaces.push_back(std::move(value)); return *this; }
96 inline GetSchemaResult& AddNamespaces(const char* value) { m_namespaces.push_back(value); return *this; }
98
100
101 inline const Aws::String& GetRequestId() const{ return m_requestId; }
102 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
103 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
104 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
105 inline GetSchemaResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
106 inline GetSchemaResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
107 inline GetSchemaResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
109 private:
110
111 Aws::String m_policyStoreId;
112
113 Aws::String m_schema;
114
115 Aws::Utils::DateTime m_createdDate;
116
117 Aws::Utils::DateTime m_lastUpdatedDate;
118
119 Aws::Vector<Aws::String> m_namespaces;
120
121 Aws::String m_requestId;
122 };
123
124} // namespace Model
125} // namespace VerifiedPermissions
126} // namespace Aws
void SetLastUpdatedDate(const Aws::Utils::DateTime &value)
GetSchemaResult & WithNamespaces(const Aws::Vector< Aws::String > &value)
AWS_VERIFIEDPERMISSIONS_API GetSchemaResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSchemaResult & WithNamespaces(Aws::Vector< Aws::String > &&value)
GetSchemaResult & WithPolicyStoreId(const char *value)
GetSchemaResult & WithRequestId(const Aws::String &value)
GetSchemaResult & WithPolicyStoreId(const Aws::String &value)
GetSchemaResult & WithSchema(const Aws::String &value)
GetSchemaResult & WithLastUpdatedDate(const Aws::Utils::DateTime &value)
GetSchemaResult & WithSchema(Aws::String &&value)
GetSchemaResult & WithPolicyStoreId(Aws::String &&value)
GetSchemaResult & WithRequestId(Aws::String &&value)
GetSchemaResult & WithCreatedDate(const Aws::Utils::DateTime &value)
GetSchemaResult & WithLastUpdatedDate(Aws::Utils::DateTime &&value)
void SetNamespaces(Aws::Vector< Aws::String > &&value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastUpdatedDate() const
GetSchemaResult & AddNamespaces(const Aws::String &value)
void SetNamespaces(const Aws::Vector< Aws::String > &value)
AWS_VERIFIEDPERMISSIONS_API GetSchemaResult()
GetSchemaResult & WithSchema(const char *value)
void SetLastUpdatedDate(Aws::Utils::DateTime &&value)
void SetPolicyStoreId(const Aws::String &value)
GetSchemaResult & WithCreatedDate(Aws::Utils::DateTime &&value)
GetSchemaResult & WithRequestId(const char *value)
GetSchemaResult & AddNamespaces(const char *value)
GetSchemaResult & AddNamespaces(Aws::String &&value)
AWS_VERIFIEDPERMISSIONS_API GetSchemaResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreatedDate(Aws::Utils::DateTime &&value)
const Aws::Vector< Aws::String > & GetNamespaces() const
const Aws::Utils::DateTime & GetCreatedDate() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue