AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetResourcePoliciesResponseEntry.h
1
6#pragma once
7#include <aws/ssm/SSM_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 SSM
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_SSM_API GetResourcePoliciesResponseEntry() = default;
43
44
46
49 inline const Aws::String& GetPolicyId() const { return m_policyId; }
50 inline bool PolicyIdHasBeenSet() const { return m_policyIdHasBeenSet; }
51 template<typename PolicyIdT = Aws::String>
52 void SetPolicyId(PolicyIdT&& value) { m_policyIdHasBeenSet = true; m_policyId = std::forward<PolicyIdT>(value); }
53 template<typename PolicyIdT = Aws::String>
54 GetResourcePoliciesResponseEntry& WithPolicyId(PolicyIdT&& value) { SetPolicyId(std::forward<PolicyIdT>(value)); return *this;}
56
58
63 inline const Aws::String& GetPolicyHash() const { return m_policyHash; }
64 inline bool PolicyHashHasBeenSet() const { return m_policyHashHasBeenSet; }
65 template<typename PolicyHashT = Aws::String>
66 void SetPolicyHash(PolicyHashT&& value) { m_policyHashHasBeenSet = true; m_policyHash = std::forward<PolicyHashT>(value); }
67 template<typename PolicyHashT = Aws::String>
68 GetResourcePoliciesResponseEntry& WithPolicyHash(PolicyHashT&& value) { SetPolicyHash(std::forward<PolicyHashT>(value)); return *this;}
70
72
80 inline const Aws::String& GetPolicy() const { return m_policy; }
81 inline bool PolicyHasBeenSet() const { return m_policyHasBeenSet; }
82 template<typename PolicyT = Aws::String>
83 void SetPolicy(PolicyT&& value) { m_policyHasBeenSet = true; m_policy = std::forward<PolicyT>(value); }
84 template<typename PolicyT = Aws::String>
85 GetResourcePoliciesResponseEntry& WithPolicy(PolicyT&& value) { SetPolicy(std::forward<PolicyT>(value)); return *this;}
87 private:
88
89 Aws::String m_policyId;
90 bool m_policyIdHasBeenSet = false;
91
92 Aws::String m_policyHash;
93 bool m_policyHashHasBeenSet = false;
94
95 Aws::String m_policy;
96 bool m_policyHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace SSM
101} // namespace Aws
const Aws::String & GetPolicy() const
void SetPolicyId(PolicyIdT &&value)
AWS_SSM_API GetResourcePoliciesResponseEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPolicy(PolicyT &&value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
bool PolicyHasBeenSet() const
AWS_SSM_API GetResourcePoliciesResponseEntry()=default
GetResourcePoliciesResponseEntry & WithPolicyId(PolicyIdT &&value)
const Aws::String & GetPolicyHash() const
const Aws::String & GetPolicyId() const
GetResourcePoliciesResponseEntry & WithPolicyHash(PolicyHashT &&value)
void SetPolicyHash(PolicyHashT &&value)
AWS_SSM_API GetResourcePoliciesResponseEntry(Aws::Utils::Json::JsonView jsonValue)
bool PolicyIdHasBeenSet() const
GetResourcePoliciesResponseEntry & WithPolicy(PolicyT &&value)
bool PolicyHashHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue