AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
UpdateGroupProfileRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/GroupProfileStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace DataZone {
16namespace Model {
17
21 public:
22 AWS_DATAZONE_API UpdateGroupProfileRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateGroupProfile"; }
29
30 AWS_DATAZONE_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
38 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
39 template <typename DomainIdentifierT = Aws::String>
40 void SetDomainIdentifier(DomainIdentifierT&& value) {
41 m_domainIdentifierHasBeenSet = true;
42 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
43 }
44 template <typename DomainIdentifierT = Aws::String>
45 UpdateGroupProfileRequest& WithDomainIdentifier(DomainIdentifierT&& value) {
46 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetGroupIdentifier() const { return m_groupIdentifier; }
56 inline bool GroupIdentifierHasBeenSet() const { return m_groupIdentifierHasBeenSet; }
57 template <typename GroupIdentifierT = Aws::String>
58 void SetGroupIdentifier(GroupIdentifierT&& value) {
59 m_groupIdentifierHasBeenSet = true;
60 m_groupIdentifier = std::forward<GroupIdentifierT>(value);
61 }
62 template <typename GroupIdentifierT = Aws::String>
64 SetGroupIdentifier(std::forward<GroupIdentifierT>(value));
65 return *this;
66 }
68
70
73 inline GroupProfileStatus GetStatus() const { return m_status; }
74 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
75 inline void SetStatus(GroupProfileStatus value) {
76 m_statusHasBeenSet = true;
77 m_status = value;
78 }
80 SetStatus(value);
81 return *this;
82 }
84 private:
85 Aws::String m_domainIdentifier;
86 bool m_domainIdentifierHasBeenSet = false;
87
88 Aws::String m_groupIdentifier;
89 bool m_groupIdentifierHasBeenSet = false;
90
92 bool m_statusHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace DataZone
97} // namespace Aws
UpdateGroupProfileRequest & WithDomainIdentifier(DomainIdentifierT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
UpdateGroupProfileRequest & WithGroupIdentifier(GroupIdentifierT &&value)
AWS_DATAZONE_API UpdateGroupProfileRequest()=default
UpdateGroupProfileRequest & WithStatus(GroupProfileStatus value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String