AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListAttachedPoliciesRequest.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace IoT
19{
20namespace Model
21{
22
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ListAttachedPolicies"; }
35
36 AWS_IOT_API Aws::String SerializePayload() const override;
37
38 AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
50 inline const Aws::String& GetTarget() const{ return m_target; }
51 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
52 inline void SetTarget(const Aws::String& value) { m_targetHasBeenSet = true; m_target = value; }
53 inline void SetTarget(Aws::String&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
54 inline void SetTarget(const char* value) { m_targetHasBeenSet = true; m_target.assign(value); }
55 inline ListAttachedPoliciesRequest& WithTarget(const Aws::String& value) { SetTarget(value); return *this;}
56 inline ListAttachedPoliciesRequest& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;}
57 inline ListAttachedPoliciesRequest& WithTarget(const char* value) { SetTarget(value); return *this;}
59
61
64 inline bool GetRecursive() const{ return m_recursive; }
65 inline bool RecursiveHasBeenSet() const { return m_recursiveHasBeenSet; }
66 inline void SetRecursive(bool value) { m_recursiveHasBeenSet = true; m_recursive = value; }
67 inline ListAttachedPoliciesRequest& WithRecursive(bool value) { SetRecursive(value); return *this;}
69
71
74 inline const Aws::String& GetMarker() const{ return m_marker; }
75 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
76 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
77 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
78 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
79 inline ListAttachedPoliciesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
80 inline ListAttachedPoliciesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
81 inline ListAttachedPoliciesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
83
85
88 inline int GetPageSize() const{ return m_pageSize; }
89 inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
90 inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
91 inline ListAttachedPoliciesRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
93 private:
94
95 Aws::String m_target;
96 bool m_targetHasBeenSet = false;
97
98 bool m_recursive;
99 bool m_recursiveHasBeenSet = false;
100
101 Aws::String m_marker;
102 bool m_markerHasBeenSet = false;
103
104 int m_pageSize;
105 bool m_pageSizeHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace IoT
110} // namespace Aws
ListAttachedPoliciesRequest & WithTarget(Aws::String &&value)
AWS_IOT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListAttachedPoliciesRequest & WithTarget(const Aws::String &value)
ListAttachedPoliciesRequest & WithRecursive(bool value)
ListAttachedPoliciesRequest & WithPageSize(int value)
AWS_IOT_API Aws::String SerializePayload() const override
ListAttachedPoliciesRequest & WithMarker(const Aws::String &value)
ListAttachedPoliciesRequest & WithMarker(const char *value)
ListAttachedPoliciesRequest & WithMarker(Aws::String &&value)
ListAttachedPoliciesRequest & WithTarget(const char *value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String