AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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