AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeterminingPolicyItem.h
1
6#pragma once
7#include <aws/verifiedpermissions/VerifiedPermissions_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace VerifiedPermissions
22{
23namespace Model
24{
25
42 {
43 public:
44 AWS_VERIFIEDPERMISSIONS_API DeterminingPolicyItem();
45 AWS_VERIFIEDPERMISSIONS_API DeterminingPolicyItem(Aws::Utils::Json::JsonView jsonValue);
46 AWS_VERIFIEDPERMISSIONS_API DeterminingPolicyItem& operator=(Aws::Utils::Json::JsonView jsonValue);
47 AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
55 inline const Aws::String& GetPolicyId() const{ return m_policyId; }
56 inline bool PolicyIdHasBeenSet() const { return m_policyIdHasBeenSet; }
57 inline void SetPolicyId(const Aws::String& value) { m_policyIdHasBeenSet = true; m_policyId = value; }
58 inline void SetPolicyId(Aws::String&& value) { m_policyIdHasBeenSet = true; m_policyId = std::move(value); }
59 inline void SetPolicyId(const char* value) { m_policyIdHasBeenSet = true; m_policyId.assign(value); }
60 inline DeterminingPolicyItem& WithPolicyId(const Aws::String& value) { SetPolicyId(value); return *this;}
61 inline DeterminingPolicyItem& WithPolicyId(Aws::String&& value) { SetPolicyId(std::move(value)); return *this;}
62 inline DeterminingPolicyItem& WithPolicyId(const char* value) { SetPolicyId(value); return *this;}
64 private:
65
66 Aws::String m_policyId;
67 bool m_policyIdHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace VerifiedPermissions
72} // namespace Aws
AWS_VERIFIEDPERMISSIONS_API DeterminingPolicyItem & operator=(Aws::Utils::Json::JsonView jsonValue)
DeterminingPolicyItem & WithPolicyId(Aws::String &&value)
DeterminingPolicyItem & WithPolicyId(const Aws::String &value)
AWS_VERIFIEDPERMISSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_VERIFIEDPERMISSIONS_API DeterminingPolicyItem(Aws::Utils::Json::JsonView jsonValue)
DeterminingPolicyItem & WithPolicyId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue