AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetPolicyStoreResult.h
1
6#pragma once
7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/verifiedpermissions/model/ValidationSettings.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 GetPolicyStoreResult();
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 GetPolicyStoreResult& WithPolicyStoreId(const Aws::String& value) { SetPolicyStoreId(value); return *this;}
46 inline GetPolicyStoreResult& WithPolicyStoreId(Aws::String&& value) { SetPolicyStoreId(std::move(value)); return *this;}
47 inline GetPolicyStoreResult& WithPolicyStoreId(const char* value) { SetPolicyStoreId(value); return *this;}
49
51
54 inline const Aws::String& GetArn() const{ return m_arn; }
55 inline void SetArn(const Aws::String& value) { m_arn = value; }
56 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
57 inline void SetArn(const char* value) { m_arn.assign(value); }
58 inline GetPolicyStoreResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
59 inline GetPolicyStoreResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
60 inline GetPolicyStoreResult& WithArn(const char* value) { SetArn(value); return *this;}
62
64
67 inline const ValidationSettings& GetValidationSettings() const{ return m_validationSettings; }
68 inline void SetValidationSettings(const ValidationSettings& value) { m_validationSettings = value; }
69 inline void SetValidationSettings(ValidationSettings&& value) { m_validationSettings = std::move(value); }
71 inline GetPolicyStoreResult& WithValidationSettings(ValidationSettings&& value) { SetValidationSettings(std::move(value)); return *this;}
73
75
78 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
79 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDate = value; }
80 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDate = std::move(value); }
81 inline GetPolicyStoreResult& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
82 inline GetPolicyStoreResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const{ return m_lastUpdatedDate; }
90 inline void SetLastUpdatedDate(const Aws::Utils::DateTime& value) { m_lastUpdatedDate = value; }
91 inline void SetLastUpdatedDate(Aws::Utils::DateTime&& value) { m_lastUpdatedDate = std::move(value); }
93 inline GetPolicyStoreResult& WithLastUpdatedDate(Aws::Utils::DateTime&& value) { SetLastUpdatedDate(std::move(value)); return *this;}
95
97
101 inline const Aws::String& GetDescription() const{ return m_description; }
102 inline void SetDescription(const Aws::String& value) { m_description = value; }
103 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
104 inline void SetDescription(const char* value) { m_description.assign(value); }
105 inline GetPolicyStoreResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
106 inline GetPolicyStoreResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
107 inline GetPolicyStoreResult& WithDescription(const char* value) { SetDescription(value); return *this;}
109
111
112 inline const Aws::String& GetRequestId() const{ return m_requestId; }
113 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
114 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
115 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
116 inline GetPolicyStoreResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
117 inline GetPolicyStoreResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
118 inline GetPolicyStoreResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
120 private:
121
122 Aws::String m_policyStoreId;
123
124 Aws::String m_arn;
125
126 ValidationSettings m_validationSettings;
127
128 Aws::Utils::DateTime m_createdDate;
129
130 Aws::Utils::DateTime m_lastUpdatedDate;
131
132 Aws::String m_description;
133
134 Aws::String m_requestId;
135 };
136
137} // namespace Model
138} // namespace VerifiedPermissions
139} // namespace Aws
GetPolicyStoreResult & WithArn(const char *value)
GetPolicyStoreResult & WithArn(const Aws::String &value)
GetPolicyStoreResult & WithRequestId(Aws::String &&value)
AWS_VERIFIEDPERMISSIONS_API GetPolicyStoreResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPolicyStoreResult & WithDescription(const Aws::String &value)
GetPolicyStoreResult & WithCreatedDate(const Aws::Utils::DateTime &value)
GetPolicyStoreResult & WithPolicyStoreId(const Aws::String &value)
GetPolicyStoreResult & WithCreatedDate(Aws::Utils::DateTime &&value)
GetPolicyStoreResult & WithPolicyStoreId(Aws::String &&value)
GetPolicyStoreResult & WithLastUpdatedDate(Aws::Utils::DateTime &&value)
void SetLastUpdatedDate(const Aws::Utils::DateTime &value)
void SetValidationSettings(const ValidationSettings &value)
GetPolicyStoreResult & WithRequestId(const Aws::String &value)
GetPolicyStoreResult & WithValidationSettings(ValidationSettings &&value)
AWS_VERIFIEDPERMISSIONS_API GetPolicyStoreResult()
const Aws::Utils::DateTime & GetLastUpdatedDate() const
GetPolicyStoreResult & WithRequestId(const char *value)
void SetCreatedDate(const Aws::Utils::DateTime &value)
AWS_VERIFIEDPERMISSIONS_API GetPolicyStoreResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPolicyStoreResult & WithDescription(Aws::String &&value)
GetPolicyStoreResult & WithLastUpdatedDate(const Aws::Utils::DateTime &value)
GetPolicyStoreResult & WithPolicyStoreId(const char *value)
GetPolicyStoreResult & WithArn(Aws::String &&value)
GetPolicyStoreResult & WithValidationSettings(const ValidationSettings &value)
GetPolicyStoreResult & WithDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue