AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
43
44
46
49 inline const Aws::String& GetPolicyId() const{ return m_policyId; }
50 inline bool PolicyIdHasBeenSet() const { return m_policyIdHasBeenSet; }
51 inline void SetPolicyId(const Aws::String& value) { m_policyIdHasBeenSet = true; m_policyId = value; }
52 inline void SetPolicyId(Aws::String&& value) { m_policyIdHasBeenSet = true; m_policyId = std::move(value); }
53 inline void SetPolicyId(const char* value) { m_policyIdHasBeenSet = true; m_policyId.assign(value); }
54 inline GetResourcePoliciesResponseEntry& WithPolicyId(const Aws::String& value) { SetPolicyId(value); return *this;}
55 inline GetResourcePoliciesResponseEntry& WithPolicyId(Aws::String&& value) { SetPolicyId(std::move(value)); return *this;}
56 inline GetResourcePoliciesResponseEntry& WithPolicyId(const char* value) { SetPolicyId(value); return *this;}
58
60
65 inline const Aws::String& GetPolicyHash() const{ return m_policyHash; }
66 inline bool PolicyHashHasBeenSet() const { return m_policyHashHasBeenSet; }
67 inline void SetPolicyHash(const Aws::String& value) { m_policyHashHasBeenSet = true; m_policyHash = value; }
68 inline void SetPolicyHash(Aws::String&& value) { m_policyHashHasBeenSet = true; m_policyHash = std::move(value); }
69 inline void SetPolicyHash(const char* value) { m_policyHashHasBeenSet = true; m_policyHash.assign(value); }
70 inline GetResourcePoliciesResponseEntry& WithPolicyHash(const Aws::String& value) { SetPolicyHash(value); return *this;}
71 inline GetResourcePoliciesResponseEntry& WithPolicyHash(Aws::String&& value) { SetPolicyHash(std::move(value)); return *this;}
72 inline GetResourcePoliciesResponseEntry& WithPolicyHash(const char* value) { SetPolicyHash(value); return *this;}
74
76
84 inline const Aws::String& GetPolicy() const{ return m_policy; }
85 inline bool PolicyHasBeenSet() const { return m_policyHasBeenSet; }
86 inline void SetPolicy(const Aws::String& value) { m_policyHasBeenSet = true; m_policy = value; }
87 inline void SetPolicy(Aws::String&& value) { m_policyHasBeenSet = true; m_policy = std::move(value); }
88 inline void SetPolicy(const char* value) { m_policyHasBeenSet = true; m_policy.assign(value); }
89 inline GetResourcePoliciesResponseEntry& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;}
90 inline GetResourcePoliciesResponseEntry& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;}
91 inline GetResourcePoliciesResponseEntry& WithPolicy(const char* value) { SetPolicy(value); return *this;}
93 private:
94
95 Aws::String m_policyId;
96 bool m_policyIdHasBeenSet = false;
97
98 Aws::String m_policyHash;
99 bool m_policyHashHasBeenSet = false;
100
101 Aws::String m_policy;
102 bool m_policyHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace SSM
107} // namespace Aws
const Aws::String & GetPolicy() const
void SetPolicyId(Aws::String &&value)
AWS_SSM_API GetResourcePoliciesResponseEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
GetResourcePoliciesResponseEntry & WithPolicyHash(const char *value)
void SetPolicyHash(Aws::String &&value)
AWS_SSM_API GetResourcePoliciesResponseEntry()
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPolicyHash(const Aws::String &value)
void SetPolicyId(const char *value)
bool PolicyHasBeenSet() const
GetResourcePoliciesResponseEntry & WithPolicyId(const Aws::String &value)
void SetPolicyHash(const char *value)
GetResourcePoliciesResponseEntry & WithPolicyHash(const Aws::String &value)
const Aws::String & GetPolicyHash() const
const Aws::String & GetPolicyId() const
GetResourcePoliciesResponseEntry & WithPolicy(Aws::String &&value)
void SetPolicyId(const Aws::String &value)
GetResourcePoliciesResponseEntry & WithPolicyId(const char *value)
AWS_SSM_API GetResourcePoliciesResponseEntry(Aws::Utils::Json::JsonView jsonValue)
void SetPolicy(const char *value)
GetResourcePoliciesResponseEntry & WithPolicyId(Aws::String &&value)
GetResourcePoliciesResponseEntry & WithPolicy(const Aws::String &value)
bool PolicyIdHasBeenSet() const
GetResourcePoliciesResponseEntry & WithPolicyHash(Aws::String &&value)
GetResourcePoliciesResponseEntry & WithPolicy(const char *value)
void SetPolicy(const Aws::String &value)
void SetPolicy(Aws::String &&value)
bool PolicyHashHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue