AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
35
36
38
41 inline const Aws::String& GetPolicyStoreId() const { return m_policyStoreId; }
42 template<typename PolicyStoreIdT = Aws::String>
43 void SetPolicyStoreId(PolicyStoreIdT&& value) { m_policyStoreIdHasBeenSet = true; m_policyStoreId = std::forward<PolicyStoreIdT>(value); }
44 template<typename PolicyStoreIdT = Aws::String>
45 PutSchemaResult& WithPolicyStoreId(PolicyStoreIdT&& value) { SetPolicyStoreId(std::forward<PolicyStoreIdT>(value)); return *this;}
47
49
52 inline const Aws::Vector<Aws::String>& GetNamespaces() const { return m_namespaces; }
53 template<typename NamespacesT = Aws::Vector<Aws::String>>
54 void SetNamespaces(NamespacesT&& value) { m_namespacesHasBeenSet = true; m_namespaces = std::forward<NamespacesT>(value); }
55 template<typename NamespacesT = Aws::Vector<Aws::String>>
56 PutSchemaResult& WithNamespaces(NamespacesT&& value) { SetNamespaces(std::forward<NamespacesT>(value)); return *this;}
57 template<typename NamespacesT = Aws::String>
58 PutSchemaResult& AddNamespaces(NamespacesT&& value) { m_namespacesHasBeenSet = true; m_namespaces.emplace_back(std::forward<NamespacesT>(value)); return *this; }
60
62
65 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
66 template<typename CreatedDateT = Aws::Utils::DateTime>
67 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
68 template<typename CreatedDateT = Aws::Utils::DateTime>
69 PutSchemaResult& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
71
73
76 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const { return m_lastUpdatedDate; }
77 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
78 void SetLastUpdatedDate(LastUpdatedDateT&& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::forward<LastUpdatedDateT>(value); }
79 template<typename LastUpdatedDateT = Aws::Utils::DateTime>
80 PutSchemaResult& WithLastUpdatedDate(LastUpdatedDateT&& value) { SetLastUpdatedDate(std::forward<LastUpdatedDateT>(value)); return *this;}
82
84
85 inline const Aws::String& GetRequestId() const { return m_requestId; }
86 template<typename RequestIdT = Aws::String>
87 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
88 template<typename RequestIdT = Aws::String>
89 PutSchemaResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
91 private:
92
93 Aws::String m_policyStoreId;
94 bool m_policyStoreIdHasBeenSet = false;
95
96 Aws::Vector<Aws::String> m_namespaces;
97 bool m_namespacesHasBeenSet = false;
98
99 Aws::Utils::DateTime m_createdDate{};
100 bool m_createdDateHasBeenSet = false;
101
102 Aws::Utils::DateTime m_lastUpdatedDate{};
103 bool m_lastUpdatedDateHasBeenSet = false;
104
105 Aws::String m_requestId;
106 bool m_requestIdHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace VerifiedPermissions
111} // namespace Aws
PutSchemaResult & AddNamespaces(NamespacesT &&value)
PutSchemaResult & WithRequestId(RequestIdT &&value)
PutSchemaResult & WithCreatedDate(CreatedDateT &&value)
const Aws::Utils::DateTime & GetCreatedDate() const
const Aws::Vector< Aws::String > & GetNamespaces() const
PutSchemaResult & WithLastUpdatedDate(LastUpdatedDateT &&value)
AWS_VERIFIEDPERMISSIONS_API PutSchemaResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetLastUpdatedDate() const
PutSchemaResult & WithPolicyStoreId(PolicyStoreIdT &&value)
AWS_VERIFIEDPERMISSIONS_API PutSchemaResult()=default
PutSchemaResult & WithNamespaces(NamespacesT &&value)
AWS_VERIFIEDPERMISSIONS_API PutSchemaResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLastUpdatedDate(LastUpdatedDateT &&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