AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const ProjectDesignation& GetProjectDesignation() const{ return m_projectDesignation; }
47 inline bool ProjectDesignationHasBeenSet() const { return m_projectDesignationHasBeenSet; }
48 inline void SetProjectDesignation(const ProjectDesignation& value) { m_projectDesignationHasBeenSet = true; m_projectDesignation = value; }
49 inline void SetProjectDesignation(ProjectDesignation&& value) { m_projectDesignationHasBeenSet = true; m_projectDesignation = std::move(value); }
53
55
58 inline const ProjectGrantFilter& GetProjectGrantFilter() const{ return m_projectGrantFilter; }
59 inline bool ProjectGrantFilterHasBeenSet() const { return m_projectGrantFilterHasBeenSet; }
60 inline void SetProjectGrantFilter(const ProjectGrantFilter& value) { m_projectGrantFilterHasBeenSet = true; m_projectGrantFilter = value; }
61 inline void SetProjectGrantFilter(ProjectGrantFilter&& value) { m_projectGrantFilterHasBeenSet = true; m_projectGrantFilter = std::move(value); }
65
67
70 inline const Aws::String& GetProjectIdentifier() const{ return m_projectIdentifier; }
71 inline bool ProjectIdentifierHasBeenSet() const { return m_projectIdentifierHasBeenSet; }
72 inline void SetProjectIdentifier(const Aws::String& value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier = value; }
73 inline void SetProjectIdentifier(Aws::String&& value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier = std::move(value); }
74 inline void SetProjectIdentifier(const char* value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier.assign(value); }
76 inline ProjectPolicyGrantPrincipal& WithProjectIdentifier(Aws::String&& value) { SetProjectIdentifier(std::move(value)); return *this;}
77 inline ProjectPolicyGrantPrincipal& WithProjectIdentifier(const char* value) { SetProjectIdentifier(value); return *this;}
79 private:
80
81 ProjectDesignation m_projectDesignation;
82 bool m_projectDesignationHasBeenSet = false;
83
84 ProjectGrantFilter m_projectGrantFilter;
85 bool m_projectGrantFilterHasBeenSet = false;
86
87 Aws::String m_projectIdentifier;
88 bool m_projectIdentifierHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace DataZone
93} // namespace Aws
AWS_DATAZONE_API ProjectPolicyGrantPrincipal & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API ProjectPolicyGrantPrincipal(Aws::Utils::Json::JsonView jsonValue)
ProjectPolicyGrantPrincipal & WithProjectDesignation(const ProjectDesignation &value)
void SetProjectGrantFilter(const ProjectGrantFilter &value)
ProjectPolicyGrantPrincipal & WithProjectDesignation(ProjectDesignation &&value)
ProjectPolicyGrantPrincipal & WithProjectIdentifier(Aws::String &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
ProjectPolicyGrantPrincipal & WithProjectGrantFilter(ProjectGrantFilter &&value)
ProjectPolicyGrantPrincipal & WithProjectGrantFilter(const ProjectGrantFilter &value)
ProjectPolicyGrantPrincipal & WithProjectIdentifier(const Aws::String &value)
void SetProjectDesignation(const ProjectDesignation &value)
ProjectPolicyGrantPrincipal & WithProjectIdentifier(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue