AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutSchemaResult.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/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.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 PutSchemaResult();
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 PutSchemaResult& WithPolicyStoreId(const Aws::String& value) { SetPolicyStoreId(value); return *this;}
46 inline PutSchemaResult& WithPolicyStoreId(Aws::String&& value) { SetPolicyStoreId(std::move(value)); return *this;}
47 inline PutSchemaResult& WithPolicyStoreId(const char* value) { SetPolicyStoreId(value); return *this;}
49
51
54 inline const Aws::Vector<Aws::String>& GetNamespaces() const{ return m_namespaces; }
55 inline void SetNamespaces(const Aws::Vector<Aws::String>& value) { m_namespaces = value; }
56 inline void SetNamespaces(Aws::Vector<Aws::String>&& value) { m_namespaces = std::move(value); }
57 inline PutSchemaResult& WithNamespaces(const Aws::Vector<Aws::String>& value) { SetNamespaces(value); return *this;}
58 inline PutSchemaResult& WithNamespaces(Aws::Vector<Aws::String>&& value) { SetNamespaces(std::move(value)); return *this;}
59 inline PutSchemaResult& AddNamespaces(const Aws::String& value) { m_namespaces.push_back(value); return *this; }
60 inline PutSchemaResult& AddNamespaces(Aws::String&& value) { m_namespaces.push_back(std::move(value)); return *this; }
61 inline PutSchemaResult& AddNamespaces(const char* value) { m_namespaces.push_back(value); return *this; }
63
65
68 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
69 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDate = value; }
70 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDate = std::move(value); }
71 inline PutSchemaResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
72 inline PutSchemaResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
74
76
79 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const{ return m_lastUpdatedDate; }
80 inline void SetLastUpdatedDate(const Aws::Utils::DateTime& value) { m_lastUpdatedDate = value; }
81 inline void SetLastUpdatedDate(Aws::Utils::DateTime&& value) { m_lastUpdatedDate = std::move(value); }
82 inline PutSchemaResult& WithLastUpdatedDate(const Aws::Utils::DateTime& value) { SetLastUpdatedDate(value); return *this;}
83 inline PutSchemaResult& WithLastUpdatedDate(Aws::Utils::DateTime&& value) { SetLastUpdatedDate(std::move(value)); return *this;}
85
87
88 inline const Aws::String& GetRequestId() const{ return m_requestId; }
89 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
90 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
91 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
92 inline PutSchemaResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
93 inline PutSchemaResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
94 inline PutSchemaResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
96 private:
97
98 Aws::String m_policyStoreId;
99
100 Aws::Vector<Aws::String> m_namespaces;
101
102 Aws::Utils::DateTime m_createdDate;
103
104 Aws::Utils::DateTime m_lastUpdatedDate;
105
106 Aws::String m_requestId;
107 };
108
109} // namespace Model
110} // namespace VerifiedPermissions
111} // namespace Aws
PutSchemaResult & AddNamespaces(const Aws::String &value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
PutSchemaResult & AddNamespaces(Aws::String &&value)
void SetNamespaces(const Aws::Vector< Aws::String > &value)
PutSchemaResult & AddNamespaces(const char *value)
PutSchemaResult & WithCreatedDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
void SetCreatedDate(Aws::Utils::DateTime &&value)
const Aws::Vector< Aws::String > & GetNamespaces() const
PutSchemaResult & WithNamespaces(const Aws::Vector< Aws::String > &value)
PutSchemaResult & WithPolicyStoreId(const char *value)
void SetPolicyStoreId(const Aws::String &value)
PutSchemaResult & WithLastUpdatedDate(const Aws::Utils::DateTime &value)
void SetLastUpdatedDate(const Aws::Utils::DateTime &value)
PutSchemaResult & WithRequestId(const char *value)
PutSchemaResult & WithNamespaces(Aws::Vector< Aws::String > &&value)
AWS_VERIFIEDPERMISSIONS_API PutSchemaResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetLastUpdatedDate() const
PutSchemaResult & WithRequestId(Aws::String &&value)
PutSchemaResult & WithCreatedDate(const Aws::Utils::DateTime &value)
PutSchemaResult & WithPolicyStoreId(const Aws::String &value)
AWS_VERIFIEDPERMISSIONS_API PutSchemaResult()
PutSchemaResult & WithRequestId(const Aws::String &value)
PutSchemaResult & WithLastUpdatedDate(Aws::Utils::DateTime &&value)
void SetNamespaces(Aws::Vector< Aws::String > &&value)
AWS_VERIFIEDPERMISSIONS_API PutSchemaResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLastUpdatedDate(Aws::Utils::DateTime &&value)
PutSchemaResult & WithPolicyStoreId(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