AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutAuthPolicyResult.h
1
6#pragma once
7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/vpc-lattice/model/AuthPolicyState.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace VPCLattice
25{
26namespace Model
27{
29 {
30 public:
31 AWS_VPCLATTICE_API PutAuthPolicyResult();
34
35
37
41 inline const Aws::String& GetPolicy() const{ return m_policy; }
42 inline void SetPolicy(const Aws::String& value) { m_policy = value; }
43 inline void SetPolicy(Aws::String&& value) { m_policy = std::move(value); }
44 inline void SetPolicy(const char* value) { m_policy.assign(value); }
45 inline PutAuthPolicyResult& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;}
46 inline PutAuthPolicyResult& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;}
47 inline PutAuthPolicyResult& WithPolicy(const char* value) { SetPolicy(value); return *this;}
49
51
60 inline const AuthPolicyState& GetState() const{ return m_state; }
61 inline void SetState(const AuthPolicyState& value) { m_state = value; }
62 inline void SetState(AuthPolicyState&& value) { m_state = std::move(value); }
63 inline PutAuthPolicyResult& WithState(const AuthPolicyState& value) { SetState(value); return *this;}
64 inline PutAuthPolicyResult& WithState(AuthPolicyState&& value) { SetState(std::move(value)); return *this;}
66
68
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
72 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
73 inline PutAuthPolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
74 inline PutAuthPolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline PutAuthPolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
79 Aws::String m_policy;
80
81 AuthPolicyState m_state;
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace VPCLattice
88} // namespace Aws
PutAuthPolicyResult & WithRequestId(const char *value)
AWS_VPCLATTICE_API PutAuthPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetState(const AuthPolicyState &value)
PutAuthPolicyResult & WithRequestId(const Aws::String &value)
AWS_VPCLATTICE_API PutAuthPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const Aws::String &value)
PutAuthPolicyResult & WithState(AuthPolicyState &&value)
PutAuthPolicyResult & WithPolicy(const char *value)
PutAuthPolicyResult & WithRequestId(Aws::String &&value)
PutAuthPolicyResult & WithPolicy(const Aws::String &value)
PutAuthPolicyResult & WithState(const AuthPolicyState &value)
PutAuthPolicyResult & WithPolicy(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue