AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
GetGroupRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iam/IAMRequest.h>
9#include <aws/iam/IAM_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace IAM {
15namespace Model {
16
20 public:
21 AWS_IAM_API GetGroupRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetGroup"; }
28
29 AWS_IAM_API Aws::String SerializePayload() const override;
30
31 protected:
32 AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
33
34 public:
36
42 inline const Aws::String& GetGroupName() const { return m_groupName; }
43 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
44 template <typename GroupNameT = Aws::String>
45 void SetGroupName(GroupNameT&& value) {
46 m_groupNameHasBeenSet = true;
47 m_groupName = std::forward<GroupNameT>(value);
48 }
49 template <typename GroupNameT = Aws::String>
50 GetGroupRequest& WithGroupName(GroupNameT&& value) {
51 SetGroupName(std::forward<GroupNameT>(value));
52 return *this;
53 }
55
57
63 inline const Aws::String& GetMarker() const { return m_marker; }
64 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
65 template <typename MarkerT = Aws::String>
66 void SetMarker(MarkerT&& value) {
67 m_markerHasBeenSet = true;
68 m_marker = std::forward<MarkerT>(value);
69 }
70 template <typename MarkerT = Aws::String>
71 GetGroupRequest& WithMarker(MarkerT&& value) {
72 SetMarker(std::forward<MarkerT>(value));
73 return *this;
74 }
76
78
88 inline int GetMaxItems() const { return m_maxItems; }
89 inline bool MaxItemsHasBeenSet() const { return m_maxItemsHasBeenSet; }
90 inline void SetMaxItems(int value) {
91 m_maxItemsHasBeenSet = true;
92 m_maxItems = value;
93 }
94 inline GetGroupRequest& WithMaxItems(int value) {
95 SetMaxItems(value);
96 return *this;
97 }
99 private:
100 Aws::String m_groupName;
101
102 Aws::String m_marker;
103
104 int m_maxItems{0};
105 bool m_groupNameHasBeenSet = false;
106 bool m_markerHasBeenSet = false;
107 bool m_maxItemsHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace IAM
112} // namespace Aws
AWS_IAM_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_IAM_API GetGroupRequest()=default
GetGroupRequest & WithMarker(MarkerT &&value)
AWS_IAM_API Aws::String SerializePayload() const override
GetGroupRequest & WithGroupName(GroupNameT &&value)
const Aws::String & GetGroupName() const
GetGroupRequest & WithMaxItems(int value)
const Aws::String & GetMarker() const
virtual const char * GetServiceRequestName() const override
void SetMarker(MarkerT &&value)
void SetGroupName(GroupNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String