AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
ProjectPolicyGrantPrincipal.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZone_EXPORTS.h>
9#include <aws/datazone/model/ProjectDesignation.h>
10#include <aws/datazone/model/ProjectGrantFilter.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DataZone {
22namespace Model {
23
30 public:
31 AWS_DATAZONE_API ProjectPolicyGrantPrincipal() = default;
34 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline ProjectDesignation GetProjectDesignation() const { return m_projectDesignation; }
41 inline bool ProjectDesignationHasBeenSet() const { return m_projectDesignationHasBeenSet; }
43 m_projectDesignationHasBeenSet = true;
44 m_projectDesignation = value;
45 }
48 return *this;
49 }
51
53
56 inline const Aws::String& GetProjectIdentifier() const { return m_projectIdentifier; }
57 inline bool ProjectIdentifierHasBeenSet() const { return m_projectIdentifierHasBeenSet; }
58 template <typename ProjectIdentifierT = Aws::String>
59 void SetProjectIdentifier(ProjectIdentifierT&& value) {
60 m_projectIdentifierHasBeenSet = true;
61 m_projectIdentifier = std::forward<ProjectIdentifierT>(value);
62 }
63 template <typename ProjectIdentifierT = Aws::String>
65 SetProjectIdentifier(std::forward<ProjectIdentifierT>(value));
66 return *this;
67 }
69
71
74 inline const ProjectGrantFilter& GetProjectGrantFilter() const { return m_projectGrantFilter; }
75 inline bool ProjectGrantFilterHasBeenSet() const { return m_projectGrantFilterHasBeenSet; }
76 template <typename ProjectGrantFilterT = ProjectGrantFilter>
77 void SetProjectGrantFilter(ProjectGrantFilterT&& value) {
78 m_projectGrantFilterHasBeenSet = true;
79 m_projectGrantFilter = std::forward<ProjectGrantFilterT>(value);
80 }
81 template <typename ProjectGrantFilterT = ProjectGrantFilter>
83 SetProjectGrantFilter(std::forward<ProjectGrantFilterT>(value));
84 return *this;
85 }
87 private:
89
90 Aws::String m_projectIdentifier;
91
92 ProjectGrantFilter m_projectGrantFilter;
93 bool m_projectDesignationHasBeenSet = false;
94 bool m_projectIdentifierHasBeenSet = false;
95 bool m_projectGrantFilterHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace DataZone
100} // 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