AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PolicyReference.h
1
6#pragma once
7#include <aws/mpa/MPA_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 MPA
22{
23namespace Model
24{
25
38 {
39 public:
40 AWS_MPA_API PolicyReference() = default;
44
45
47
50 inline const Aws::String& GetPolicyArn() const { return m_policyArn; }
51 inline bool PolicyArnHasBeenSet() const { return m_policyArnHasBeenSet; }
52 template<typename PolicyArnT = Aws::String>
53 void SetPolicyArn(PolicyArnT&& value) { m_policyArnHasBeenSet = true; m_policyArn = std::forward<PolicyArnT>(value); }
54 template<typename PolicyArnT = Aws::String>
55 PolicyReference& WithPolicyArn(PolicyArnT&& value) { SetPolicyArn(std::forward<PolicyArnT>(value)); return *this;}
57 private:
58
59 Aws::String m_policyArn;
60 bool m_policyArnHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace MPA
65} // namespace Aws
PolicyReference & WithPolicyArn(PolicyArnT &&value)
AWS_MPA_API PolicyReference & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MPA_API PolicyReference()=default
void SetPolicyArn(PolicyArnT &&value)
AWS_MPA_API PolicyReference(Aws::Utils::Json::JsonView jsonValue)
AWS_MPA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetPolicyArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue