AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ProjectPolicyGrantPrincipal.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/ProjectDesignation.h>
9#include <aws/datazone/model/ProjectGrantFilter.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DataZone
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_DATAZONE_API ProjectPolicyGrantPrincipal() = default;
39 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline ProjectDesignation GetProjectDesignation() const { return m_projectDesignation; }
47 inline bool ProjectDesignationHasBeenSet() const { return m_projectDesignationHasBeenSet; }
48 inline void SetProjectDesignation(ProjectDesignation value) { m_projectDesignationHasBeenSet = true; m_projectDesignation = value; }
51
53
56 inline const ProjectGrantFilter& GetProjectGrantFilter() const { return m_projectGrantFilter; }
57 inline bool ProjectGrantFilterHasBeenSet() const { return m_projectGrantFilterHasBeenSet; }
58 template<typename ProjectGrantFilterT = ProjectGrantFilter>
59 void SetProjectGrantFilter(ProjectGrantFilterT&& value) { m_projectGrantFilterHasBeenSet = true; m_projectGrantFilter = std::forward<ProjectGrantFilterT>(value); }
60 template<typename ProjectGrantFilterT = ProjectGrantFilter>
61 ProjectPolicyGrantPrincipal& WithProjectGrantFilter(ProjectGrantFilterT&& value) { SetProjectGrantFilter(std::forward<ProjectGrantFilterT>(value)); return *this;}
63
65
68 inline const Aws::String& GetProjectIdentifier() const { return m_projectIdentifier; }
69 inline bool ProjectIdentifierHasBeenSet() const { return m_projectIdentifierHasBeenSet; }
70 template<typename ProjectIdentifierT = Aws::String>
71 void SetProjectIdentifier(ProjectIdentifierT&& value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier = std::forward<ProjectIdentifierT>(value); }
72 template<typename ProjectIdentifierT = Aws::String>
73 ProjectPolicyGrantPrincipal& WithProjectIdentifier(ProjectIdentifierT&& value) { SetProjectIdentifier(std::forward<ProjectIdentifierT>(value)); return *this;}
75 private:
76
78 bool m_projectDesignationHasBeenSet = false;
79
80 ProjectGrantFilter m_projectGrantFilter;
81 bool m_projectGrantFilterHasBeenSet = false;
82
83 Aws::String m_projectIdentifier;
84 bool m_projectIdentifierHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace DataZone
89} // namespace Aws
AWS_DATAZONE_API ProjectPolicyGrantPrincipal & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API ProjectPolicyGrantPrincipal(Aws::Utils::Json::JsonView jsonValue)
ProjectPolicyGrantPrincipal & WithProjectGrantFilter(ProjectGrantFilterT &&value)
AWS_DATAZONE_API ProjectPolicyGrantPrincipal()=default
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
ProjectPolicyGrantPrincipal & WithProjectIdentifier(ProjectIdentifierT &&value)
ProjectPolicyGrantPrincipal & WithProjectDesignation(ProjectDesignation value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue