AWS SDK for C++

AWS SDK for C++ Version 1.11.926

Loading...
Searching...
No Matches
CustomerManagedPolicyReference.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sso-admin/SSOAdmin_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SSOAdmin {
20namespace Model {
21
30 public:
31 AWS_SSOADMIN_API CustomerManagedPolicyReference() = default;
34 AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
63 inline const Aws::String& GetPath() const { return m_path; }
64 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
65 template <typename PathT = Aws::String>
66 void SetPath(PathT&& value) {
67 m_pathHasBeenSet = true;
68 m_path = std::forward<PathT>(value);
69 }
70 template <typename PathT = Aws::String>
72 SetPath(std::forward<PathT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_name;
78
79 Aws::String m_path;
80 bool m_nameHasBeenSet = false;
81 bool m_pathHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace SSOAdmin
86} // namespace Aws
AWS_SSOADMIN_API CustomerManagedPolicyReference()=default
CustomerManagedPolicyReference & WithPath(PathT &&value)
AWS_SSOADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
CustomerManagedPolicyReference & WithName(NameT &&value)
AWS_SSOADMIN_API CustomerManagedPolicyReference & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSOADMIN_API CustomerManagedPolicyReference(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue