AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAuthPolicyResult.h
1
6#pragma once
7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/vpc-lattice/model/AuthPolicyState.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 VPCLattice
26{
27namespace Model
28{
30 {
31 public:
32 AWS_VPCLATTICE_API GetAuthPolicyResult();
35
36
38
42 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
43 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
44 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
45 inline GetAuthPolicyResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
46 inline GetAuthPolicyResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
48
50
54 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
55 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
56 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
57 inline GetAuthPolicyResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
58 inline GetAuthPolicyResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
60
62
65 inline const Aws::String& GetPolicy() const{ return m_policy; }
66 inline void SetPolicy(const Aws::String& value) { m_policy = value; }
67 inline void SetPolicy(Aws::String&& value) { m_policy = std::move(value); }
68 inline void SetPolicy(const char* value) { m_policy.assign(value); }
69 inline GetAuthPolicyResult& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;}
70 inline GetAuthPolicyResult& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;}
71 inline GetAuthPolicyResult& WithPolicy(const char* value) { SetPolicy(value); return *this;}
73
75
84 inline const AuthPolicyState& GetState() const{ return m_state; }
85 inline void SetState(const AuthPolicyState& value) { m_state = value; }
86 inline void SetState(AuthPolicyState&& value) { m_state = std::move(value); }
87 inline GetAuthPolicyResult& WithState(const AuthPolicyState& value) { SetState(value); return *this;}
88 inline GetAuthPolicyResult& WithState(AuthPolicyState&& value) { SetState(std::move(value)); return *this;}
90
92
93 inline const Aws::String& GetRequestId() const{ return m_requestId; }
94 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
95 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
96 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
97 inline GetAuthPolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
98 inline GetAuthPolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
99 inline GetAuthPolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
101 private:
102
103 Aws::Utils::DateTime m_createdAt;
104
105 Aws::Utils::DateTime m_lastUpdatedAt;
106
107 Aws::String m_policy;
108
109 AuthPolicyState m_state;
110
111 Aws::String m_requestId;
112 };
113
114} // namespace Model
115} // namespace VPCLattice
116} // namespace Aws
GetAuthPolicyResult & WithRequestId(Aws::String &&value)
GetAuthPolicyResult & WithState(const AuthPolicyState &value)
GetAuthPolicyResult & WithPolicy(Aws::String &&value)
void SetRequestId(const Aws::String &value)
AWS_VPCLATTICE_API GetAuthPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAuthPolicyResult & WithState(AuthPolicyState &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
GetAuthPolicyResult & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
AWS_VPCLATTICE_API GetAuthPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
GetAuthPolicyResult & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
GetAuthPolicyResult & WithPolicy(const char *value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetAuthPolicyResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetAuthPolicyResult & WithCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetAuthPolicyResult & WithPolicy(const Aws::String &value)
void SetState(const AuthPolicyState &value)
GetAuthPolicyResult & WithRequestId(const char *value)
GetAuthPolicyResult & WithRequestId(const Aws::String &value)
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue