7#include <aws/codeguruprofiler/CodeGuruProfilerRequest.h>
8#include <aws/codeguruprofiler/CodeGuruProfiler_EXPORTS.h>
9#include <aws/codeguruprofiler/model/ActionGroup.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16namespace CodeGuruProfiler {
47 m_actionGroupHasBeenSet =
true;
48 m_actionGroup = value;
63 template <
typename PrincipalsT = Aws::Vector<Aws::String>>
65 m_principalsHasBeenSet =
true;
66 m_principals = std::forward<PrincipalsT>(value);
68 template <
typename PrincipalsT = Aws::Vector<Aws::String>>
73 template <
typename PrincipalsT = Aws::String>
75 m_principalsHasBeenSet =
true;
76 m_principals.emplace_back(std::forward<PrincipalsT>(value));
87 template <
typename ProfilingGroupNameT = Aws::String>
89 m_profilingGroupNameHasBeenSet =
true;
90 m_profilingGroupName = std::forward<ProfilingGroupNameT>(value);
92 template <
typename ProfilingGroupNameT = Aws::String>
108 template <
typename RevisionIdT = Aws::String>
110 m_revisionIdHasBeenSet =
true;
111 m_revisionId = std::forward<RevisionIdT>(value);
113 template <
typename RevisionIdT = Aws::String>
127 bool m_actionGroupHasBeenSet =
false;
128 bool m_principalsHasBeenSet =
false;
129 bool m_profilingGroupNameHasBeenSet =
false;
130 bool m_revisionIdHasBeenSet =
false;
AWS_CODEGURUPROFILER_API Aws::String SerializePayload() const override
ActionGroup GetActionGroup() const
bool PrincipalsHasBeenSet() const
PutPermissionRequest & WithRevisionId(RevisionIdT &&value)
bool ActionGroupHasBeenSet() const
bool RevisionIdHasBeenSet() const
PutPermissionRequest & WithPrincipals(PrincipalsT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetRevisionId() const
PutPermissionRequest & WithActionGroup(ActionGroup value)
PutPermissionRequest & AddPrincipals(PrincipalsT &&value)
AWS_CODEGURUPROFILER_API PutPermissionRequest()=default
PutPermissionRequest & WithProfilingGroupName(ProfilingGroupNameT &&value)
const Aws::Vector< Aws::String > & GetPrincipals() const
void SetActionGroup(ActionGroup value)
const Aws::String & GetProfilingGroupName() const
void SetProfilingGroupName(ProfilingGroupNameT &&value)
void SetRevisionId(RevisionIdT &&value)
void SetPrincipals(PrincipalsT &&value)
bool ProfilingGroupNameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector